mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Change references to the calibre website to use https
This commit is contained in:
parent
ec2671b809
commit
3e93f8f51e
@ -1459,7 +1459,7 @@ class OPFCreator(Metadata):
|
||||
fa['file-as'] = self.author_sort
|
||||
a(DC_ELEM('creator', author, opf_attrs=fa))
|
||||
a(DC_ELEM('contributor', '%s (%s) [%s]'%(__appname__, __version__,
|
||||
'http://calibre-ebook.com'), opf_attrs={'role':'bkp',
|
||||
'https://calibre-ebook.com'), opf_attrs={'role':'bkp',
|
||||
'file-as':__appname__}))
|
||||
a(DC_ELEM('identifier', str(self.application_id),
|
||||
opf_attrs={'scheme':__appname__},
|
||||
@ -1561,7 +1561,7 @@ def metadata_to_opf(mi, as_string=True, default_lang=None):
|
||||
|
||||
if not mi.book_producer:
|
||||
mi.book_producer = __appname__ + ' (%s) '%__version__ + \
|
||||
'[http://calibre-ebook.com]'
|
||||
'[https://calibre-ebook.com]'
|
||||
|
||||
if not mi.languages:
|
||||
lang = (get_lang().replace('_', '-').partition('-')[0] if default_lang
|
||||
|
@ -270,7 +270,7 @@ class PDFStream(object):
|
||||
self.compress = compress
|
||||
self.write_line(PDFVER)
|
||||
self.write_line(b'%íì¦"')
|
||||
creator = ('%s %s [http://calibre-ebook.com]'%(__appname__,
|
||||
creator = ('%s %s [https://calibre-ebook.com]'%(__appname__,
|
||||
__version__))
|
||||
self.write_line('%% Created by %s'%creator)
|
||||
self.objects = IndirectObjects()
|
||||
|
@ -324,7 +324,7 @@ class PDFWriter(QObject): # {{{
|
||||
self.append_doc(self.combine_queue[-1])
|
||||
|
||||
try:
|
||||
self.doc.creator = u'%s %s [http://calibre-ebook.com]'%(
|
||||
self.doc.creator = u'%s %s [https://calibre-ebook.com]'%(
|
||||
__appname__, __version__)
|
||||
self.doc.title = self.metadata.title
|
||||
self.doc.author = self.metadata.author
|
||||
@ -356,7 +356,7 @@ class ImagePDFWriter(object): # {{{
|
||||
raw = x.read()
|
||||
doc = get_podofo().PDFDoc()
|
||||
doc.load(raw)
|
||||
doc.creator = u'%s %s [http://calibre-ebook.com]'%(
|
||||
doc.creator = u'%s %s [https://calibre-ebook.com]'%(
|
||||
__appname__, __version__)
|
||||
doc.title = self.metadata.title
|
||||
doc.author = self.metadata.author
|
||||
|
@ -476,7 +476,7 @@ class CoverSettingsWidget(QWidget):
|
||||
mi.tags = [_('Tag One'), _('Tag Two')]
|
||||
mi.publisher = _('Some publisher')
|
||||
mi.rating = 4
|
||||
mi.identifiers = {'isbn':'123456789', 'url': 'http://calibre-ebook.com'}
|
||||
mi.identifiers = {'isbn':'123456789', 'url': 'https://calibre-ebook.com'}
|
||||
mi.languages = ['eng', 'fra']
|
||||
mi.pubdate = mi.timestamp = now()
|
||||
return mi
|
||||
|
@ -149,7 +149,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>See the <a href="http://calibre-ebook.com/user_manual/gui.html#the-search-interface">User Manual</a> for more help</string>
|
||||
<string>See the <a href="https://calibre-ebook.com/user_manual/gui.html#the-search-interface">User Manual</a> for more help</string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
|
@ -49,7 +49,7 @@ from calibre.utils.icu import character_name, sort_key
|
||||
from calibre.utils.localization import localize_user_manual_link
|
||||
|
||||
def open_donate():
|
||||
open_url(QUrl('http://calibre-ebook.com/donate'))
|
||||
open_url(QUrl('https://calibre-ebook.com/donate'))
|
||||
|
||||
class Central(QStackedWidget): # {{{
|
||||
|
||||
|
@ -853,7 +853,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
QApplication.instance().quit()
|
||||
|
||||
def donate(self, *args):
|
||||
open_url(QUrl('http://calibre-ebook.com/donate'))
|
||||
open_url(QUrl('https://calibre-ebook.com/donate'))
|
||||
|
||||
def confirm_quit(self):
|
||||
if self.job_manager.has_jobs():
|
||||
|
@ -112,7 +112,7 @@ class UpdateNotification(QDialog):
|
||||
ver = ver[:-2]
|
||||
self.label = QLabel(('<p>'+
|
||||
_('New version <b>%(ver)s</b> of %(app)s is available for download. '
|
||||
'See the <a href="http://calibre-ebook.com/whats-new'
|
||||
'See the <a href="https://calibre-ebook.com/whats-new'
|
||||
'">new features</a>.'))%dict(
|
||||
app=__appname__, ver=ver))
|
||||
self.label.setOpenExternalLinks(True)
|
||||
|
@ -46,7 +46,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string><h2>Demo videos</h2>Videos demonstrating the various features of calibre are available <a href="http://calibre-ebook.com/demo">online</a>.</string>
|
||||
<string><h2>Demo videos</h2>Videos demonstrating the various features of calibre are available <a href="https://calibre-ebook.com/demo">online</a>.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
|
@ -1075,7 +1075,7 @@ def write_appdata(key, entry, base, translators):
|
||||
E.id(key + '.desktop', type='desktop'),
|
||||
E.licence('CC0'),
|
||||
E.description(),
|
||||
E.url('http://calibre-ebook.com', type='homepage'),
|
||||
E.url('https://calibre-ebook.com', type='homepage'),
|
||||
E.screenshots(),
|
||||
)
|
||||
for w, h, url in entry['screenshots']:
|
||||
|
@ -229,7 +229,7 @@ class Feed(object): # {{{
|
||||
self.root = \
|
||||
FEED(
|
||||
TITLE(title or default_feed_title),
|
||||
AUTHOR(__appname__, uri='http://calibre-ebook.com'),
|
||||
AUTHOR(__appname__, uri='https://calibre-ebook.com'),
|
||||
ID(id_),
|
||||
ICON(request_context.ctx.url_for('/favicon.png')),
|
||||
UPDATED(updated),
|
||||
|
Loading…
x
Reference in New Issue
Block a user