String changes

This commit is contained in:
Kovid Goyal 2017-05-05 13:14:06 +05:30
parent 93aac289f4
commit 692628517f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
14 changed files with 26 additions and 26 deletions

View File

@ -623,7 +623,7 @@ the latest version of calibre as support for ``.docx`` files is very new).
calibre will automatically generate a Table of Contents based on headings if you mark calibre will automatically generate a Table of Contents based on headings if you mark
your headings with the ``Heading 1``, ``Heading 2``, etc. styles in Word. Open your headings with the ``Heading 1``, ``Heading 2``, etc. styles in Word. Open
the output e-book in the calibre viewer and click the :guilabel:`Table of Contents` button the output e-book in the calibre E-book viewer and click the :guilabel:`Table of Contents` button
to view the generated Table of Contents. to view the generated Table of Contents.
Older .doc files Older .doc files

View File

@ -901,7 +901,7 @@ There are several possible things I know of, that can cause this:
version of calibre try switching to the 32-bit version. version of calibre try switching to the 32-bit version.
* If the crash happens when you are trying to copy text from the calibre * If the crash happens when you are trying to copy text from the calibre
e-book viewer, it is most likely caused by some clipboard E-book viewer, it is most likely caused by some clipboard
monitoring/managing application you have running. Turn it off and you monitoring/managing application you have running. Turn it off and you
should be fine. should be fine.

View File

@ -16,7 +16,7 @@ Adding your favorite news website to calibre
news news
The calibre e-book viewer The calibre E-book viewer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. toctree:: .. toctree::

View File

@ -4,17 +4,17 @@
Typesetting Math in e-books Typesetting Math in e-books
============================ ============================
The calibre e-book viewer has the ability to display math embedded in e-books The calibre E-book viewer has the ability to display math embedded in e-books
(EPUB and HTML files). You can typeset the math directly with TeX or MathML or (EPUB and HTML files). You can typeset the math directly with TeX or MathML or
AsciiMath. The calibre viewer uses the excellent `MathJax AsciiMath. The calibre E-book viewer uses the excellent `MathJax
<https://www.mathjax.org>`_ library to do this. This is a brief tutorial on <https://www.mathjax.org>`_ library to do this. This is a brief tutorial on
creating e-books with math in them that work well with the calibre viewer. creating e-books with math in them that work well with the calibre E-book viewer.
A simple HTML file with mathematics A simple HTML file with mathematics
------------------------------------- -------------------------------------
You can write mathematics inline inside a simple HTML file and the calibre viewer You can write mathematics inline inside a simple HTML file and the calibre E-book viewer
will render it into properly typeset mathematics. In the example below, we use will render it into properly typeset mathematics. In the example below, we use
TeX notation for mathematics. You will see that you can use normal TeX TeX notation for mathematics. You will see that you can use normal TeX
commands, with the small caveat that ampersands and less than and greater than commands, with the small caveat that ampersands and less than and greater than
@ -38,7 +38,7 @@ example, here are Lorentz's equations::
\end{align} \end{align}
</p> </p>
This snippet looks like the following screen shot in the calibre viewer. This snippet looks like the following screen shot in the calibre E-book viewer.
.. figure:: images/lorentz.png .. figure:: images/lorentz.png
:align: center :align: center
@ -59,7 +59,7 @@ with an e-book you can distribute easily to other people.
More information More information
----------------- -----------------
Since the calibre viewer uses the MathJax library to render mathematics, the best Since the calibre E-book viewer uses the MathJax library to render mathematics, the best
place to find out more about math in e-books and get help is the `MathJax place to find out more about math in e-books and get help is the `MathJax
website <https://www.mathjax.org>`_. website <https://www.mathjax.org>`_.

View File

