Teach babel to extract l_() messages.

This commit is contained in:
Georg Brandl 2009-07-03 13:37:38 +02:00
parent c8e8b1bfd4
commit 2c2ea9ae5f
2 changed files with 72 additions and 57 deletions

View File

@ -8,6 +8,7 @@ release = egg_info -RDb ''
[extract_messages]
mapping_file = babel.cfg
output_file = sphinx/locale/sphinx.pot
keywords = _ l_ lazy_gettext
[update_catalog]
input_file = sphinx/locale/sphinx.pot

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Sphinx 1.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2009-05-22 18:51+0200\n"
"POT-Creation-Date: 2009-07-03 13:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,29 +17,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.4\n"
#: sphinx/environment.py:104 sphinx/writers/latex.py:184
#: sphinx/environment.py:107 sphinx/writers/latex.py:184
#, python-format
msgid "%B %d, %Y"
msgstr ""
#: sphinx/environment.py:323 sphinx/themes/basic/genindex-single.html:2
#: sphinx/environment.py:327 sphinx/themes/basic/genindex-single.html:2
#: sphinx/themes/basic/genindex-split.html:2
#: sphinx/themes/basic/genindex-split.html:5
#: sphinx/themes/basic/genindex.html:2 sphinx/themes/basic/genindex.html:5
#: sphinx/themes/basic/genindex.html:48 sphinx/themes/basic/layout.html:131
#: sphinx/themes/basic/genindex.html:48 sphinx/themes/basic/layout.html:134
#: sphinx/writers/latex.py:190
msgid "Index"
msgstr ""
#: sphinx/environment.py:324 sphinx/writers/latex.py:189
#: sphinx/environment.py:328 sphinx/writers/latex.py:189
msgid "Module Index"
msgstr ""
#: sphinx/environment.py:325 sphinx/themes/basic/defindex.html:16
#: sphinx/environment.py:329 sphinx/themes/basic/defindex.html:16
msgid "Search Page"
msgstr ""
#: sphinx/roles.py:55 sphinx/directives/desc.py:747
#: sphinx/roles.py:55 sphinx/directives/desc.py:763
#, python-format
msgid "environment variable; %s"
msgstr ""
@ -57,34 +57,35 @@ msgstr ""
msgid "Module level"
msgstr ""
#: sphinx/builders/html.py:219
#: sphinx/builders/html.py:222
#, python-format
msgid "%b %d, %Y"
msgstr ""
#: sphinx/builders/html.py:238 sphinx/themes/basic/defindex.html:21
#: sphinx/builders/html.py:241 sphinx/themes/basic/defindex.html:21
msgid "General Index"
msgstr ""
#: sphinx/builders/html.py:238
#: sphinx/builders/html.py:241
msgid "index"
msgstr ""
#: sphinx/builders/html.py:240 sphinx/builders/htmlhelp.py:184
#: sphinx/builders/html.py:243 sphinx/builders/htmlhelp.py:184
#: sphinx/builders/qthelp.py:132 sphinx/themes/basic/defindex.html:19
#: sphinx/themes/basic/modindex.html:2 sphinx/themes/basic/modindex.html:13
#: sphinx/themes/scrolls/modindex.html:2 sphinx/themes/scrolls/modindex.html:13
msgid "Global Module Index"
msgstr ""
#: sphinx/builders/html.py:241
#: sphinx/builders/html.py:244
msgid "modules"
msgstr ""
#: sphinx/builders/html.py:296
#: sphinx/builders/html.py:300
msgid "next"
msgstr ""
#: sphinx/builders/html.py:305
#: sphinx/builders/html.py:309
msgid "previous"
msgstr ""
@ -92,15 +93,18 @@ msgstr ""
msgid " (in "
msgstr ""
#: sphinx/directives/desc.py:97
#: sphinx/directives/desc.py:97 sphinx/directives/desc.py:98
#: sphinx/directives/desc.py:99 sphinx/directives/desc.py:100
msgid "Raises"
msgstr ""
#: sphinx/directives/desc.py:101
#: sphinx/directives/desc.py:101 sphinx/directives/desc.py:102
#: sphinx/directives/desc.py:103
msgid "Variable"
msgstr ""
#: sphinx/directives/desc.py:104
#: sphinx/directives/desc.py:104 sphinx/directives/desc.py:105
#: sphinx/directives/desc.py:111 sphinx/directives/desc.py:112
msgid "Returns"
msgstr ""
@ -122,7 +126,7 @@ msgid "%s() (built-in function)"
msgstr ""
#: sphinx/directives/desc.py:419 sphinx/directives/desc.py:476
#: sphinx/directives/desc.py:488
#: sphinx/directives/desc.py:488 sphinx/directives/desc.py:501
#, python-format
msgid "%s() (in module %s)"
msgstr ""
@ -167,6 +171,16 @@ msgstr ""
msgid "%s() (%s static method)"
msgstr ""
#: sphinx/directives/desc.py:505
#, python-format
msgid "%s() (%s.%s class method)"
msgstr ""
#: sphinx/directives/desc.py:508
#, python-format
msgid "%s() (%s class method)"
msgstr ""
#: sphinx/directives/desc.py:518
#, python-format
msgid "%s (%s.%s attribute)"
@ -207,37 +221,37 @@ msgstr ""
msgid "%scommand line option; %s"
msgstr ""
#: sphinx/directives/other.py:138
#: sphinx/directives/other.py:140
msgid "Platforms: "
msgstr ""
#: sphinx/directives/other.py:144
#: sphinx/directives/other.py:146
#, python-format
msgid "%s (module)"
msgstr ""
#: sphinx/directives/other.py:193
#: sphinx/directives/other.py:195
msgid "Section author: "
msgstr ""
#: sphinx/directives/other.py:195
#: sphinx/directives/other.py:197
msgid "Module author: "
msgstr ""
#: sphinx/directives/other.py:197
#: sphinx/directives/other.py:199
msgid "Author: "
msgstr ""
#: sphinx/directives/other.py:317
#: sphinx/directives/other.py:319
msgid "See also"
msgstr ""
#: sphinx/ext/autodoc.py:888
#: sphinx/ext/autodoc.py:895
#, python-format
msgid " Bases: %s"
msgstr ""
#: sphinx/ext/autodoc.py:919
#: sphinx/ext/autodoc.py:926
#, python-format
msgid "alias of :class:`%s`"
msgstr ""
@ -255,86 +269,86 @@ msgstr ""
msgid "here"
msgstr ""
#: sphinx/locale/__init__.py:15
#: sphinx/locale/__init__.py:138
msgid "Attention"
msgstr ""
#: sphinx/locale/__init__.py:16
#: sphinx/locale/__init__.py:139
msgid "Caution"
msgstr ""
#: sphinx/locale/__init__.py:17
#: sphinx/locale/__init__.py:140
msgid "Danger"
msgstr ""
#: sphinx/locale/__init__.py:18
#: sphinx/locale/__init__.py:141
msgid "Error"
msgstr ""
#: sphinx/locale/__init__.py:19
#: sphinx/locale/__init__.py:142
msgid "Hint"
msgstr ""
#: sphinx/locale/__init__.py:20
#: sphinx/locale/__init__.py:143
msgid "Important"
msgstr ""
#: sphinx/locale/__init__.py:21
#: sphinx/locale/__init__.py:144
msgid "Note"
msgstr ""
#: sphinx/locale/__init__.py:22
#: sphinx/locale/__init__.py:145
msgid "See Also"
msgstr ""
#: sphinx/locale/__init__.py:23
#: sphinx/locale/__init__.py:146
msgid "Tip"
msgstr ""
#: sphinx/locale/__init__.py:24
#: sphinx/locale/__init__.py:147
msgid "Warning"
msgstr ""
#: sphinx/locale/__init__.py:28
#: sphinx/locale/__init__.py:151
#, python-format
msgid "New in version %s"
msgstr ""
#: sphinx/locale/__init__.py:29
#: sphinx/locale/__init__.py:152
#, python-format
msgid "Changed in version %s"
msgstr ""
#: sphinx/locale/__init__.py:30
#: sphinx/locale/__init__.py:153
#, python-format
msgid "Deprecated since version %s"
msgstr ""
#: sphinx/locale/__init__.py:34
#: sphinx/locale/__init__.py:157
msgid "module"
msgstr ""
#: sphinx/locale/__init__.py:35
#: sphinx/locale/__init__.py:158
msgid "keyword"
msgstr ""
#: sphinx/locale/__init__.py:36
#: sphinx/locale/__init__.py:159
msgid "operator"
msgstr ""
#: sphinx/locale/__init__.py:37
#: sphinx/locale/__init__.py:160
msgid "object"
msgstr ""
#: sphinx/locale/__init__.py:38
#: sphinx/locale/__init__.py:161
msgid "exception"
msgstr ""
#: sphinx/locale/__init__.py:39
#: sphinx/locale/__init__.py:162
msgid "statement"
msgstr ""
#: sphinx/locale/__init__.py:40
#: sphinx/locale/__init__.py:163
msgid "built-in function"
msgstr ""
@ -430,47 +444,47 @@ msgstr ""
msgid "Enter search terms or a module, class or function name."
msgstr ""
#: sphinx/themes/basic/layout.html:119
#: sphinx/themes/basic/layout.html:122
#, python-format
msgid "Search within %(docstitle)s"
msgstr ""
#: sphinx/themes/basic/layout.html:128
#: sphinx/themes/basic/layout.html:131
msgid "About these documents"
msgstr ""
#: sphinx/themes/basic/layout.html:134 sphinx/themes/basic/search.html:2
#: sphinx/themes/basic/layout.html:137 sphinx/themes/basic/search.html:2
#: sphinx/themes/basic/search.html:5
msgid "Search"
msgstr ""
#: sphinx/themes/basic/layout.html:137
#: sphinx/themes/basic/layout.html:140
msgid "Copyright"
msgstr ""
#: sphinx/themes/basic/layout.html:184
#: sphinx/themes/basic/layout.html:187 sphinx/themes/scrolls/layout.html:83
#, python-format
msgid "&copy; <a href=\"%(path)s\">Copyright</a> %(copyright)s."
msgstr ""
#: sphinx/themes/basic/layout.html:186
#: sphinx/themes/basic/layout.html:189 sphinx/themes/scrolls/layout.html:85
#, python-format
msgid "&copy; Copyright %(copyright)s."
msgstr ""
#: sphinx/themes/basic/layout.html:190
#: sphinx/themes/basic/layout.html:193 sphinx/themes/scrolls/layout.html:89
#, python-format
msgid "Last updated on %(last_updated)s."
msgstr ""
#: sphinx/themes/basic/layout.html:193
#: sphinx/themes/basic/layout.html:196 sphinx/themes/scrolls/layout.html:92
#, python-format
msgid ""
"Created using <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> "
"%(sphinx_version)s."
msgstr ""
#: sphinx/themes/basic/modindex.html:36
#: sphinx/themes/basic/modindex.html:36 sphinx/themes/scrolls/modindex.html:37
msgid "Deprecated"
msgstr ""
@ -578,11 +592,11 @@ msgstr ""
msgid "Release"
msgstr ""
#: sphinx/writers/latex.py:639
#: sphinx/writers/latex.py:644
msgid "continued from previous page"
msgstr ""
#: sphinx/writers/latex.py:643
#: sphinx/writers/latex.py:648
msgid "Continued on next page"
msgstr ""