diff --git a/CHANGES b/CHANGES index f2dac60f6e..440f650973 100644 --- a/CHANGES +++ b/CHANGES @@ -31,6 +31,7 @@ Bugs fixed Thanks to Tatiana Tereshchenko. * #3796: env.resolve_references() crashes when non-document node given * #3803: Sphinx crashes with invalid PO files +* #3791: PDF "continued on next page" for long tables isn't internationalized Testing -------- diff --git a/babel.cfg b/babel.cfg index 4c1e718013..caf199e80e 100644 --- a/babel.cfg +++ b/babel.cfg @@ -7,6 +7,13 @@ [python: **.py] encoding = utf-8 +# Extraction from Jinja2 template files +[jinja2: **/templates/latex/**.tex_t] +variable_start_string = <%= +variable_end_string = %> +block_start_string = <% +block_end_string = %> + # Extraction from Jinja2 HTML templates [jinja2: **/themes/**.html] encoding = utf-8 diff --git a/sphinx/locale/sphinx.pot b/sphinx/locale/sphinx.pot index 13e387dcd6..51f2e13a57 100644 --- a/sphinx/locale/sphinx.pot +++ b/sphinx/locale/sphinx.pot @@ -6,16 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Sphinx 1.6\n" +"Project-Id-Version: Sphinx 1.6.2\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2017-04-28 15:54+0000\n" +"POT-Creation-Date: 2017-05-25 11:17+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" +"Generated-By: Babel 2.4.0\n" #: sphinx/application.py:181 #, python-format @@ -26,9 +26,9 @@ msgstr "" #: sphinx/application.py:208 msgid "" -"'setup' that is specified in the conf.py has not been callable. Please " -"provide a callable `setup` function in order to behave as a sphinx " -"extension conf.py itself." +"'setup' as currently defined in conf.py isn't a Python callable. Please " +"modify its definition to make it a callable function. This is needed for " +"conf.py to behave as a Sphinx extension." msgstr "" #: sphinx/application.py:222 @@ -82,7 +82,7 @@ msgstr "" #: sphinx/application.py:518 #, python-format -msgid "A Translator for the %s builder is changed." +msgid "Change of translator for the %s builder." msgstr "" #: sphinx/application.py:526 @@ -158,12 +158,12 @@ msgstr "" msgid "No such config value: %s" msgstr "" -#: sphinx/events.py:56 +#: sphinx/events.py:57 #, python-format msgid "Event %r already present" msgstr "" -#: sphinx/events.py:62 +#: sphinx/events.py:63 #, python-format msgid "Unknown event name: %s" msgstr "" @@ -171,11 +171,11 @@ msgstr "" #: sphinx/extension.py:53 #, python-format msgid "" -"needs_extensions config value specifies a version requirement for " -"extension %s, but it is not loaded" +"The %s extension is required by needs_extensions settings,but it is not " +"loaded." msgstr "" -#: sphinx/extension.py:59 +#: sphinx/extension.py:58 #, python-format msgid "" "This project needs the extension %s at least in version %s and therefore " @@ -287,7 +287,7 @@ msgstr "" #: sphinx/theming.py:237 #, python-format -msgid "Theme extension %r does not response correctly." +msgid "Theme extension %r does not respond correctly." msgstr "" #: sphinx/theming.py:264 @@ -314,30 +314,30 @@ msgstr "" msgid "Module level" msgstr "" -#: sphinx/builders/html.py:357 sphinx/transforms/__init__.py:119 +#: sphinx/builders/html.py:397 sphinx/transforms/__init__.py:122 #: sphinx/writers/latex.py:561 sphinx/writers/manpage.py:110 #: sphinx/writers/texinfo.py:241 #, python-format msgid "%b %d, %Y" msgstr "" -#: sphinx/builders/html.py:377 sphinx/themes/basic/defindex.html:30 +#: sphinx/builders/html.py:415 sphinx/themes/basic/defindex.html:30 msgid "General Index" msgstr "" -#: sphinx/builders/html.py:377 +#: sphinx/builders/html.py:415 msgid "index" msgstr "" -#: sphinx/builders/html.py:441 +#: sphinx/builders/html.py:479 msgid "next" msgstr "" -#: sphinx/builders/html.py:450 +#: sphinx/builders/html.py:488 msgid "previous" msgstr "" -#: sphinx/builders/html.py:1313 +#: sphinx/builders/html.py:1351 #, python-format msgid "%s %s documentation" msgstr "" @@ -360,28 +360,28 @@ msgstr "" msgid "Cannot use both \"%s\" and \"%s\" options" msgstr "" -#: sphinx/directives/code.py:218 +#: sphinx/directives/code.py:214 #, python-format msgid "Include file %r not found or reading it failed" msgstr "" -#: sphinx/directives/code.py:220 +#: sphinx/directives/code.py:216 #, python-format msgid "" "Encoding %r used for reading included file %r seems to be wrong, try " "giving an :encoding: option" msgstr "" -#: sphinx/directives/code.py:257 +#: sphinx/directives/code.py:254 #, python-format msgid "Object named %r not found in include file %r" msgstr "" -#: sphinx/directives/code.py:283 +#: sphinx/directives/code.py:280 msgid "Cannot use \"lineno-match\" with a disjoint set of \"lines\"" msgstr "" -#: sphinx/directives/code.py:288 +#: sphinx/directives/code.py:285 #, python-format msgid "Line spec %r: no lines pulled from include file %r" msgstr "" @@ -402,7 +402,7 @@ msgstr "" msgid "Author: " msgstr "" -#: sphinx/domains/__init__.py:310 +#: sphinx/domains/__init__.py:315 #, python-format msgid "%s %s" msgstr "" @@ -723,7 +723,7 @@ msgstr "" msgid "document" msgstr "" -#: sphinx/domains/std.py:497 sphinx/themes/basic/genindex-single.html:30 +#: sphinx/domains/std.py:498 sphinx/themes/basic/genindex-single.html:30 #: sphinx/themes/basic/genindex-single.html:55 #: sphinx/themes/basic/genindex-split.html:11 #: sphinx/themes/basic/genindex-split.html:14 @@ -733,15 +733,15 @@ msgstr "" msgid "Index" msgstr "" -#: sphinx/domains/std.py:498 +#: sphinx/domains/std.py:499 msgid "Module Index" msgstr "" -#: sphinx/domains/std.py:499 sphinx/themes/basic/defindex.html:25 +#: sphinx/domains/std.py:500 sphinx/themes/basic/defindex.html:25 msgid "Search Page" msgstr "" -#: sphinx/environment/__init__.py:568 +#: sphinx/environment/__init__.py:569 #, python-format msgid "" "the %s extension does not declare if it is safe for parallel reading, " @@ -763,12 +763,12 @@ msgstr "" msgid "Symbols" msgstr "" -#: sphinx/ext/autodoc.py:1451 +#: sphinx/ext/autodoc.py:1459 #, python-format msgid "Bases: %s" msgstr "" -#: sphinx/ext/autodoc.py:1506 +#: sphinx/ext/autodoc.py:1514 #, python-format msgid "alias of :class:`%s`" msgstr "" @@ -875,20 +875,20 @@ msgstr "" msgid "duplicate label of equation %s, other instance in %s" msgstr "" -#: sphinx/ext/todo.py:66 +#: sphinx/ext/todo.py:67 msgid "Todo" msgstr "" -#: sphinx/ext/todo.py:148 +#: sphinx/ext/todo.py:149 msgid "<>" msgstr "" -#: sphinx/ext/todo.py:151 +#: sphinx/ext/todo.py:152 #, python-format msgid "(The <> is located in %s, line %d.)" msgstr "" -#: sphinx/ext/todo.py:160 +#: sphinx/ext/todo.py:161 msgid "original entry" msgstr "" @@ -992,6 +992,14 @@ msgstr "" msgid "built-in function" msgstr "" +#: sphinx/templates/latex/longtable.tex_t:18 +msgid "continued from previous page" +msgstr "" + +#: sphinx/templates/latex/longtable.tex_t:24 +msgid "Continued on next page" +msgstr "" + #: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10 #: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:38 msgid "Table Of Contents" @@ -1154,12 +1162,12 @@ msgid "search" msgstr "" #: sphinx/themes/basic/search.html:43 sphinx/themes/basic/searchresults.html:21 -#: sphinx/themes/basic/static/searchtools.js_t:336 +#: sphinx/themes/basic/static/searchtools.js_t:295 msgid "Search Results" msgstr "" #: sphinx/themes/basic/search.html:45 sphinx/themes/basic/searchresults.html:23 -#: sphinx/themes/basic/static/searchtools.js_t:338 +#: sphinx/themes/basic/static/searchtools.js_t:297 msgid "" "Your search did not match any documents. Please make sure that all words " "are spelled correctly and that you've selected enough categories." @@ -1201,45 +1209,45 @@ msgstr "" msgid "Other changes" msgstr "" -#: sphinx/themes/basic/static/doctools.js_t:171 sphinx/writers/html.py:405 -#: sphinx/writers/html.py:410 sphinx/writers/html5.py:352 -#: sphinx/writers/html5.py:357 +#: sphinx/themes/basic/static/doctools.js_t:169 sphinx/writers/html.py:403 +#: sphinx/writers/html.py:408 sphinx/writers/html5.py:350 +#: sphinx/writers/html5.py:355 msgid "Permalink to this headline" msgstr "" -#: sphinx/themes/basic/static/doctools.js_t:177 sphinx/writers/html.py:126 -#: sphinx/writers/html.py:137 sphinx/writers/html5.py:96 -#: sphinx/writers/html5.py:107 +#: sphinx/themes/basic/static/doctools.js_t:175 sphinx/writers/html.py:124 +#: sphinx/writers/html.py:135 sphinx/writers/html5.py:94 +#: sphinx/writers/html5.py:105 msgid "Permalink to this definition" msgstr "" -#: sphinx/themes/basic/static/doctools.js_t:210 +#: sphinx/themes/basic/static/doctools.js_t:208 msgid "Hide Search Matches" msgstr "" -#: sphinx/themes/basic/static/searchtools.js_t:142 +#: sphinx/themes/basic/static/searchtools.js_t:129 msgid "Searching" msgstr "" -#: sphinx/themes/basic/static/searchtools.js_t:147 +#: sphinx/themes/basic/static/searchtools.js_t:134 msgid "Preparing search..." msgstr "" -#: sphinx/themes/basic/static/searchtools.js_t:340 +#: sphinx/themes/basic/static/searchtools.js_t:299 #, python-format msgid "Search finished, found %s page(s) matching the search query." msgstr "" -#: sphinx/themes/basic/static/searchtools.js_t:398 +#: sphinx/themes/basic/static/searchtools.js_t:352 msgid ", in " msgstr "" -#: sphinx/themes/classic/static/sidebar.js_t:92 +#: sphinx/themes/classic/static/sidebar.js_t:83 msgid "Expand sidebar" msgstr "" -#: sphinx/themes/classic/static/sidebar.js_t:105 -#: sphinx/themes/classic/static/sidebar.js_t:135 +#: sphinx/themes/classic/static/sidebar.js_t:96 +#: sphinx/themes/classic/static/sidebar.js_t:124 msgid "Collapse sidebar" msgstr "" @@ -1247,17 +1255,17 @@ msgstr "" msgid "Contents" msgstr "" -#: sphinx/transforms/post_transforms/__init__.py:105 +#: sphinx/transforms/post_transforms/__init__.py:138 #, python-format msgid "more than one target found for 'any' cross-reference %r: could be %s" msgstr "" -#: sphinx/transforms/post_transforms/__init__.py:135 +#: sphinx/transforms/post_transforms/__init__.py:168 #, python-format msgid "%s:%s reference target not found: %%(target)s" msgstr "" -#: sphinx/transforms/post_transforms/__init__.py:138 +#: sphinx/transforms/post_transforms/__init__.py:171 #, python-format msgid "%r reference target not found: %%(target)s" msgstr "" @@ -1266,19 +1274,19 @@ msgstr "" msgid "when adding directive classes, no additional arguments may be given" msgstr "" -#: sphinx/writers/html.py:414 sphinx/writers/html5.py:361 +#: sphinx/writers/html.py:412 sphinx/writers/html5.py:359 msgid "Permalink to this table" msgstr "" -#: sphinx/writers/html.py:466 sphinx/writers/html5.py:413 +#: sphinx/writers/html.py:464 sphinx/writers/html5.py:411 msgid "Permalink to this code" msgstr "" -#: sphinx/writers/html.py:470 sphinx/writers/html5.py:417 +#: sphinx/writers/html.py:468 sphinx/writers/html5.py:415 msgid "Permalink to this image" msgstr "" -#: sphinx/writers/html.py:472 sphinx/writers/html5.py:419 +#: sphinx/writers/html.py:470 sphinx/writers/html5.py:417 msgid "Permalink to this toctree" msgstr ""