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
|
fa['file-as'] = self.author_sort
|
||||||
a(DC_ELEM('creator', author, opf_attrs=fa))
|
a(DC_ELEM('creator', author, opf_attrs=fa))
|
||||||
a(DC_ELEM('contributor', '%s (%s) [%s]'%(__appname__, __version__,
|
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__}))
|
'file-as':__appname__}))
|
||||||
a(DC_ELEM('identifier', str(self.application_id),
|
a(DC_ELEM('identifier', str(self.application_id),
|
||||||
opf_attrs={'scheme':__appname__},
|
opf_attrs={'scheme':__appname__},
|
||||||
@ -1561,7 +1561,7 @@ def metadata_to_opf(mi, as_string=True, default_lang=None):
|
|||||||
|
|
||||||
if not mi.book_producer:
|
if not mi.book_producer:
|
||||||
mi.book_producer = __appname__ + ' (%s) '%__version__ + \
|
mi.book_producer = __appname__ + ' (%s) '%__version__ + \
|
||||||
'[http://calibre-ebook.com]'
|
'[https://calibre-ebook.com]'
|
||||||
|
|
||||||
if not mi.languages:
|
if not mi.languages:
|
||||||
lang = (get_lang().replace('_', '-').partition('-')[0] if default_lang
|
lang = (get_lang().replace('_', '-').partition('-')[0] if default_lang
|
||||||
|
@ -270,7 +270,7 @@ class PDFStream(object):
|
|||||||
self.compress = compress
|
self.compress = compress
|
||||||
self.write_line(PDFVER)
|
self.write_line(PDFVER)
|
||||||
self.write_line(b'%íì¦"')
|
self.write_line(b'%íì¦"')
|
||||||
creator = ('%s %s [http://calibre-ebook.com]'%(__appname__,
|
creator = ('%s %s [https://calibre-ebook.com]'%(__appname__,
|
||||||
__version__))
|
__version__))
|
||||||
self.write_line('%% Created by %s'%creator)
|
self.write_line('%% Created by %s'%creator)
|
||||||
self.objects = IndirectObjects()
|
self.objects = IndirectObjects()
|
||||||
|
@ -324,7 +324,7 @@ class PDFWriter(QObject): # {{{
|
|||||||
self.append_doc(self.combine_queue[-1])
|
self.append_doc(self.combine_queue[-1])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.doc.creator = u'%s %s [http://calibre-ebook.com]'%(
|
self.doc.creator = u'%s %s [https://calibre-ebook.com]'%(
|
||||||
__appname__, __version__)
|
__appname__, __version__)
|
||||||
self.doc.title = self.metadata.title
|
self.doc.title = self.metadata.title
|
||||||
self.doc.author = self.metadata.author
|
self.doc.author = self.metadata.author
|
||||||
@ -356,7 +356,7 @@ class ImagePDFWriter(object): # {{{
|
|||||||
raw = x.read()
|
raw = x.read()
|
||||||
doc = get_podofo().PDFDoc()
|
doc = get_podofo().PDFDoc()
|
||||||
doc.load(raw)
|
doc.load(raw)
|
||||||
doc.creator = u'%s %s [http://calibre-ebook.com]'%(
|
doc.creator = u'%s %s [https://calibre-ebook.com]'%(
|
||||||
__appname__, __version__)
|
__appname__, __version__)
|
||||||
doc.title = self.metadata.title
|
doc.title = self.metadata.title
|
||||||
doc.author = self.metadata.author
|
doc.author = self.metadata.author
|
||||||
|
@ -476,7 +476,7 @@ class CoverSettingsWidget(QWidget):
|
|||||||
mi.tags = [_('Tag One'), _('Tag Two')]
|
mi.tags = [_('Tag One'), _('Tag Two')]
|
||||||
mi.publisher = _('Some publisher')
|
mi.publisher = _('Some publisher')
|
||||||
mi.rating = 4
|
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.languages = ['eng', 'fra']
|
||||||
mi.pubdate = mi.timestamp = now()
|
mi.pubdate = mi.timestamp = now()
|
||||||
return mi
|
return mi
|
||||||
|
@ -149,7 +149,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<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>
|
||||||
<property name="openExternalLinks">
|
<property name="openExternalLinks">
|
||||||
<bool>true</bool>
|
<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
|
from calibre.utils.localization import localize_user_manual_link
|
||||||
|
|
||||||
def open_donate():
|
def open_donate():
|
||||||
open_url(QUrl('http://calibre-ebook.com/donate'))
|
open_url(QUrl('https://calibre-ebook.com/donate'))
|
||||||
|
|
||||||
class Central(QStackedWidget): # {{{
|
class Central(QStackedWidget): # {{{
|
||||||
|
|
||||||
|
@ -853,7 +853,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
QApplication.instance().quit()
|
QApplication.instance().quit()
|
||||||
|
|
||||||
def donate(self, *args):
|
def donate(self, *args):
|
||||||
open_url(QUrl('http://calibre-ebook.com/donate'))
|
open_url(QUrl('https://calibre-ebook.com/donate'))
|
||||||
|
|
||||||
def confirm_quit(self):
|
def confirm_quit(self):
|
||||||
if self.job_manager.has_jobs():
|
if self.job_manager.has_jobs():
|
||||||
|
@ -112,7 +112,7 @@ class UpdateNotification(QDialog):
|
|||||||
ver = ver[:-2]
|
ver = ver[:-2]
|
||||||
self.label = QLabel(('<p>'+
|
self.label = QLabel(('<p>'+
|
||||||
_('New version <b>%(ver)s</b> of %(app)s is available for download. '
|
_('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(
|
'">new features</a>.'))%dict(
|
||||||
app=__appname__, ver=ver))
|
app=__appname__, ver=ver))
|
||||||
self.label.setOpenExternalLinks(True)
|
self.label.setOpenExternalLinks(True)
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="text">
|
<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>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -1075,7 +1075,7 @@ def write_appdata(key, entry, base, translators):
|
|||||||
E.id(key + '.desktop', type='desktop'),
|
E.id(key + '.desktop', type='desktop'),
|
||||||
E.licence('CC0'),
|
E.licence('CC0'),
|
||||||
E.description(),
|
E.description(),
|
||||||
E.url('http://calibre-ebook.com', type='homepage'),
|
E.url('https://calibre-ebook.com', type='homepage'),
|
||||||
E.screenshots(),
|
E.screenshots(),
|
||||||
)
|
)
|
||||||
for w, h, url in entry['screenshots']:
|
for w, h, url in entry['screenshots']:
|
||||||
|
@ -229,7 +229,7 @@ class Feed(object): # {{{
|
|||||||
self.root = \
|
self.root = \
|
||||||
FEED(
|
FEED(
|
||||||
TITLE(title or default_feed_title),
|
TITLE(title or default_feed_title),
|
||||||
AUTHOR(__appname__, uri='http://calibre-ebook.com'),
|
AUTHOR(__appname__, uri='https://calibre-ebook.com'),
|
||||||
ID(id_),
|
ID(id_),
|
||||||
ICON(request_context.ctx.url_for('/favicon.png')),
|
ICON(request_context.ctx.url_for('/favicon.png')),
|
||||||
UPDATED(updated),
|
UPDATED(updated),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user