From 607e9203703c606b5b5d9bdbc030afcbcf1ba74a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 31 Aug 2014 22:44:22 +0530 Subject: [PATCH] Mark some UM strings for translation --- manual/custom.py | 6 +++--- src/calibre/linux.py | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/manual/custom.py b/manual/custom.py index 8532a50bc2..61fd01a50d 100644 --- a/manual/custom.py +++ b/manual/custom.py @@ -28,7 +28,7 @@ def source_read_handler(app, docname, source): CLI_INDEX=''' .. _cli: -Command Line Interface +%s ========================== .. image:: ../../images/cli.png @@ -36,7 +36,7 @@ Command Line Interface .. note:: %s -Documented Commands +%s -------------------- .. toctree:: @@ -44,7 +44,7 @@ Documented Commands {documented} -Undocumented Commands +%s ------------------------- {undocumented} diff --git a/src/calibre/linux.py b/src/calibre/linux.py index 710d75e8e3..05cd87468a 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -1101,9 +1101,11 @@ def main(): return 0 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' ' 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.')