Mark some UM strings for translation

This commit is contained in:
Kovid Goyal 2014-08-31 22:44:22 +05:30
parent 1ce34a51af
commit 607e920370
2 changed files with 6 additions and 4 deletions

View File

@ -28,7 +28,7 @@ def source_read_handler(app, docname, source):
CLI_INDEX=''' CLI_INDEX='''
.. _cli: .. _cli:
Command Line Interface %s
========================== ==========================
.. image:: ../../images/cli.png .. image:: ../../images/cli.png
@ -36,7 +36,7 @@ Command Line Interface
.. note:: .. note::
%s %s
Documented Commands %s
-------------------- --------------------
.. toctree:: .. toctree::
@ -44,7 +44,7 @@ Documented Commands
{documented} {documented}
Undocumented Commands %s
------------------------- -------------------------
{undocumented} {undocumented}

View File

@ -1101,9 +1101,11 @@ def main():
return 0 return 0
def cli_index_strings(): def cli_index_strings():
return _('On OS X, the command line tools are inside the |app| bundle, for example,' return _('Command Line Interface'), _(
'On OS X, the command line tools are inside the |app| bundle, for example,'
' if you installed calibre in :file:`/Applications` the command line tools' ' if you installed calibre in :file:`/Applications` the command line tools'
' are in :file:`/Applications/calibre.app/Contents/console.app/Contents/MacOS/`.'), _( ' are in :file:`/Applications/calibre.app/Contents/console.app/Contents/MacOS/`.'), _(
'Documented Commands'), _('Undocumented Commands'), _(
'You can see usage for undocumented commands by executing them without arguments in a terminal.') 'You can see usage for undocumented commands by executing them without arguments in a terminal.')