@ -3,18 +3,18 @@
The E-book viewer The E-book viewer
============================= =============================
calibre includes a built-in e-book viewer that can view all the major e-book formats. calibre includes a built-in E-book viewer that can view all the major e-book formats.
The viewer is highly customizable and has many advanced features. The E-book viewer is highly customizable and has many advanced features.
.. contents:: .. contents::
:depth: 1 :depth: 1
:local: :local:
Starting the viewer Starting the E-book viewer
-------------------- -----------------------------
You can view any of the books in your calibre library by selecting the book and pressing the :guilabel:`View` button. This You can view any of the books in your calibre library by selecting the book and pressing the :guilabel:`View` button. This
will open up the book in the e-book viewer. You can also launch the viewer by itself from the Start menu in Windows will open up the book in the E-book viewer. You can also launch the E-book viewer by itself from the Start menu in Windows
or using the command :command:`ebook-viewer` in Linux and OS X (you have to install the command line tools on OS X or using the command :command:`ebook-viewer` in Linux and OS X (you have to install the command line tools on OS X
first by going to :guilabel:`Preferences->Advanced->Miscellaneous`). first by going to :guilabel:`Preferences->Advanced->Miscellaneous`).

View File

@ -734,7 +734,7 @@ class ViewerPlugin(Plugin): # {{{
type = _('Viewer') type = _('Viewer')
''' '''
These plugins are used to add functionality to the calibre viewer. These plugins are used to add functionality to the calibre E-book viewer.
''' '''
def load_fonts(self): def load_fonts(self):

View File

@ -184,7 +184,7 @@ class Bookmarks(BadLink):
HELP = _( HELP = _(
'This file stores the bookmarks and last opened information from' 'This file stores the bookmarks and last opened information from'
' the calibre e-book viewer. You can remove it if you do not' ' the calibre E-book viewer. You can remove it if you do not'
' need that information, or don\'t want to share it with' ' need that information, or don\'t want to share it with'
' other people you send this book to.') ' other people you send this book to.')
INDIVIDUAL_FIX = _('Remove this file') INDIVIDUAL_FIX = _('Remove this file')
@ -192,7 +192,7 @@ class Bookmarks(BadLink):
def __init__(self, name): def __init__(self, name):
BadLink.__init__(self, _( BadLink.__init__(self, _(
'The bookmarks file used by the calibre e-book viewer is present'), name) 'The bookmarks file used by the calibre E-book viewer is present'), name)
def __call__(self, container): def __call__(self, container):
container.remove_item(self.name) container.remove_item(self.name)

View File

@ -50,7 +50,7 @@ class ViewAction(InterfaceAction):
cm = partial(self.create_menu_action, self.view_menu) cm = partial(self.create_menu_action, self.view_menu)
self.view_specific_action = cm('specific', _('View specific format'), self.view_specific_action = cm('specific', _('View specific format'),
shortcut='Alt+V', triggered=self.view_specific_format) shortcut='Alt+V', triggered=self.view_specific_format)
self.internal_view_action = cm('internal', _('View with calibre viewer'), triggered=self.view_internal) self.internal_view_action = cm('internal', _('View with calibre E-book viewer'), triggered=self.view_internal)
self.action_pick_random = cm('pick random', _('Read a random book'), self.action_pick_random = cm('pick random', _('Read a random book'),
icon='random.png', triggered=self.view_random) icon='random.png', triggered=self.view_random)
self.clear_sep1 = self.view_menu.addSeparator() self.clear_sep1 = self.view_menu.addSeparator()

View File

@ -423,7 +423,7 @@ class CoverView(QWidget): # {{{
self.setToolTip( self.setToolTip(
'<p>'+_('Double-click to open the Book details window') + '<p>'+_('Double-click to open the Book details window') +
'<br><br>' + _('Path') + ': ' + current_path + '<br><br>' + _('Path') + ': ' + current_path +
'<br><br>' + _('Cover size: %(width)d x %(height)d')%dict( '<br><br>' + _('Cover size: %(width)d x %(height)d pixels')%dict(
width=sz.width(), height=sz.height()) width=sz.width(), height=sz.height())
) )

View File

@ -32,8 +32,8 @@
<widget class="QLabel" name="wh_label"> <widget class="QLabel" name="wh_label">
<property name="text"> <property name="text">
<string>&lt;p&gt;This wizard will help you choose an appropriate font size key for your needs. Just enter the base font size of the input document and then enter an input font size. The wizard will display what font size it will be mapped to, by the font rescaling algorithm. You can adjust the algorithm by adjusting the output base font size and font key below. When you find values suitable for you, click OK.&lt;/p&gt; <string>&lt;p&gt;This wizard will help you choose an appropriate font size key for your needs. Just enter the base font size of the input document and then enter an input font size. The wizard will display what font size it will be mapped to, by the font rescaling algorithm. You can adjust the algorithm by adjusting the output base font size and font key below. When you find values suitable for you, click OK.&lt;/p&gt;
&lt;p&gt;By default, if the output base font size is zero and/or no font size key is specified, calibre will use the values from the current Output Profile. &lt;/p&gt; &lt;p&gt;By default, if the output base font size is zero and/or no font size key is specified, calibre will use the values from the current Output profile. &lt;/p&gt;
&lt;p&gt;See the &lt;a href=&quot;%s&quot;&gt;User Manual&lt;/a&gt; for a discussion of how font size rescaling works.&lt;/p&gt;</string> &lt;p&gt;See the &lt;a href=&quot;%s&quot;&gt;User Manual&lt;/a&gt; for an explanation of how font size rescaling works.&lt;/p&gt;</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>

View File

@ -161,7 +161,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Clear search histories from all over calibre. Including the book list, e-book viewer, fetch news dialog, etc.</string> <string>Clear search histories from all over calibre. Including the book list, E-book viewer, fetch news dialog, etc.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Clear search &amp;histories</string> <string>Clear search &amp;histories</string>

View File

@ -448,8 +448,8 @@ class TagBrowserWidget(QWidget): # {{{
sb.bg = QActionGroup(sb) sb.bg = QActionGroup(sb)
# Must be in the same order as db2.CATEGORY_SORTS # Must be in the same order as db2.CATEGORY_SORTS
for i, x in enumerate((_('Sort by name'), _('Sort by number of books'), for i, x in enumerate((_('Name'), _('Number of books'),
_('Sort by average rating'))): _('Average rating'))):
a = sb.m.addAction(x) a = sb.m.addAction(x)
sb.bg.addAction(a) sb.bg.addAction(a)
a.setCheckable(True) a.setCheckable(True)

View File

@ -1077,7 +1077,7 @@ def get_appdata():
'name':'calibre - E-book Viewer', 'name':'calibre - E-book Viewer',
'summary':_('Read e-books in over a dozen different formats'), 'summary':_('Read e-books in over a dozen different formats'),
'description': ( 'description': (
_('The calibre e-book viewer allows you to read e-books in over a dozen different formats.'), _('The calibre E-book viewer allows you to read e-books in over a dozen different formats.'),
_('It has a full screen mode for distraction free reading and can display the text with multiple columns per screen.'), _('It has a full screen mode for distraction free reading and can display the text with multiple columns per screen.'),
), ),
'screenshots':( 'screenshots':(

View File

@ -39,7 +39,7 @@ def default_programs():
'ebook-viewer.exe': { 'ebook-viewer.exe': {
'icon_id':'viewer_icon', 'icon_id':'viewer_icon',
'description': _('The calibre e-book viewer. It can view most known e-book formats.'), 'description': _('The calibre E-book viewer. It can view most known e-book formats.'),
'capability_name': 'Viewer' + ('64bit' if is64bit else ''), 'capability_name': 'Viewer' + ('64bit' if is64bit else ''),
'name': 'calibre Viewer' + (' 64-bit' if is64bit else ''), 'name': 'calibre Viewer' + (' 64-bit' if is64bit else ''),
'assoc_name': 'calibreViewer' + ('64bit' if is64bit else ''), 'assoc_name': 'calibreViewer' + ('64bit' if is64bit else ''),