mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge with stable
This commit is contained in:
9
CHANGES
9
CHANGES
@@ -263,6 +263,15 @@ Bugs fixed
|
||||
general section cause type error.
|
||||
* PR#270, #1533: Non-ASCII docstring cause UnicodeDecodeError when uses with
|
||||
inheritance-diagram directive. Thanks to WAKAYAMA shirou.
|
||||
* PR#281, PR#282, #1509: TODO extension not compatible with websupport. Thanks
|
||||
to Takeshi Komiya.
|
||||
* #1477: gettext does not extract nodes.line in a table or list.
|
||||
* #1544: `make text` generate wrong table when it has empty table cells.
|
||||
* #1522: Footnotes from table get displayed twice in LaTeX. This problem has
|
||||
been appeared from Sphinx-1.2.1 by #949.
|
||||
* #508: Sphinx every time exit with zero when is invoked from setup.py command.
|
||||
ex. `python setup.py build_sphinx -b doctest` return zero even if doctest
|
||||
failed.
|
||||
|
||||
Release 1.2.2 (released Mar 2, 2014)
|
||||
====================================
|
||||
|
@@ -21,7 +21,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
quite a few configuration values that customize the output of this builder,
|
||||
see the chapter :ref:`html-options` for details.
|
||||
|
||||
Its name is ``html``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. class:: DirectoryHTMLBuilder
|
||||
|
||||
@@ -32,7 +34,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
but ``markup/rest/index.html``. When generating links between pages, the
|
||||
``index.html`` is omitted, so that the URL would look like ``markup/rest/``.
|
||||
|
||||
Its name is ``dirhtml``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 0.6
|
||||
|
||||
@@ -42,7 +46,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
(Obviously this only works with smaller projects.) The file is named like
|
||||
the master document. No indices will be generated.
|
||||
|
||||
Its name is ``singlehtml``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
@@ -53,7 +59,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
also generates HTML Help support files that allow the Microsoft HTML Help
|
||||
Workshop to compile them into a CHM file.
|
||||
|
||||
Its name is ``htmlhelp``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. module:: sphinx.builders.qthelp
|
||||
.. class:: QtHelpBuilder
|
||||
@@ -62,7 +70,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
also generates `Qt help`_ collection support files that allow
|
||||
the Qt collection generator to compile them.
|
||||
|
||||
Its name is ``qthelp``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. _Qt help: http://qt-project.org/doc/qt-4.8/qthelp-framework.html
|
||||
|
||||
@@ -73,7 +83,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
also generates `GNOME Devhelp <https://wiki.gnome.org/Apps/Devhelp>`__
|
||||
support file that allows the GNOME Devhelp reader to view them.
|
||||
|
||||
Its name is ``devhelp``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. module:: sphinx.builders.epub
|
||||
.. class:: EpubBuilder
|
||||
@@ -84,7 +96,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
`<http://idpf.org/epub>`_ or `<http://en.wikipedia.org/wiki/EPUB>`_.
|
||||
The builder creates *EPUB 2* files.
|
||||
|
||||
Its name is ``epub``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. module:: sphinx.builders.latex
|
||||
.. class:: LaTeXBuilder
|
||||
@@ -105,7 +119,9 @@ The builder's "name" must be given to the **-b** command-line option of
|
||||
* latex-extra
|
||||
* fonts-recommended
|
||||
|
||||
Its name is ``latex``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
Note that a direct PDF builder using ReportLab is available in `rst2pdf
|
||||
<http://rst2pdf.googlecode.com>`_ version 0.12 or greater. You need to add
|
||||
@@ -120,7 +136,9 @@ for details.
|
||||
same as the reST source, but with much of the markup stripped for better
|
||||
readability.
|
||||
|
||||
Its name is ``text``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 0.4
|
||||
|
||||
@@ -131,7 +149,9 @@ for details.
|
||||
which documents are to be included in which manual pages via the
|
||||
:confval:`man_pages` configuration value.
|
||||
|
||||
Its name is ``man``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
@@ -150,7 +170,9 @@ for details.
|
||||
GNU project. More information on Texinfo can be found at
|
||||
`<http://www.gnu.org/software/texinfo/>`_.
|
||||
|
||||
Its name is ``texinfo``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.1
|
||||
|
||||
@@ -211,7 +233,11 @@ for details.
|
||||
|
||||
See :ref:`serialization-details` for details about the output format.
|
||||
|
||||
Its name is ``pickle``. (The old name ``web`` still works as well.)
|
||||
.. autoattribute:: name
|
||||
|
||||
The old name ``web`` still works as well.
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
The file suffix is ``.fpickle``. The global context is called
|
||||
``globalcontext.pickle``, the search index ``searchindex.pickle``.
|
||||
@@ -224,7 +250,9 @@ for details.
|
||||
|
||||
See :ref:`serialization-details` for details about the output format.
|
||||
|
||||
Its name is ``json``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
The file suffix is ``.fjson``. The global context is called
|
||||
``globalcontext.json``, the search index ``searchindex.json``.
|
||||
@@ -239,7 +267,9 @@ for details.
|
||||
|
||||
See the documentation on :ref:`intl` for further reference.
|
||||
|
||||
Its name is ``gettext``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.1
|
||||
|
||||
@@ -251,7 +281,9 @@ for details.
|
||||
current :confval:`version`. This is useful to generate a ChangeLog file, for
|
||||
example.
|
||||
|
||||
Its name is ``changes``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. module:: sphinx.builders.linkcheck
|
||||
.. class:: CheckExternalLinksBuilder
|
||||
@@ -260,7 +292,9 @@ for details.
|
||||
:mod:`urllib2`, and writes an overview which ones are broken and redirected
|
||||
to standard output and to :file:`output.txt` in the output directory.
|
||||
|
||||
Its name is ``linkcheck``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. module:: sphinx.builders.xml
|
||||
.. class:: XMLBuilder
|
||||
@@ -269,7 +303,9 @@ for details.
|
||||
transformed with standard XML tools such as XSLT processors into arbitrary
|
||||
final forms.
|
||||
|
||||
Its name is ``xml``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
@@ -281,7 +317,9 @@ for details.
|
||||
attributes for all elements are output, and internal attributes for any
|
||||
leftover "pending" elements are also given.
|
||||
|
||||
Its name is ``pseudoxml``.
|
||||
.. autoattribute:: name
|
||||
|
||||
.. autoattribute:: supported_image_types
|
||||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
|
@@ -47,6 +47,8 @@ Important points to note:
|
||||
``tags.has('tag')`` to query, ``tags.add('tag')`` and ``tags.remove('tag')``
|
||||
to change. Only tags set via the ``-t`` command-line option or via
|
||||
``tags.add('tag')`` can be queried using ``tags.has('tag')``.
|
||||
Note that the current builder tag is not available in ``conf.py``, as it is
|
||||
created *after* the builder is initialized.
|
||||
|
||||
|
||||
General configuration
|
||||
|
@@ -261,3 +261,7 @@ following directive exists:
|
||||
.. [#] For most builders name and format are the same. At the moment only
|
||||
builders derived from the html builder distinguish between the builder
|
||||
format and the builder name.
|
||||
|
||||
Note that the current builder tag is not available in ``conf.py``, it is
|
||||
only available after the builder is intialized.
|
||||
|
||||
|
@@ -372,6 +372,7 @@ their type. Each builder then chooses the best image out of these candidates.
|
||||
For instance, if the file name ``gnu.*`` was given and two files :file:`gnu.pdf`
|
||||
and :file:`gnu.png` existed in the source tree, the LaTeX builder would choose
|
||||
the former, while the HTML builder would prefer the latter.
|
||||
Supported image types and choosing priority are defined at :ref:`builders`.
|
||||
|
||||
Note that image file names should not contain spaces.
|
||||
|
||||
|
1
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.js
Normal file
1
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.js
Normal file
@@ -0,0 +1 @@
|
||||
Documentation.addTranslations({"locale": "pt_PT", "plural_expr": "(n != 1)", "messages": {"Next topic": "Pr\u00f3ximo t\u00f3pico", "Index": "\u00cdndice", "%(filename)s — %(docstitle)s": "%(filename)s — %(docstitle)s", "Welcome! This is": "Bem Vindo(a)! Esta \u00e9", "Copyright": "Copyright", "C API changes": "Altera\u00e7\u00f5es na API C", "quick access to all modules": "acesso r\u00e1pido a todos os m\u00f3dulos", "© Copyright %(copyright)s.": "© Copyright %(copyright)s.", "Global Module Index": "\u00cdndice Global de M\u00f3dulos", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "A sua pesquisa n\u00e3o encontrou nenhum documento. Por favor, confirme que todas as palavras est\u00e3o escritas corretamente e que selecionou categorias suficientes.", "Index – %(key)s": "\u00cdndice – %(key)s", "General Index": "\u00cdndice Geral", "next chapter": "pr\u00f3ximo cap\u00edtulo", "Search finished, found %s page(s) matching the search query.": "Pesquisa conclu\u00edda, foram encontrada(s) %s p\u00e1gina(s) que combinam com a consulta feita.", "previous chapter": "cap\u00edtulo anterior", "Permalink to this headline": "Link permanente para este t\u00edtulo", "About these documents": "Sobre estes documentos", "Preparing search...": "A preparar a pesquisa...", ", in ": ", em", "Navigation": "Navega\u00e7\u00e3o", "Expand sidebar": "Expandir painel lateral", "the documentation for": "a documenta\u00e7\u00e3o de", "Complete Table of Contents": "Tabela de Conte\u00fados Completa", "Contents": "Conte\u00fado", "can be huge": "pode ser enorme", "Changes in Version %(version)s — %(docstitle)s": "Altera\u00e7\u00f5es na Vers\u00e3o%(version)s — %(docstitle)s", "Other changes": "Outras altera\u00e7\u00f5es", "Hide Search Matches": "Esconder Resultados da Pesquisa", "Quick search": "Pesquisa r\u00e1pida", "Show Source": "Exibir Fonte", "Search": "Pesquisar", "This Page": "Esta P\u00e1gina", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "A partir daqui pode pesquisar estes documentos. Preencha as\npalavras de pesquisa na caixa abaixo e clique em \"pesquisar\".\nNote que a fun\u00e7\u00e3o de pesquisa ir\u00e1 procurar automaticamente\npor todas as palavras. P\u00e1ginas que contenham menos palavras\nn\u00e3o ir\u00e3o aparecer na lista de resultados.", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "Criado utilizando <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.", "last updated": "\u00faltima actualiza\u00e7\u00e3o", "Collapse sidebar": "Recolher painel lateral", "Go": "Ir", "Table Of Contents": "Tabela de Conte\u00fados", "Search within %(docstitle)s": "Pesquisar dentro de %(docstitle)s", "all functions, classes, terms": "todas as fun\u00e7\u00f5es, classes, termos", "Please activate JavaScript to enable the search\n functionality.": "Por favor ligue o JavaScript para habilitar a\nfuncionalidade de pesquisa.", "Indices and tables:": "\u00cdndices e tabelas:", "lists all sections and subsections": "Listar todas as sec\u00e7\u00f5es e subsec\u00e7\u00f5es", "Index pages by letter": "Paginas de \u00edndice por letra", "search": "pesquisar", "Permalink to this definition": "Link permanente para esta defini\u00e7\u00e3o", "Previous topic": "T\u00f3pico anterior", "Overview": "Vis\u00e3o geral", "Last updated on %(last_updated)s.": "\u00daltima actualiza\u00e7\u00e3o em %(last_updated)s.", "Searching": "A Pesquisar", "search this documentation": "Pesquisar esta documenta\u00e7\u00e3o", "Automatically generated list of changes in version %(version)s": "Lista de altera\u00e7\u00f5es gerada automaticamente na vers\u00e3o %(version)s", "Full index on one page": "\u00cdndice completo numa p\u00e1gina", "Enter search terms or a module, class or function name.": "Digite os termos da busca ou o nome de um m\u00f3dulo, classe ou fun\u00e7\u00e3o.", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.", "Library changes": "Altera\u00e7\u00f5es na biblioteca", "Search Page": "P\u00e1gina de Pesquisa", "Search Results": "Resultados da Pesquisa"}});
|
BIN
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo
Normal file
BIN
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.mo
Normal file
Binary file not shown.
844
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po
Normal file
844
sphinx/locale/pt_PT/LC_MESSAGES/sphinx.po
Normal file
@@ -0,0 +1,844 @@
|
||||
# Portuguese (Portugal) translations for Sphinx.
|
||||
# Copyright (C) 2013 ORGANIZATION
|
||||
# This file is distributed under the same license as the Sphinx project.
|
||||
#
|
||||
# Translators:
|
||||
# Pedro Algarvio <pedro@algarvio.me>, 2013
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sphinx\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2014-08-11 21:54+0900\n"
|
||||
"PO-Revision-Date: 2013-11-20 09:59+0000\n"
|
||||
"Last-Translator: Pedro Algarvio <pedro@algarvio.me>\n"
|
||||
"Language-Team: Portuguese (Portugal) "
|
||||
"(http://www.transifex.com/projects/p/sphinx-1/language/pt_PT/)\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 1.3\n"
|
||||
|
||||
#: sphinx/config.py:81
|
||||
#, python-format
|
||||
msgid "%s %s documentation"
|
||||
msgstr "Documentação %s %s"
|
||||
|
||||
#: sphinx/environment.py:1550
|
||||
#, python-format
|
||||
msgid "see %s"
|
||||
msgstr "ver %s"
|
||||
|
||||
#: sphinx/environment.py:1553
|
||||
#, python-format
|
||||
msgid "see also %s"
|
||||
msgstr "ver também %s"
|
||||
|
||||
#: sphinx/environment.py:1610
|
||||
msgid "Symbols"
|
||||
msgstr "Símbolos"
|
||||
|
||||
#: sphinx/roles.py:175
|
||||
#, python-format
|
||||
msgid "Python Enhancement Proposals; PEP %s"
|
||||
msgstr "Python Enhancement Proposals; PEP %s"
|
||||
|
||||
#: sphinx/transforms.py:56 sphinx/writers/latex.py:205
|
||||
#: sphinx/writers/manpage.py:68 sphinx/writers/texinfo.py:217
|
||||
#, python-format
|
||||
msgid "%B %d, %Y"
|
||||
msgstr "%d %B, %Y"
|
||||
|
||||
#: sphinx/builders/changes.py:73
|
||||
msgid "Builtins"
|
||||
msgstr "Internos"
|
||||
|
||||
#: sphinx/builders/changes.py:75
|
||||
msgid "Module level"
|
||||
msgstr "Módulos"
|
||||
|
||||
#: sphinx/builders/html.py:291
|
||||
#, python-format
|
||||
msgid "%b %d, %Y"
|
||||
msgstr "%d %b, %Y"
|
||||
|
||||
#: sphinx/builders/html.py:310 sphinx/themes/basic/defindex.html:30
|
||||
msgid "General Index"
|
||||
msgstr "Índice Geral"
|
||||
|
||||
#: sphinx/builders/html.py:310
|
||||
msgid "index"
|
||||
msgstr "índice"
|
||||
|
||||
#: sphinx/builders/html.py:370
|
||||
msgid "next"
|
||||
msgstr "próximo"
|
||||
|
||||
#: sphinx/builders/html.py:379
|
||||
msgid "previous"
|
||||
msgstr "anterior"
|
||||
|
||||
#: sphinx/builders/latex.py:142 sphinx/builders/texinfo.py:197
|
||||
msgid " (in "
|
||||
msgstr " (em "
|
||||
|
||||
#: sphinx/directives/other.py:138
|
||||
msgid "Section author: "
|
||||
msgstr "Autor da secção: "
|
||||
|
||||
#: sphinx/directives/other.py:140
|
||||
msgid "Module author: "
|
||||
msgstr "Autor do módulo: "
|
||||
|
||||
#: sphinx/directives/other.py:142
|
||||
msgid "Code author: "
|
||||
msgstr "Autor do código: "
|
||||
|
||||
#: sphinx/directives/other.py:144
|
||||
msgid "Author: "
|
||||
msgstr "Autor: "
|
||||
|
||||
#: sphinx/domains/__init__.py:244
|
||||
#, python-format
|
||||
msgid "%s %s"
|
||||
msgstr "%s %s"
|
||||
|
||||
#: sphinx/domains/c.py:51 sphinx/domains/cpp.py:984 sphinx/domains/python.py:95
|
||||
msgid "Parameters"
|
||||
msgstr "Parâmetros"
|
||||
|
||||
#: sphinx/domains/c.py:54 sphinx/domains/cpp.py:990
|
||||
#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:107
|
||||
msgid "Returns"
|
||||
msgstr "Retorno"
|
||||
|
||||
#: sphinx/domains/c.py:56 sphinx/domains/javascript.py:130
|
||||
#: sphinx/domains/python.py:109
|
||||
msgid "Return type"
|
||||
msgstr "Tipo de retorno"
|
||||
|
||||
#: sphinx/domains/c.py:146
|
||||
#, python-format
|
||||
msgid "%s (C function)"
|
||||
msgstr "%s (função C)"
|
||||
|
||||
#: sphinx/domains/c.py:148
|
||||
#, python-format
|
||||
msgid "%s (C member)"
|
||||
msgstr "%s (membro C)"
|
||||
|
||||
#: sphinx/domains/c.py:150
|
||||
#, python-format
|
||||
msgid "%s (C macro)"
|
||||
msgstr "%s (macro C)"
|
||||
|
||||
#: sphinx/domains/c.py:152
|
||||
#, python-format
|
||||
msgid "%s (C type)"
|
||||
msgstr "%s (tipo C)"
|
||||
|
||||
#: sphinx/domains/c.py:154
|
||||
#, python-format
|
||||
msgid "%s (C variable)"
|
||||
msgstr "%s (variável C)"
|
||||
|
||||
#: sphinx/domains/c.py:211 sphinx/domains/cpp.py:1252
|
||||
#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:560
|
||||
msgid "function"
|
||||
msgstr "função"
|
||||
|
||||
#: sphinx/domains/c.py:212 sphinx/domains/cpp.py:1253
|
||||
msgid "member"
|
||||
msgstr "membro"
|
||||
|
||||
#: sphinx/domains/c.py:213
|
||||
msgid "macro"
|
||||
msgstr "macro"
|
||||
|
||||
#: sphinx/domains/c.py:214 sphinx/domains/cpp.py:1254
|
||||
msgid "type"
|
||||
msgstr "tipo"
|
||||
|
||||
#: sphinx/domains/c.py:215
|
||||
msgid "variable"
|
||||
msgstr "variável"
|
||||
|
||||
#: sphinx/domains/cpp.py:987 sphinx/domains/javascript.py:125
|
||||
msgid "Throws"
|
||||
msgstr "Gera"
|
||||
|
||||
#: sphinx/domains/cpp.py:1083
|
||||
#, python-format
|
||||
msgid "%s (C++ class)"
|
||||
msgstr "%s (classe C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1106
|
||||
#, python-format
|
||||
msgid "%s (C++ type)"
|
||||
msgstr "%s (tipo C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1126
|
||||
#, python-format
|
||||
msgid "%s (C++ member)"
|
||||
msgstr "%s (membro C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1182
|
||||
#, python-format
|
||||
msgid "%s (C++ function)"
|
||||
msgstr "%s (função C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1251 sphinx/domains/javascript.py:165
|
||||
#: sphinx/domains/python.py:562
|
||||
msgid "class"
|
||||
msgstr "classe"
|
||||
|
||||
#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:253
|
||||
#, python-format
|
||||
msgid "%s() (built-in function)"
|
||||
msgstr "%s() (função interna)"
|
||||
|
||||
#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:317
|
||||
#, python-format
|
||||
msgid "%s() (%s method)"
|
||||
msgstr "%s() (método %s)"
|
||||
|
||||
#: sphinx/domains/javascript.py:109
|
||||
#, python-format
|
||||
msgid "%s() (class)"
|
||||
msgstr "%s() (classe)"
|
||||
|
||||
#: sphinx/domains/javascript.py:111
|
||||
#, python-format
|
||||
msgid "%s (global variable or constant)"
|
||||
msgstr "%s (variável global ou constante)"
|
||||
|
||||
#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:355
|
||||
#, python-format
|
||||
msgid "%s (%s attribute)"
|
||||
msgstr "%s (atributo %s)"
|
||||
|
||||
#: sphinx/domains/javascript.py:122
|
||||
msgid "Arguments"
|
||||
msgstr "Parâmetros"
|
||||
|
||||
#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:561
|
||||
msgid "data"
|
||||
msgstr "dados"
|
||||
|
||||
#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:567
|
||||
msgid "attribute"
|
||||
msgstr "atributo"
|
||||
|
||||
#: sphinx/domains/python.py:100
|
||||
msgid "Variables"
|
||||
msgstr "Variáveis"
|
||||
|
||||
#: sphinx/domains/python.py:104
|
||||
msgid "Raises"
|
||||
msgstr "Levanta"
|
||||
|
||||
#: sphinx/domains/python.py:254 sphinx/domains/python.py:311
|
||||
#: sphinx/domains/python.py:323 sphinx/domains/python.py:336
|
||||
#, python-format
|
||||
msgid "%s() (in module %s)"
|
||||
msgstr "%s() (no módulo %s)"
|
||||
|
||||
#: sphinx/domains/python.py:257
|
||||
#, python-format
|
||||
msgid "%s (built-in variable)"
|
||||
msgstr "%s (variável interna)"
|
||||
|
||||
#: sphinx/domains/python.py:258 sphinx/domains/python.py:349
|
||||
#, python-format
|
||||
msgid "%s (in module %s)"
|
||||
msgstr "%s (no módulo %s)"
|
||||
|
||||
#: sphinx/domains/python.py:274
|
||||
#, python-format
|
||||
msgid "%s (built-in class)"
|
||||
msgstr "%s (classe interna)"
|
||||
|
||||
#: sphinx/domains/python.py:275
|
||||
#, python-format
|
||||
msgid "%s (class in %s)"
|
||||
msgstr "%s (classe em %s)"
|
||||
|
||||
#: sphinx/domains/python.py:315
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s method)"
|
||||
msgstr "%s() (método %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:327
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s static method)"
|
||||
msgstr "%s() (método estático %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:330
|
||||
#, python-format
|
||||
msgid "%s() (%s static method)"
|
||||
msgstr "%s() (método estático %s)"
|
||||
|
||||
#: sphinx/domains/python.py:340
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s class method)"
|
||||
msgstr "%s() (método de classe %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:343
|
||||
#, python-format
|
||||
msgid "%s() (%s class method)"
|
||||
msgstr "%s() (método de classe %s)"
|
||||
|
||||
#: sphinx/domains/python.py:353
|
||||
#, python-format
|
||||
msgid "%s (%s.%s attribute)"
|
||||
msgstr "%s (atributo %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:434
|
||||
#, python-format
|
||||
msgid "%s (module)"
|
||||
msgstr "%s (módulo)"
|
||||
|
||||
#: sphinx/domains/python.py:491
|
||||
msgid "Python Module Index"
|
||||
msgstr "Índice de Módulos do Python"
|
||||
|
||||
#: sphinx/domains/python.py:492
|
||||
msgid "modules"
|
||||
msgstr "módulos"
|
||||
|
||||
#: sphinx/domains/python.py:538
|
||||
msgid "Deprecated"
|
||||
msgstr "Obsoleto"
|
||||
|
||||
#: sphinx/domains/python.py:563 sphinx/locale/__init__.py:179
|
||||
msgid "exception"
|
||||
msgstr "excepção"
|
||||
|
||||
#: sphinx/domains/python.py:564
|
||||
msgid "method"
|
||||
msgstr "método"
|
||||
|
||||
#: sphinx/domains/python.py:565
|
||||
msgid "class method"
|
||||
msgstr "método de classe"
|
||||
|
||||
#: sphinx/domains/python.py:566
|
||||
msgid "static method"
|
||||
msgstr "método estático"
|
||||
|
||||
#: sphinx/domains/python.py:568 sphinx/locale/__init__.py:175
|
||||
msgid "module"
|
||||
msgstr "módulo"
|
||||
|
||||
#: sphinx/domains/python.py:696
|
||||
msgid " (deprecated)"
|
||||
msgstr " (obsoleto)"
|
||||
|
||||
#: sphinx/domains/rst.py:53
|
||||
#, python-format
|
||||
msgid "%s (directive)"
|
||||
msgstr "%s (directiva)"
|
||||
|
||||
#: sphinx/domains/rst.py:55
|
||||
#, python-format
|
||||
msgid "%s (role)"
|
||||
msgstr "%s (papel)"
|
||||
|
||||
#: sphinx/domains/rst.py:104
|
||||
msgid "directive"
|
||||
msgstr "directiva"
|
||||
|
||||
#: sphinx/domains/rst.py:105
|
||||
msgid "role"
|
||||
msgstr "papel"
|
||||
|
||||
#: sphinx/domains/std.py:69 sphinx/domains/std.py:85
|
||||
#, python-format
|
||||
msgid "environment variable; %s"
|
||||
msgstr "variável de ambiente; %s"
|
||||
|
||||
#: sphinx/domains/std.py:180
|
||||
#, python-format
|
||||
msgid "%scommand line option; %s"
|
||||
msgstr "%sopção de linha de comando; %s"
|
||||
|
||||
#: sphinx/domains/std.py:457
|
||||
msgid "glossary term"
|
||||
msgstr "Termo de glossário"
|
||||
|
||||
#: sphinx/domains/std.py:458
|
||||
msgid "grammar token"
|
||||
msgstr "token de gramática"
|
||||
|
||||
#: sphinx/domains/std.py:459
|
||||
msgid "reference label"
|
||||
msgstr "rótulo de referência"
|
||||
|
||||
#: sphinx/domains/std.py:461
|
||||
msgid "environment variable"
|
||||
msgstr "variável de ambiente"
|
||||
|
||||
#: sphinx/domains/std.py:462
|
||||
msgid "program option"
|
||||
msgstr "opção de programa"
|
||||
|
||||
#: sphinx/domains/std.py:492 sphinx/themes/basic/genindex-single.html:32
|
||||
#: sphinx/themes/basic/genindex-single.html:57
|
||||
#: sphinx/themes/basic/genindex-split.html:11
|
||||
#: sphinx/themes/basic/genindex-split.html:14
|
||||
#: sphinx/themes/basic/genindex.html:32 sphinx/themes/basic/genindex.html:35
|
||||
#: sphinx/themes/basic/genindex.html:68 sphinx/themes/basic/layout.html:134
|
||||
#: sphinx/writers/latex.py:194 sphinx/writers/texinfo.py:475
|
||||
msgid "Index"
|
||||
msgstr "Índice"
|
||||
|
||||
#: sphinx/domains/std.py:493
|
||||
msgid "Module Index"
|
||||
msgstr "Índice de Módulos"
|
||||
|
||||
#: sphinx/domains/std.py:494 sphinx/themes/basic/defindex.html:25
|
||||
msgid "Search Page"
|
||||
msgstr "Página de Pesquisa"
|
||||
|
||||
#: sphinx/ext/autodoc.py:1065
|
||||
#, python-format
|
||||
msgid " Bases: %s"
|
||||
msgstr "Bases: %s"
|
||||
|
||||
#: sphinx/ext/autodoc.py:1113
|
||||
#, python-format
|
||||
msgid "alias of :class:`%s`"
|
||||
msgstr "pseudónimo de :class:`%s`"
|
||||
|
||||
#: sphinx/ext/graphviz.py:297 sphinx/ext/graphviz.py:305
|
||||
#, python-format
|
||||
msgid "[graph: %s]"
|
||||
msgstr "[gráfico: %s]"
|
||||
|
||||
#: sphinx/ext/graphviz.py:299 sphinx/ext/graphviz.py:307
|
||||
msgid "[graph]"
|
||||
msgstr "[gráfico]"
|
||||
|
||||
#: sphinx/ext/intersphinx.py:244
|
||||
#, python-format
|
||||
msgid "(in %s v%s)"
|
||||
msgstr "(em %s v%s)"
|
||||
|
||||
#: sphinx/ext/linkcode.py:66 sphinx/ext/viewcode.py:70
|
||||
msgid "[source]"
|
||||
msgstr "[código fonte]"
|
||||
|
||||
#: sphinx/ext/todo.py:42
|
||||
msgid "Todo"
|
||||
msgstr "Por fazer"
|
||||
|
||||
#: sphinx/ext/todo.py:112
|
||||
#, python-format
|
||||
msgid "(The <<original entry>> is located in %s, line %d.)"
|
||||
msgstr "(A <<entrada original>> está localizada em %s, linha %d.)"
|
||||
|
||||
#: sphinx/ext/todo.py:121
|
||||
msgid "original entry"
|
||||
msgstr "entrada original"
|
||||
|
||||
#: sphinx/ext/viewcode.py:117
|
||||
msgid "[docs]"
|
||||
msgstr "[documentos]"
|
||||
|
||||
#: sphinx/ext/viewcode.py:131
|
||||
msgid "Module code"
|
||||
msgstr "Código do módulo"
|
||||
|
||||
#: sphinx/ext/viewcode.py:137
|
||||
#, python-format
|
||||
msgid "<h1>Source code for %s</h1>"
|
||||
msgstr "<h1>Código fonte de %s</h1>"
|
||||
|
||||
#: sphinx/ext/viewcode.py:164
|
||||
msgid "Overview: module code"
|
||||
msgstr "Visão geral: código do módulo"
|
||||
|
||||
#: sphinx/ext/viewcode.py:165
|
||||
msgid "<h1>All modules for which code is available</h1>"
|
||||
msgstr "<h1>Todos os módulos onde este código está disponível</h1>"
|
||||
|
||||
#: sphinx/locale/__init__.py:155
|
||||
msgid "Attention"
|
||||
msgstr "Atenção"
|
||||
|
||||
#: sphinx/locale/__init__.py:156
|
||||
msgid "Caution"
|
||||
msgstr "Cuidado"
|
||||
|
||||
#: sphinx/locale/__init__.py:157
|
||||
msgid "Danger"
|
||||
msgstr "Perigo"
|
||||
|
||||
#: sphinx/locale/__init__.py:158
|
||||
msgid "Error"
|
||||
msgstr "Erro"
|
||||
|
||||
#: sphinx/locale/__init__.py:159
|
||||
msgid "Hint"
|
||||
msgstr "Dica"
|
||||
|
||||
#: sphinx/locale/__init__.py:160
|
||||
msgid "Important"
|
||||
msgstr "Importante"
|
||||
|
||||
#: sphinx/locale/__init__.py:161
|
||||
msgid "Note"
|
||||
msgstr "Nota"
|
||||
|
||||
#: sphinx/locale/__init__.py:162
|
||||
msgid "See also"
|
||||
msgstr "Veja também"
|
||||
|
||||
#: sphinx/locale/__init__.py:163
|
||||
msgid "Tip"
|
||||
msgstr "Dica"
|
||||
|
||||
#: sphinx/locale/__init__.py:164
|
||||
msgid "Warning"
|
||||
msgstr "Aviso"
|
||||
|
||||
#: sphinx/locale/__init__.py:168
|
||||
#, python-format
|
||||
msgid "New in version %s"
|
||||
msgstr "Novo na versão %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:169
|
||||
#, python-format
|
||||
msgid "Changed in version %s"
|
||||
msgstr "Alterado na versão %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:170
|
||||
#, python-format
|
||||
msgid "Deprecated since version %s"
|
||||
msgstr "Obsoleto desde a versão %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:176
|
||||
msgid "keyword"
|
||||
msgstr "palavra-chave"
|
||||
|
||||
#: sphinx/locale/__init__.py:177
|
||||
msgid "operator"
|
||||
msgstr "operador"
|
||||
|
||||
#: sphinx/locale/__init__.py:178
|
||||
msgid "object"
|
||||
msgstr "objecto"
|
||||
|
||||
#: sphinx/locale/__init__.py:180
|
||||
msgid "statement"
|
||||
msgstr "comando"
|
||||
|
||||
#: sphinx/locale/__init__.py:181
|
||||
msgid "built-in function"
|
||||
msgstr "função interna"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10
|
||||
#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35
|
||||
msgid "Table Of Contents"
|
||||
msgstr "Tabela de Conteúdos"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:50 sphinx/themes/basic/layout.html:137
|
||||
#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23
|
||||
#: sphinx/themes/basic/searchresults.html:10
|
||||
msgid "Search"
|
||||
msgstr "Pesquisar"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:53 sphinx/themes/basic/searchbox.html:15
|
||||
msgid "Go"
|
||||
msgstr "Ir"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:58 sphinx/themes/basic/searchbox.html:20
|
||||
msgid "Enter search terms or a module, class or function name."
|
||||
msgstr "Digite os termos da busca ou o nome de um módulo, classe ou função."
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:79 sphinx/themes/basic/sourcelink.html:14
|
||||
msgid "Show Source"
|
||||
msgstr "Exibir Fonte"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:11
|
||||
msgid "Overview"
|
||||
msgstr "Visão geral"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:15
|
||||
msgid "Welcome! This is"
|
||||
msgstr "Bem Vindo(a)! Esta é"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:16
|
||||
msgid "the documentation for"
|
||||
msgstr "a documentação de"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:17
|
||||
msgid "last updated"
|
||||
msgstr "última actualização"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:20
|
||||
msgid "Indices and tables:"
|
||||
msgstr "Índices e tabelas:"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:23
|
||||
msgid "Complete Table of Contents"
|
||||
msgstr "Tabela de Conteúdos Completa"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:24
|
||||
msgid "lists all sections and subsections"
|
||||
msgstr "Listar todas as secções e subsecções"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:26
|
||||
msgid "search this documentation"
|
||||
msgstr "Pesquisar esta documentação"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:28
|
||||
msgid "Global Module Index"
|
||||
msgstr "Índice Global de Módulos"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:29
|
||||
msgid "quick access to all modules"
|
||||
msgstr "acesso rápido a todos os módulos"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:31
|
||||
msgid "all functions, classes, terms"
|
||||
msgstr "todas as funções, classes, termos"
|
||||
|
||||
#: sphinx/themes/basic/genindex-single.html:35
|
||||
#, python-format
|
||||
msgid "Index – %(key)s"
|
||||
msgstr "Índice – %(key)s"
|
||||
|
||||
#: sphinx/themes/basic/genindex-single.html:63
|
||||
#: sphinx/themes/basic/genindex-split.html:24
|
||||
#: sphinx/themes/basic/genindex-split.html:38
|
||||
#: sphinx/themes/basic/genindex.html:74
|
||||
msgid "Full index on one page"
|
||||
msgstr "Índice completo numa página"
|
||||
|
||||
#: sphinx/themes/basic/genindex-split.html:16
|
||||
msgid "Index pages by letter"
|
||||
msgstr "Paginas de índice por letra"
|
||||
|
||||
#: sphinx/themes/basic/genindex-split.html:25
|
||||
msgid "can be huge"
|
||||
msgstr "pode ser enorme"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:29
|
||||
msgid "Navigation"
|
||||
msgstr "Navegação"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:122
|
||||
#, python-format
|
||||
msgid "Search within %(docstitle)s"
|
||||
msgstr "Pesquisar dentro de %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:131
|
||||
msgid "About these documents"
|
||||
msgstr "Sobre estes documentos"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:140
|
||||
msgid "Copyright"
|
||||
msgstr "Copyright"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:189
|
||||
#, python-format
|
||||
msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
|
||||
msgstr "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:191
|
||||
#, python-format
|
||||
msgid "© Copyright %(copyright)s."
|
||||
msgstr "© Copyright %(copyright)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:195
|
||||
#, python-format
|
||||
msgid "Last updated on %(last_updated)s."
|
||||
msgstr "Última actualização em %(last_updated)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:198
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
msgstr ""
|
||||
"Criado utilizando <a href=\"http://sphinx-doc.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
|
||||
#: sphinx/themes/basic/opensearch.xml:4
|
||||
#, python-format
|
||||
msgid "Search %(docstitle)s"
|
||||
msgstr "Pesquisar %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:11
|
||||
msgid "Previous topic"
|
||||
msgstr "Tópico anterior"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:13
|
||||
msgid "previous chapter"
|
||||
msgstr "capítulo anterior"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:16
|
||||
msgid "Next topic"
|
||||
msgstr "Próximo tópico"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:18
|
||||
msgid "next chapter"
|
||||
msgstr "próximo capítulo"
|
||||
|
||||
#: sphinx/themes/basic/search.html:27
|
||||
msgid ""
|
||||
"Please activate JavaScript to enable the search\n"
|
||||
" functionality."
|
||||
msgstr ""
|
||||
"Por favor ligue o JavaScript para habilitar a\n"
|
||||
"funcionalidade de pesquisa."
|
||||
|
||||
#: sphinx/themes/basic/search.html:32
|
||||
msgid ""
|
||||
"From here you can search these documents. Enter your search\n"
|
||||
" words into the box below and click \"search\". Note that the search\n"
|
||||
" function will automatically search for all of the words. Pages\n"
|
||||
" containing fewer words won't appear in the result list."
|
||||
msgstr ""
|
||||
"A partir daqui pode pesquisar estes documentos. Preencha as\n"
|
||||
"palavras de pesquisa na caixa abaixo e clique em \"pesquisar\".\n"
|
||||
"Note que a função de pesquisa irá procurar automaticamente\n"
|
||||
"por todas as palavras. Páginas que contenham menos palavras\n"
|
||||
"não irão aparecer na lista de resultados."
|
||||
|
||||
#: sphinx/themes/basic/search.html:39 sphinx/themes/basic/searchresults.html:17
|
||||
msgid "search"
|
||||
msgstr "pesquisar"
|
||||
|
||||
#: sphinx/themes/basic/search.html:43 sphinx/themes/basic/searchresults.html:21
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:281
|
||||
msgid "Search Results"
|
||||
msgstr "Resultados da Pesquisa"
|
||||
|
||||
#: sphinx/themes/basic/search.html:45 sphinx/themes/basic/searchresults.html:23
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:283
|
||||
msgid ""
|
||||
"Your search did not match any documents. Please make sure that all words "
|
||||
"are spelled correctly and that you've selected enough categories."
|
||||
msgstr ""
|
||||
"A sua pesquisa não encontrou nenhum documento. Por favor, confirme que "
|
||||
"todas as palavras estão escritas corretamente e que selecionou categorias"
|
||||
" suficientes."
|
||||
|
||||
#: sphinx/themes/basic/searchbox.html:12
|
||||
msgid "Quick search"
|
||||
msgstr "Pesquisa rápida"
|
||||
|
||||
#: sphinx/themes/basic/sourcelink.html:11
|
||||
msgid "This Page"
|
||||
msgstr "Esta Página"
|
||||
|
||||
#: sphinx/themes/basic/changes/frameset.html:5
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:12
|
||||
#, python-format
|
||||
msgid "Changes in Version %(version)s — %(docstitle)s"
|
||||
msgstr "Alterações na Versão%(version)s — %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/changes/rstsource.html:5
|
||||
#, python-format
|
||||
msgid "%(filename)s — %(docstitle)s"
|
||||
msgstr "%(filename)s — %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:17
|
||||
#, python-format
|
||||
msgid "Automatically generated list of changes in version %(version)s"
|
||||
msgstr "Lista de alterações gerada automaticamente na versão %(version)s"
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:18
|
||||
msgid "Library changes"
|
||||
msgstr "Alterações na biblioteca"
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:23
|
||||
msgid "C API changes"
|
||||
msgstr "Alterações na API C"
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:25
|
||||
msgid "Other changes"
|
||||
msgstr "Outras alterações"
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:142 sphinx/writers/html.py:542
|
||||
#: sphinx/writers/html.py:548
|
||||
msgid "Permalink to this headline"
|
||||
msgstr "Link permanente para este título"
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:148 sphinx/writers/html.py:108
|
||||
msgid "Permalink to this definition"
|
||||
msgstr "Link permanente para esta definição"
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:180
|
||||
msgid "Hide Search Matches"
|
||||
msgstr "Esconder Resultados da Pesquisa"
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:119
|
||||
msgid "Searching"
|
||||
msgstr "A Pesquisar"
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:124
|
||||
msgid "Preparing search..."
|
||||
msgstr "A preparar a pesquisa..."
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:285
|
||||
#, python-format
|
||||
msgid "Search finished, found %s page(s) matching the search query."
|
||||
msgstr ""
|
||||
"Pesquisa concluída, foram encontrada(s) %s página(s) que combinam com a "
|
||||
"consulta feita."
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:337
|
||||
msgid ", in "
|
||||
msgstr ", em"
|
||||
|
||||
#: sphinx/themes/default/static/sidebar.js_t:83
|
||||
msgid "Expand sidebar"
|
||||
msgstr "Expandir painel lateral"
|
||||
|
||||
#: sphinx/themes/default/static/sidebar.js_t:96
|
||||
#: sphinx/themes/default/static/sidebar.js_t:124
|
||||
msgid "Collapse sidebar"
|
||||
msgstr "Recolher painel lateral"
|
||||
|
||||
#: sphinx/themes/haiku/layout.html:24
|
||||
msgid "Contents"
|
||||
msgstr "Conteúdo"
|
||||
|
||||
#: sphinx/writers/latex.py:192
|
||||
msgid "Release"
|
||||
msgstr "Versão"
|
||||
|
||||
#: sphinx/writers/latex.py:624 sphinx/writers/manpage.py:178
|
||||
#: sphinx/writers/texinfo.py:612
|
||||
msgid "Footnotes"
|
||||
msgstr "Notas de rodapé"
|
||||
|
||||
#: sphinx/writers/latex.py:709
|
||||
msgid "continued from previous page"
|
||||
msgstr "continuação da página anterior"
|
||||
|
||||
#: sphinx/writers/latex.py:715
|
||||
msgid "Continued on next page"
|
||||
msgstr "Continuação na próxima página"
|
||||
|
||||
#: sphinx/writers/manpage.py:224 sphinx/writers/text.py:538
|
||||
#, python-format
|
||||
msgid "[image: %s]"
|
||||
msgstr "[imagem: %s]"
|
||||
|
||||
#: sphinx/writers/manpage.py:225 sphinx/writers/text.py:539
|
||||
msgid "[image]"
|
||||
msgstr "[imagem]"
|
||||
|
||||
#~ msgid "Return value: Always NULL."
|
||||
#~ msgstr "Valor de Retorno: Sempre NULL."
|
||||
|
||||
#~ msgid "Return value: New reference."
|
||||
#~ msgstr "Valor de Retorno: Nova referência."
|
||||
|
||||
#~ msgid "Return value: Borrowed reference."
|
||||
#~ msgstr "Valor de Retorno: Referência emprestada."
|
||||
|
1
sphinx/locale/vi/LC_MESSAGES/sphinx.js
Normal file
1
sphinx/locale/vi/LC_MESSAGES/sphinx.js
Normal file
@@ -0,0 +1 @@
|
||||
Documentation.addTranslations({"locale": "vi", "plural_expr": "0", "messages": {"Next topic": "Ch\u1ee7 \u0111\u1ec1 ti\u1ebfp", "Index": "", "%(filename)s — %(docstitle)s": "", "Welcome! This is": "Ch\u00e0o m\u1eebng! \u0110\u00e2y l\u00e0", "Copyright": "B\u1ea3n quy\u1ec1n", "C API changes": "", "quick access to all modules": "truy c\u1eadp nhanh t\u1ea5t c\u1ea3 c\u00e1c m\u00f4-\u0111un", "© Copyright %(copyright)s.": "© B\u1ea3n quy\u1ec1n thu\u1ed9c %(copyright)s.", "Global Module Index": "Ch\u1ec9 M\u1ee5c M\u00f4-\u0111un To\u00e0n C\u1ee5c", "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "", "Index – %(key)s": "Ch\u1ec9 m\u1ee5c – %(key)s", "General Index": "Ch\u1ec9 m\u1ee5c chung", "next chapter": "ch\u01b0\u01a1ng ti\u1ebfp", "Search finished, found %s page(s) matching the search query.": "", "previous chapter": "ch\u01b0\u01a1ng tr\u01b0\u1edbc ", "Permalink to this headline": "", "About these documents": "V\u1ec1 c\u00e1c t\u00e0i li\u1ec7u n\u00e0y", "Preparing search...": "", ", in ": "", "Navigation": "\u0110i\u1ec1u h\u01b0\u1edbng", "Expand sidebar": "", "the documentation for": "t\u00e0i li\u1ec7u cho", "Complete Table of Contents": "M\u1ee5c L\u1ee5c \u0110\u1ea7y \u0110\u1ee7", "Contents": "", "can be huge": "c\u00f3 th\u1ec3 r\u1ea5t nhi\u1ec1u", "Changes in Version %(version)s — %(docstitle)s": "", "Other changes": "", "Hide Search Matches": "", "Quick search": "", "Show Source": "Hi\u1ec3n th\u1ecb m\u00e3 ngu\u1ed3n", "Search": "T\u00ecm Ki\u1ebfm", "This Page": "", "From here you can search these documents. Enter your search\n words into the box below and click \"search\". Note that the search\n function will automatically search for all of the words. Pages\n containing fewer words won't appear in the result list.": "", "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.": "\u0110\u01b0\u1ee3c t\u1ea1o nh\u1edd <a href=\"http://sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s.", "last updated": "c\u1eadp nh\u1eadt m\u1edbi nh\u1ea5t", "Collapse sidebar": "", "Go": "Th\u1ef1c hi\u1ec7n", "Table Of Contents": "M\u1ee5c L\u1ee5c", "Search within %(docstitle)s": "T\u00ecm ki\u1ebfm trong %(docstitle)s", "all functions, classes, terms": "t\u1ea5t c\u1ea3 c\u00e1c h\u00e0m, l\u1edbp, thu\u1eadt ng\u1eef", "Please activate JavaScript to enable the search\n functionality.": "H\u00e3y b\u1eadt JavaScript \u0111\u1ec3 d\u00f9ng t\u00ednh n\u0103ng\nt\u00ecm ki\u1ebfm.", "Indices and tables:": "C\u00e1c ch\u1ec9 m\u1ee5c v\u00e0 b\u1ea3ng bi\u1ec3u:", "lists all sections and subsections": "li\u1ec7t k\u00ea t\u1ea5t c\u1ea3 c\u00e1c m\u1ee5c v\u00e0 m\u1ee5c con", "Index pages by letter": "C\u00e1c trang ch\u1ec9 m\u1ee5c theo ch\u1eef c\u00e1i", "search": "", "Permalink to this definition": "", "Previous topic": "Ch\u1ee7 \u0111\u1ec1 tr\u01b0\u1edbc", "Overview": "T\u1ed5ng quan", "Last updated on %(last_updated)s.": "C\u1eadp nh\u1eadt m\u1edbi nh\u1ea5t v\u00e0o %(last_updated)s.", "Searching": "", "search this documentation": "t\u00ecm ki\u1ebfm trong t\u00e0i li\u1ec7u n\u00e0y", "Automatically generated list of changes in version %(version)s": "", "Full index on one page": "To\u00e0n b\u1ed9 ch\u1ec9 m\u1ee5c tr\u00ean m\u1ed9t trang", "Enter search terms or a module, class or function name.": "Nh\u1eadp thu\u1eadt ng\u1eef, t\u00ean m\u1ed9t m\u00f4-\u0111un, l\u1edbp hay h\u00e0m c\u1ea7n t\u00ecm.", "© <a href=\"%(path)s\">Copyright</a> %(copyright)s.": "© <a href=\"%(path)s\">B\u1ea3n quy\u1ec1n thu\u1ed9c</a> %(copyright)s.", "Library changes": "", "Search Page": "", "Search Results": ""}});
|
BIN
sphinx/locale/vi/LC_MESSAGES/sphinx.mo
Normal file
BIN
sphinx/locale/vi/LC_MESSAGES/sphinx.mo
Normal file
Binary file not shown.
834
sphinx/locale/vi/LC_MESSAGES/sphinx.po
Normal file
834
sphinx/locale/vi/LC_MESSAGES/sphinx.po
Normal file
@@ -0,0 +1,834 @@
|
||||
# Vietnamese translations for Sphinx.
|
||||
# Copyright (C) 2013 ORGANIZATION
|
||||
# This file is distributed under the same license as the Sphinx project.
|
||||
#
|
||||
# Translators:
|
||||
# Hoat Le Van <hoatlevan@gmail.com>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sphinx\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2014-08-11 21:54+0900\n"
|
||||
"PO-Revision-Date: 2014-01-15 08:16+0000\n"
|
||||
"Last-Translator: Hoat Le Van <hoatlevan@gmail.com>\n"
|
||||
"Language-Team: Vietnamese "
|
||||
"(http://www.transifex.com/projects/p/sphinx-1/language/vi/)\n"
|
||||
"Plural-Forms: nplurals=1; plural=0\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 1.3\n"
|
||||
|
||||
#: sphinx/config.py:81
|
||||
#, python-format
|
||||
msgid "%s %s documentation"
|
||||
msgstr "Tài liệu %s %s"
|
||||
|
||||
#: sphinx/environment.py:1550
|
||||
#, python-format
|
||||
msgid "see %s"
|
||||
msgstr "xem %s"
|
||||
|
||||
#: sphinx/environment.py:1553
|
||||
#, python-format
|
||||
msgid "see also %s"
|
||||
msgstr "nên xem %s"
|
||||
|
||||
#: sphinx/environment.py:1610
|
||||
msgid "Symbols"
|
||||
msgstr "Biểu tượng"
|
||||
|
||||
#: sphinx/roles.py:175
|
||||
#, python-format
|
||||
msgid "Python Enhancement Proposals; PEP %s"
|
||||
msgstr "Các đề nghị nâng cao Python; PEP %s"
|
||||
|
||||
#: sphinx/transforms.py:56 sphinx/writers/latex.py:205
|
||||
#: sphinx/writers/manpage.py:68 sphinx/writers/texinfo.py:217
|
||||
#, python-format
|
||||
msgid "%B %d, %Y"
|
||||
msgstr "%d/%m/%Y"
|
||||
|
||||
#: sphinx/builders/changes.py:73
|
||||
msgid "Builtins"
|
||||
msgstr "Dựng sẵn"
|
||||
|
||||
#: sphinx/builders/changes.py:75
|
||||
msgid "Module level"
|
||||
msgstr "Mức mô-đun"
|
||||
|
||||
#: sphinx/builders/html.py:291
|
||||
#, python-format
|
||||
msgid "%b %d, %Y"
|
||||
msgstr "%d/%m/%Y"
|
||||
|
||||
#: sphinx/builders/html.py:310 sphinx/themes/basic/defindex.html:30
|
||||
msgid "General Index"
|
||||
msgstr "Chỉ mục chung"
|
||||
|
||||
#: sphinx/builders/html.py:310
|
||||
msgid "index"
|
||||
msgstr "chỉ mục"
|
||||
|
||||
#: sphinx/builders/html.py:370
|
||||
msgid "next"
|
||||
msgstr "xem tiếp"
|
||||
|
||||
#: sphinx/builders/html.py:379
|
||||
msgid "previous"
|
||||
msgstr "xem lại"
|
||||
|
||||
#: sphinx/builders/latex.py:142 sphinx/builders/texinfo.py:197
|
||||
msgid " (in "
|
||||
msgstr "(trong"
|
||||
|
||||
#: sphinx/directives/other.py:138
|
||||
msgid "Section author: "
|
||||
msgstr "Tác giả mục:"
|
||||
|
||||
#: sphinx/directives/other.py:140
|
||||
msgid "Module author: "
|
||||
msgstr "Tác giả mô-đun:"
|
||||
|
||||
#: sphinx/directives/other.py:142
|
||||
msgid "Code author: "
|
||||
msgstr "Tác giả mã lệnh:"
|
||||
|
||||
#: sphinx/directives/other.py:144
|
||||
msgid "Author: "
|
||||
msgstr "Tác giả:"
|
||||
|
||||
#: sphinx/domains/__init__.py:244
|
||||
#, python-format
|
||||
msgid "%s %s"
|
||||
msgstr "%s %s"
|
||||
|
||||
#: sphinx/domains/c.py:51 sphinx/domains/cpp.py:984 sphinx/domains/python.py:95
|
||||
msgid "Parameters"
|
||||
msgstr "Tham số"
|
||||
|
||||
#: sphinx/domains/c.py:54 sphinx/domains/cpp.py:990
|
||||
#: sphinx/domains/javascript.py:128 sphinx/domains/python.py:107
|
||||
msgid "Returns"
|
||||
msgstr "Trả về"
|
||||
|
||||
#: sphinx/domains/c.py:56 sphinx/domains/javascript.py:130
|
||||
#: sphinx/domains/python.py:109
|
||||
msgid "Return type"
|
||||
msgstr "Kiểu trả về"
|
||||
|
||||
#: sphinx/domains/c.py:146
|
||||
#, python-format
|
||||
msgid "%s (C function)"
|
||||
msgstr "%s (hàm C)"
|
||||
|
||||
#: sphinx/domains/c.py:148
|
||||
#, python-format
|
||||
msgid "%s (C member)"
|
||||
msgstr "%s (thuộc tính C)"
|
||||
|
||||
#: sphinx/domains/c.py:150
|
||||
#, python-format
|
||||
msgid "%s (C macro)"
|
||||
msgstr "%s (macro C)"
|
||||
|
||||
#: sphinx/domains/c.py:152
|
||||
#, python-format
|
||||
msgid "%s (C type)"
|
||||
msgstr "%s (kiểu C)"
|
||||
|
||||
#: sphinx/domains/c.py:154
|
||||
#, python-format
|
||||
msgid "%s (C variable)"
|
||||
msgstr "%s (biến C)"
|
||||
|
||||
#: sphinx/domains/c.py:211 sphinx/domains/cpp.py:1252
|
||||
#: sphinx/domains/javascript.py:164 sphinx/domains/python.py:560
|
||||
msgid "function"
|
||||
msgstr "hàm"
|
||||
|
||||
#: sphinx/domains/c.py:212 sphinx/domains/cpp.py:1253
|
||||
msgid "member"
|
||||
msgstr "thuộc tính"
|
||||
|
||||
#: sphinx/domains/c.py:213
|
||||
msgid "macro"
|
||||
msgstr "macro"
|
||||
|
||||
#: sphinx/domains/c.py:214 sphinx/domains/cpp.py:1254
|
||||
msgid "type"
|
||||
msgstr "kiểu"
|
||||
|
||||
#: sphinx/domains/c.py:215
|
||||
msgid "variable"
|
||||
msgstr "biến"
|
||||
|
||||
#: sphinx/domains/cpp.py:987 sphinx/domains/javascript.py:125
|
||||
msgid "Throws"
|
||||
msgstr "Ném"
|
||||
|
||||
#: sphinx/domains/cpp.py:1083
|
||||
#, python-format
|
||||
msgid "%s (C++ class)"
|
||||
msgstr "%s (lớp C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1106
|
||||
#, python-format
|
||||
msgid "%s (C++ type)"
|
||||
msgstr "%s (kiểu C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1126
|
||||
#, python-format
|
||||
msgid "%s (C++ member)"
|
||||
msgstr "%s (thuộc tính C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1182
|
||||
#, python-format
|
||||
msgid "%s (C++ function)"
|
||||
msgstr "%s (hàm C++)"
|
||||
|
||||
#: sphinx/domains/cpp.py:1251 sphinx/domains/javascript.py:165
|
||||
#: sphinx/domains/python.py:562
|
||||
msgid "class"
|
||||
msgstr "lớp"
|
||||
|
||||
#: sphinx/domains/javascript.py:106 sphinx/domains/python.py:253
|
||||
#, python-format
|
||||
msgid "%s() (built-in function)"
|
||||
msgstr "%s() (hàm dựng sẵn)"
|
||||
|
||||
#: sphinx/domains/javascript.py:107 sphinx/domains/python.py:317
|
||||
#, python-format
|
||||
msgid "%s() (%s method)"
|
||||
msgstr "%s() (phương thức %s)"
|
||||
|
||||
#: sphinx/domains/javascript.py:109
|
||||
#, python-format
|
||||
msgid "%s() (class)"
|
||||
msgstr "%s() (lớp)"
|
||||
|
||||
#: sphinx/domains/javascript.py:111
|
||||
#, python-format
|
||||
msgid "%s (global variable or constant)"
|
||||
msgstr "%s (biến toàn cục hoặc hằng số)"
|
||||
|
||||
#: sphinx/domains/javascript.py:113 sphinx/domains/python.py:355
|
||||
#, python-format
|
||||
msgid "%s (%s attribute)"
|
||||
msgstr "%s (thuộc tính %s)"
|
||||
|
||||
#: sphinx/domains/javascript.py:122
|
||||
msgid "Arguments"
|
||||
msgstr "Đối số"
|
||||
|
||||
#: sphinx/domains/javascript.py:166 sphinx/domains/python.py:561
|
||||
msgid "data"
|
||||
msgstr "dữ liệu"
|
||||
|
||||
#: sphinx/domains/javascript.py:167 sphinx/domains/python.py:567
|
||||
msgid "attribute"
|
||||
msgstr "thuộc tính"
|
||||
|
||||
#: sphinx/domains/python.py:100
|
||||
msgid "Variables"
|
||||
msgstr "Các biến"
|
||||
|
||||
#: sphinx/domains/python.py:104
|
||||
msgid "Raises"
|
||||
msgstr "Đưa ra"
|
||||
|
||||
#: sphinx/domains/python.py:254 sphinx/domains/python.py:311
|
||||
#: sphinx/domains/python.py:323 sphinx/domains/python.py:336
|
||||
#, python-format
|
||||
msgid "%s() (in module %s)"
|
||||
msgstr "%s() (trong mô-đun %s)"
|
||||
|
||||
#: sphinx/domains/python.py:257
|
||||
#, python-format
|
||||
msgid "%s (built-in variable)"
|
||||
msgstr "%s (biến dựng sẵn)"
|
||||
|
||||
#: sphinx/domains/python.py:258 sphinx/domains/python.py:349
|
||||
#, python-format
|
||||
msgid "%s (in module %s)"
|
||||
msgstr "%s (trong mô-đun %s)"
|
||||
|
||||
#: sphinx/domains/python.py:274
|
||||
#, python-format
|
||||
msgid "%s (built-in class)"
|
||||
msgstr "%s (lớp dựng sẵn)"
|
||||
|
||||
#: sphinx/domains/python.py:275
|
||||
#, python-format
|
||||
msgid "%s (class in %s)"
|
||||
msgstr "%s (lớp trong %s)"
|
||||
|
||||
#: sphinx/domains/python.py:315
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s method)"
|
||||
msgstr "%s() (phương thức %s.%s) "
|
||||
|
||||
#: sphinx/domains/python.py:327
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s static method)"
|
||||
msgstr "%s() (phương thức tĩnh %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:330
|
||||
#, python-format
|
||||
msgid "%s() (%s static method)"
|
||||
msgstr "%s() (phương thức tĩnh %s)"
|
||||
|
||||
#: sphinx/domains/python.py:340
|
||||
#, python-format
|
||||
msgid "%s() (%s.%s class method)"
|
||||
msgstr "%s() (phương thức lớp %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:343
|
||||
#, python-format
|
||||
msgid "%s() (%s class method)"
|
||||
msgstr "%s() (phương thức lớp %s)"
|
||||
|
||||
#: sphinx/domains/python.py:353
|
||||
#, python-format
|
||||
msgid "%s (%s.%s attribute)"
|
||||
msgstr "%s (thuộc tính %s.%s)"
|
||||
|
||||
#: sphinx/domains/python.py:434
|
||||
#, python-format
|
||||
msgid "%s (module)"
|
||||
msgstr "%s (mô-đun)"
|
||||
|
||||
#: sphinx/domains/python.py:491
|
||||
msgid "Python Module Index"
|
||||
msgstr "Chỉ Mục Mô-đun Python"
|
||||
|
||||
#: sphinx/domains/python.py:492
|
||||
msgid "modules"
|
||||
msgstr "các mô-đun"
|
||||
|
||||
#: sphinx/domains/python.py:538
|
||||
msgid "Deprecated"
|
||||
msgstr "Sắp loại bỏ"
|
||||
|
||||
#: sphinx/domains/python.py:563 sphinx/locale/__init__.py:179
|
||||
msgid "exception"
|
||||
msgstr "ngoại lệ"
|
||||
|
||||
#: sphinx/domains/python.py:564
|
||||
msgid "method"
|
||||
msgstr "phương thức"
|
||||
|
||||
#: sphinx/domains/python.py:565
|
||||
msgid "class method"
|
||||
msgstr "phương thức lớp"
|
||||
|
||||
#: sphinx/domains/python.py:566
|
||||
msgid "static method"
|
||||
msgstr "phương thức tĩnh"
|
||||
|
||||
#: sphinx/domains/python.py:568 sphinx/locale/__init__.py:175
|
||||
msgid "module"
|
||||
msgstr "mô-đun"
|
||||
|
||||
#: sphinx/domains/python.py:696
|
||||
msgid " (deprecated)"
|
||||
msgstr "(sắp loại bỏ)"
|
||||
|
||||
#: sphinx/domains/rst.py:53
|
||||
#, python-format
|
||||
msgid "%s (directive)"
|
||||
msgstr "%s (chỉ thị)"
|
||||
|
||||
#: sphinx/domains/rst.py:55
|
||||
#, python-format
|
||||
msgid "%s (role)"
|
||||
msgstr "%s (vai trò)"
|
||||
|
||||
#: sphinx/domains/rst.py:104
|
||||
msgid "directive"
|
||||
msgstr "chỉ thị"
|
||||
|
||||
#: sphinx/domains/rst.py:105
|
||||
msgid "role"
|
||||
msgstr "vai trò"
|
||||
|
||||
#: sphinx/domains/std.py:69 sphinx/domains/std.py:85
|
||||
#, python-format
|
||||
msgid "environment variable; %s"
|
||||
msgstr "các biến môi trường; %s"
|
||||
|
||||
#: sphinx/domains/std.py:180
|
||||
#, python-format
|
||||
msgid "%scommand line option; %s"
|
||||
msgstr "tuỳ chọn dòng lệnh%s; %s"
|
||||
|
||||
#: sphinx/domains/std.py:457
|
||||
msgid "glossary term"
|
||||
msgstr "chú giải thuật ngữ"
|
||||
|
||||
#: sphinx/domains/std.py:458
|
||||
msgid "grammar token"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:459
|
||||
msgid "reference label"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:461
|
||||
msgid "environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:462
|
||||
msgid "program option"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:492 sphinx/themes/basic/genindex-single.html:32
|
||||
#: sphinx/themes/basic/genindex-single.html:57
|
||||
#: sphinx/themes/basic/genindex-split.html:11
|
||||
#: sphinx/themes/basic/genindex-split.html:14
|
||||
#: sphinx/themes/basic/genindex.html:32 sphinx/themes/basic/genindex.html:35
|
||||
#: sphinx/themes/basic/genindex.html:68 sphinx/themes/basic/layout.html:134
|
||||
#: sphinx/writers/latex.py:194 sphinx/writers/texinfo.py:475
|
||||
msgid "Index"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:493
|
||||
msgid "Module Index"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/domains/std.py:494 sphinx/themes/basic/defindex.html:25
|
||||
msgid "Search Page"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/autodoc.py:1065
|
||||
#, python-format
|
||||
msgid " Bases: %s"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/autodoc.py:1113
|
||||
#, python-format
|
||||
msgid "alias of :class:`%s`"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/graphviz.py:297 sphinx/ext/graphviz.py:305
|
||||
#, python-format
|
||||
msgid "[graph: %s]"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/graphviz.py:299 sphinx/ext/graphviz.py:307
|
||||
msgid "[graph]"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/intersphinx.py:244
|
||||
#, python-format
|
||||
msgid "(in %s v%s)"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/linkcode.py:66 sphinx/ext/viewcode.py:70
|
||||
msgid "[source]"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/todo.py:42
|
||||
msgid "Todo"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/todo.py:112
|
||||
#, python-format
|
||||
msgid "(The <<original entry>> is located in %s, line %d.)"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/todo.py:121
|
||||
msgid "original entry"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/viewcode.py:117
|
||||
msgid "[docs]"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/viewcode.py:131
|
||||
msgid "Module code"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/viewcode.py:137
|
||||
#, python-format
|
||||
msgid "<h1>Source code for %s</h1>"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/viewcode.py:164
|
||||
msgid "Overview: module code"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/ext/viewcode.py:165
|
||||
msgid "<h1>All modules for which code is available</h1>"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/locale/__init__.py:155
|
||||
msgid "Attention"
|
||||
msgstr "Chú ý"
|
||||
|
||||
#: sphinx/locale/__init__.py:156
|
||||
msgid "Caution"
|
||||
msgstr "Cảnh báo"
|
||||
|
||||
#: sphinx/locale/__init__.py:157
|
||||
msgid "Danger"
|
||||
msgstr "Nguy hiểm"
|
||||
|
||||
#: sphinx/locale/__init__.py:158
|
||||
msgid "Error"
|
||||
msgstr "Lỗi"
|
||||
|
||||
#: sphinx/locale/__init__.py:159
|
||||
msgid "Hint"
|
||||
msgstr "Gợi ý"
|
||||
|
||||
#: sphinx/locale/__init__.py:160
|
||||
msgid "Important"
|
||||
msgstr "Quan trọng"
|
||||
|
||||
#: sphinx/locale/__init__.py:161
|
||||
msgid "Note"
|
||||
msgstr "Ghi chú"
|
||||
|
||||
#: sphinx/locale/__init__.py:162
|
||||
msgid "See also"
|
||||
msgstr "Xem thêm"
|
||||
|
||||
#: sphinx/locale/__init__.py:163
|
||||
msgid "Tip"
|
||||
msgstr "Mẹo"
|
||||
|
||||
#: sphinx/locale/__init__.py:164
|
||||
msgid "Warning"
|
||||
msgstr "Cảnh báo"
|
||||
|
||||
#: sphinx/locale/__init__.py:168
|
||||
#, python-format
|
||||
msgid "New in version %s"
|
||||
msgstr "Mới từ phiên bản %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:169
|
||||
#, python-format
|
||||
msgid "Changed in version %s"
|
||||
msgstr "Thay đổi trong phiên bản %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:170
|
||||
#, python-format
|
||||
msgid "Deprecated since version %s"
|
||||
msgstr "Sắp loại bỏ từ phiên bản %s"
|
||||
|
||||
#: sphinx/locale/__init__.py:176
|
||||
msgid "keyword"
|
||||
msgstr "từ khoá"
|
||||
|
||||
#: sphinx/locale/__init__.py:177
|
||||
msgid "operator"
|
||||
msgstr "toán tử"
|
||||
|
||||
#: sphinx/locale/__init__.py:178
|
||||
msgid "object"
|
||||
msgstr "đối tượng"
|
||||
|
||||
#: sphinx/locale/__init__.py:180
|
||||
msgid "statement"
|
||||
msgstr "câu lệnh"
|
||||
|
||||
#: sphinx/locale/__init__.py:181
|
||||
msgid "built-in function"
|
||||
msgstr "hàm dựng sẵn"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:46 sphinx/themes/basic/globaltoc.html:10
|
||||
#: sphinx/themes/basic/localtoc.html:11 sphinx/themes/scrolls/layout.html:35
|
||||
msgid "Table Of Contents"
|
||||
msgstr "Mục Lục"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:50 sphinx/themes/basic/layout.html:137
|
||||
#: sphinx/themes/basic/search.html:11 sphinx/themes/basic/search.html:23
|
||||
#: sphinx/themes/basic/searchresults.html:10
|
||||
msgid "Search"
|
||||
msgstr "Tìm Kiếm"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:53 sphinx/themes/basic/searchbox.html:15
|
||||
msgid "Go"
|
||||
msgstr "Thực hiện"
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:58 sphinx/themes/basic/searchbox.html:20
|
||||
msgid "Enter search terms or a module, class or function name."
|
||||
msgstr "Nhập thuật ngữ, tên một mô-đun, lớp hay hàm cần tìm."
|
||||
|
||||
#: sphinx/themes/agogo/layout.html:79 sphinx/themes/basic/sourcelink.html:14
|
||||
msgid "Show Source"
|
||||
msgstr "Hiển thị mã nguồn"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:11
|
||||
msgid "Overview"
|
||||
msgstr "Tổng quan"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:15
|
||||
msgid "Welcome! This is"
|
||||
msgstr "Chào mừng! Đây là"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:16
|
||||
msgid "the documentation for"
|
||||
msgstr "tài liệu cho"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:17
|
||||
msgid "last updated"
|
||||
msgstr "cập nhật mới nhất"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:20
|
||||
msgid "Indices and tables:"
|
||||
msgstr "Các chỉ mục và bảng biểu:"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:23
|
||||
msgid "Complete Table of Contents"
|
||||
msgstr "Mục Lục Đầy Đủ"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:24
|
||||
msgid "lists all sections and subsections"
|
||||
msgstr "liệt kê tất cả các mục và mục con"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:26
|
||||
msgid "search this documentation"
|
||||
msgstr "tìm kiếm trong tài liệu này"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:28
|
||||
msgid "Global Module Index"
|
||||
msgstr "Chỉ Mục Mô-đun Toàn Cục"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:29
|
||||
msgid "quick access to all modules"
|
||||
msgstr "truy cập nhanh tất cả các mô-đun"
|
||||
|
||||
#: sphinx/themes/basic/defindex.html:31
|
||||
msgid "all functions, classes, terms"
|
||||
msgstr "tất cả các hàm, lớp, thuật ngữ"
|
||||
|
||||
#: sphinx/themes/basic/genindex-single.html:35
|
||||
#, python-format
|
||||
msgid "Index – %(key)s"
|
||||
msgstr "Chỉ mục – %(key)s"
|
||||
|
||||
#: sphinx/themes/basic/genindex-single.html:63
|
||||
#: sphinx/themes/basic/genindex-split.html:24
|
||||
#: sphinx/themes/basic/genindex-split.html:38
|
||||
#: sphinx/themes/basic/genindex.html:74
|
||||
msgid "Full index on one page"
|
||||
msgstr "Toàn bộ chỉ mục trên một trang"
|
||||
|
||||
#: sphinx/themes/basic/genindex-split.html:16
|
||||
msgid "Index pages by letter"
|
||||
msgstr "Các trang chỉ mục theo chữ cái"
|
||||
|
||||
#: sphinx/themes/basic/genindex-split.html:25
|
||||
msgid "can be huge"
|
||||
msgstr "có thể rất nhiều"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:29
|
||||
msgid "Navigation"
|
||||
msgstr "Điều hướng"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:122
|
||||
#, python-format
|
||||
msgid "Search within %(docstitle)s"
|
||||
msgstr "Tìm kiếm trong %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:131
|
||||
msgid "About these documents"
|
||||
msgstr "Về các tài liệu này"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:140
|
||||
msgid "Copyright"
|
||||
msgstr "Bản quyền"
|
||||
|
||||
#: sphinx/themes/basic/layout.html:189
|
||||
#, python-format
|
||||
msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
|
||||
msgstr "© <a href=\"%(path)s\">Bản quyền thuộc</a> %(copyright)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:191
|
||||
#, python-format
|
||||
msgid "© Copyright %(copyright)s."
|
||||
msgstr "© Bản quyền thuộc %(copyright)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:195
|
||||
#, python-format
|
||||
msgid "Last updated on %(last_updated)s."
|
||||
msgstr "Cập nhật mới nhất vào %(last_updated)s."
|
||||
|
||||
#: sphinx/themes/basic/layout.html:198
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
msgstr ""
|
||||
"Được tạo nhờ <a href=\"http://sphinx-doc.org/\">Sphinx</a> "
|
||||
"%(sphinx_version)s."
|
||||
|
||||
#: sphinx/themes/basic/opensearch.xml:4
|
||||
#, python-format
|
||||
msgid "Search %(docstitle)s"
|
||||
msgstr "Tìm %(docstitle)s"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:11
|
||||
msgid "Previous topic"
|
||||
msgstr "Chủ đề trước"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:13
|
||||
msgid "previous chapter"
|
||||
msgstr "chương trước "
|
||||
|
||||
#: sphinx/themes/basic/relations.html:16
|
||||
msgid "Next topic"
|
||||
msgstr "Chủ đề tiếp"
|
||||
|
||||
#: sphinx/themes/basic/relations.html:18
|
||||
msgid "next chapter"
|
||||
msgstr "chương tiếp"
|
||||
|
||||
#: sphinx/themes/basic/search.html:27
|
||||
msgid ""
|
||||
"Please activate JavaScript to enable the search\n"
|
||||
" functionality."
|
||||
msgstr ""
|
||||
"Hãy bật JavaScript để dùng tính năng\n"
|
||||
"tìm kiếm."
|
||||
|
||||
#: sphinx/themes/basic/search.html:32
|
||||
msgid ""
|
||||
"From here you can search these documents. Enter your search\n"
|
||||
" words into the box below and click \"search\". Note that the search\n"
|
||||
" function will automatically search for all of the words. Pages\n"
|
||||
" containing fewer words won't appear in the result list."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/search.html:39 sphinx/themes/basic/searchresults.html:17
|
||||
msgid "search"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/search.html:43 sphinx/themes/basic/searchresults.html:21
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:281
|
||||
msgid "Search Results"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/search.html:45 sphinx/themes/basic/searchresults.html:23
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:283
|
||||
msgid ""
|
||||
"Your search did not match any documents. Please make sure that all words "
|
||||
"are spelled correctly and that you've selected enough categories."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/searchbox.html:12
|
||||
msgid "Quick search"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/sourcelink.html:11
|
||||
msgid "This Page"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/frameset.html:5
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:12
|
||||
#, python-format
|
||||
msgid "Changes in Version %(version)s — %(docstitle)s"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/rstsource.html:5
|
||||
#, python-format
|
||||
msgid "%(filename)s — %(docstitle)s"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:17
|
||||
#, python-format
|
||||
msgid "Automatically generated list of changes in version %(version)s"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:18
|
||||
msgid "Library changes"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:23
|
||||
msgid "C API changes"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/changes/versionchanges.html:25
|
||||
msgid "Other changes"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:142 sphinx/writers/html.py:542
|
||||
#: sphinx/writers/html.py:548
|
||||
msgid "Permalink to this headline"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:148 sphinx/writers/html.py:108
|
||||
msgid "Permalink to this definition"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/doctools.js:180
|
||||
msgid "Hide Search Matches"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:119
|
||||
msgid "Searching"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:124
|
||||
msgid "Preparing search..."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:285
|
||||
#, python-format
|
||||
msgid "Search finished, found %s page(s) matching the search query."
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/basic/static/searchtools.js_t:337
|
||||
msgid ", in "
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/default/static/sidebar.js_t:83
|
||||
msgid "Expand sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/default/static/sidebar.js_t:96
|
||||
#: sphinx/themes/default/static/sidebar.js_t:124
|
||||
msgid "Collapse sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/themes/haiku/layout.html:24
|
||||
msgid "Contents"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/latex.py:192
|
||||
msgid "Release"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/latex.py:624 sphinx/writers/manpage.py:178
|
||||
#: sphinx/writers/texinfo.py:612
|
||||
msgid "Footnotes"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/latex.py:709
|
||||
msgid "continued from previous page"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/latex.py:715
|
||||
msgid "Continued on next page"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/manpage.py:224 sphinx/writers/text.py:538
|
||||
#, python-format
|
||||
msgid "[image: %s]"
|
||||
msgstr ""
|
||||
|
||||
#: sphinx/writers/manpage.py:225 sphinx/writers/text.py:539
|
||||
msgid "[image]"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Return value: Always NULL."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Return value: New reference."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Return value: Borrowed reference."
|
||||
#~ msgstr ""
|
||||
|
@@ -16,7 +16,7 @@ from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
from distutils.cmd import Command
|
||||
from distutils.errors import DistutilsOptionError
|
||||
from distutils.errors import DistutilsOptionError, DistutilsExecError
|
||||
|
||||
from six import StringIO, string_types
|
||||
|
||||
@@ -159,6 +159,9 @@ class BuildDoc(Command):
|
||||
|
||||
try:
|
||||
app.build(force_all=self.all_files)
|
||||
if app.statuscode:
|
||||
raise DistutilsExecError(
|
||||
'caused by %s builder.' % app.builder.name)
|
||||
except Exception as err:
|
||||
from docutils.utils import SystemMessage
|
||||
if isinstance(err, SystemMessage):
|
||||
|
@@ -109,6 +109,8 @@ Z \string\tymax: \the\tymax^^J}%
|
||||
\global\advance\TY@linewidth-#1\relax}
|
||||
\def\endtabulary{%
|
||||
\gdef\@halignto{}%
|
||||
\let\TY@footnote\footnote%
|
||||
\def\footnote{}% prevent footnotes from doing anything
|
||||
\expandafter\TY@tab\the\toks@
|
||||
\crcr\omit
|
||||
{\xdef\TY@save@row{}%
|
||||
@@ -172,6 +174,7 @@ Z \message{> tymin}%
|
||||
\TY@checkmin
|
||||
\TY@count\z@
|
||||
\let\TY@box\TY@box@v
|
||||
\let\footnote\TY@footnote % restore footnotes
|
||||
{\expandafter\TY@final\the\toks@\endTY@final}%
|
||||
\count@\z@
|
||||
\@tempswatrue
|
||||
|
@@ -238,6 +238,12 @@ class Locale(Transform):
|
||||
self.document.ids.pop(_id, None)
|
||||
|
||||
# re-entry with new named section node.
|
||||
#
|
||||
# Note: msgnode that is a second parameter of the
|
||||
# `note_implicit_target` is not necessary here because
|
||||
# section_node has been noted previously on rst parsing by
|
||||
# `docutils.parsers.rst.states.RSTState.new_subsection()`
|
||||
# and already has `system_message` if needed.
|
||||
self.document.note_implicit_target(section_node)
|
||||
|
||||
# replace target's refname to new target name
|
||||
|
@@ -34,6 +34,38 @@ class WarningStream(object):
|
||||
explicit_title_re = re.compile(r'^(.+?)\s*(?<!\x00)<(.*?)>$', re.DOTALL)
|
||||
caption_ref_re = explicit_title_re # b/w compat alias
|
||||
|
||||
|
||||
def apply_source_workaround(node):
|
||||
if node.source:
|
||||
return
|
||||
|
||||
# workaround: nodes.term doesn't have source, line and rawsource
|
||||
# (fixed in Docutils r7495)
|
||||
if isinstance(node, nodes.term):
|
||||
definition_list_item = node.parent
|
||||
if definition_list_item.line is not None:
|
||||
node.source = definition_list_item.source
|
||||
node.line = definition_list_item.line - 1
|
||||
node.rawsource = definition_list_item. \
|
||||
rawsource.split("\n", 2)[0]
|
||||
return
|
||||
|
||||
# workaround: docutils-0.10.0 or older's nodes.caption for nodes.figure
|
||||
# and nodes.title for nodes.admonition doesn't have source, line.
|
||||
# this issue was filed to Docutils tracker:
|
||||
# sf.net/tracker/?func=detail&aid=3599485&group_id=38414&atid=422032
|
||||
# sourceforge.net/p/docutils/patches/108/
|
||||
if (isinstance(node, (
|
||||
nodes.caption,
|
||||
nodes.title,
|
||||
nodes.rubric,
|
||||
nodes.line,
|
||||
))):
|
||||
node.source = find_source_node(node)
|
||||
node.line = 0 # need fix docutils to get `node.line`
|
||||
return
|
||||
|
||||
|
||||
IGNORED_NODES = (
|
||||
nodes.Invisible,
|
||||
nodes.Inline,
|
||||
@@ -44,24 +76,7 @@ IGNORED_NODES = (
|
||||
def extract_messages(doctree):
|
||||
"""Extract translatable messages from a document tree."""
|
||||
for node in doctree.traverse(nodes.TextElement):
|
||||
# workaround: nodes.term doesn't have source, line and rawsource
|
||||
# (fixed in Docutils r7495)
|
||||
if isinstance(node, nodes.term) and not node.source:
|
||||
definition_list_item = node.parent
|
||||
if definition_list_item.line is not None:
|
||||
node.source = definition_list_item.source
|
||||
node.line = definition_list_item.line - 1
|
||||
node.rawsource = definition_list_item.\
|
||||
rawsource.split("\n", 2)[0]
|
||||
# workaround: docutils-0.10.0 or older's nodes.caption for nodes.figure
|
||||
# and nodes.title for nodes.admonition doesn't have source, line.
|
||||
# this issue was filed to Docutils tracker:
|
||||
# sf.net/tracker/?func=detail&aid=3599485&group_id=38414&atid=422032
|
||||
# sourceforge.net/p/docutils/patches/108/
|
||||
if isinstance(node, (nodes.caption, nodes.title, nodes.rubric)) \
|
||||
and not node.source:
|
||||
node.source = find_source_node(node)
|
||||
node.line = 0 #need fix docutils to get `node.line`
|
||||
apply_source_workaround(node)
|
||||
|
||||
if not node.source:
|
||||
continue # built-in message
|
||||
|
@@ -7,6 +7,7 @@
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
|
||||
def is_commentable(node):
|
||||
#return node.__class__.__name__ in ('paragraph', 'literal_block')
|
||||
return node.__class__.__name__ == 'paragraph'
|
||||
|
@@ -11,7 +11,7 @@
|
||||
import os
|
||||
import re
|
||||
import textwrap
|
||||
from itertools import groupby
|
||||
from itertools import groupby, izip_longest
|
||||
|
||||
from docutils import nodes, writers
|
||||
from docutils.utils import column_width
|
||||
@@ -504,7 +504,7 @@ class TextTranslator(nodes.NodeVisitor):
|
||||
self.add_text(''.join(out) + self.nl)
|
||||
|
||||
def writerow(row):
|
||||
lines = zip(*row)
|
||||
lines = izip_longest(*row)
|
||||
for line in lines:
|
||||
out = ['|']
|
||||
for i, cell in enumerate(line):
|
||||
|
@@ -23,7 +23,7 @@ class WebSupportTranslator(HTMLTranslator):
|
||||
self.comment_class = 'sphinx-has-comment'
|
||||
|
||||
def dispatch_visit(self, node):
|
||||
if is_commentable(node):
|
||||
if is_commentable(node) and hasattr(node, 'uid'):
|
||||
self.handle_visit_commentable(node)
|
||||
HTMLTranslator.dispatch_visit(self, node)
|
||||
|
||||
|
@@ -139,3 +139,29 @@ def test_nonascii_maxwidth(app):
|
||||
lines = [line.strip() for line in result.splitlines() if line.strip()]
|
||||
line_widths = [column_width(line) for line in lines]
|
||||
assert max(line_widths) < MAXWIDTH
|
||||
|
||||
|
||||
@with_text_app()
|
||||
def test_table_with_empty_cell(app):
|
||||
contents = (u"""
|
||||
+-----+-----+
|
||||
| XXX | XXX |
|
||||
+-----+-----+
|
||||
| | XXX |
|
||||
+-----+-----+
|
||||
| XXX | |
|
||||
+-----+-----+
|
||||
""")
|
||||
|
||||
(app.srcdir / 'contents.rst').write_text(contents, encoding='utf-8')
|
||||
app.builder.build_all()
|
||||
result = (app.outdir / 'contents.txt').text(encoding='utf-8')
|
||||
|
||||
lines = [line.strip() for line in result.splitlines() if line.strip()]
|
||||
assert lines[0] == "+-------+-------+"
|
||||
assert lines[1] == "| XXX | XXX |"
|
||||
assert lines[2] == "+-------+-------+"
|
||||
assert lines[3] == "| | XXX |"
|
||||
assert lines[4] == "+-------+-------+"
|
||||
assert lines[5] == "| XXX | |"
|
||||
assert lines[6] == "+-------+-------+"
|
||||
|
@@ -47,7 +47,7 @@ def with_setup_command(root, *args, **kwds):
|
||||
env=dict(os.environ, PYTHONPATH=pythonpath),
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
func(pkgrootdir, proc, *args, **kwds)
|
||||
func(pkgrootdir, proc)
|
||||
finally:
|
||||
tempdir.rmtree(ignore_errors=True)
|
||||
os.chdir(cwd)
|
||||
@@ -92,3 +92,14 @@ def test_build_sphinx_with_nonascii_path(pkgroot, proc):
|
||||
print(out)
|
||||
print(err)
|
||||
assert proc.returncode == 0
|
||||
|
||||
|
||||
@with_setup_command(root, '-b', 'linkcheck')
|
||||
def test_build_sphinx_return_nonzero_status(pkgroot, proc):
|
||||
srcdir = (pkgroot / 'doc')
|
||||
(srcdir / 'contents.txt').write_text(
|
||||
'http://localhost.unexistentdomain/index.html')
|
||||
out, err = proc.communicate()
|
||||
print(out)
|
||||
print(err)
|
||||
assert proc.returncode != 0, 'expect non-zero status for setup.py'
|
||||
|
121
tests/test_util_nodes.py
Normal file
121
tests/test_util_nodes.py
Normal file
@@ -0,0 +1,121 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
test_util_nodes
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Tests uti.nodes functions.
|
||||
|
||||
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
from textwrap import dedent
|
||||
|
||||
from docutils import nodes
|
||||
from docutils.parsers import rst
|
||||
from docutils.utils import new_document
|
||||
from docutils import frontend
|
||||
|
||||
from sphinx.util.nodes import extract_messages
|
||||
|
||||
|
||||
def _get_doctree(text):
|
||||
settings = frontend.OptionParser(
|
||||
components=(rst.Parser,)).get_default_values()
|
||||
document = new_document('dummy.txt', settings)
|
||||
rst.Parser().parse(text, document)
|
||||
return document
|
||||
|
||||
|
||||
def assert_node_count(messages, node_type, expect_count):
|
||||
count = 0
|
||||
node_list = [node for node, msg in messages]
|
||||
for node in node_list:
|
||||
if isinstance(node, node_type):
|
||||
count += 1
|
||||
|
||||
assert count == expect_count, (
|
||||
"Count of %r in the %r is %d instead of %d"
|
||||
% (node_type, node_list, count, expect_count))
|
||||
|
||||
|
||||
def test_extract_messages():
|
||||
text = dedent(
|
||||
"""
|
||||
.. admonition:: admonition title
|
||||
|
||||
admonition body
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.title, 1,
|
||||
)
|
||||
|
||||
text = dedent(
|
||||
"""
|
||||
.. figure:: foo.jpg
|
||||
|
||||
this is title
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.caption, 1,
|
||||
)
|
||||
|
||||
text = dedent(
|
||||
"""
|
||||
.. rubric:: spam
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.rubric, 1,
|
||||
)
|
||||
|
||||
|
||||
text = dedent(
|
||||
"""
|
||||
| spam
|
||||
| egg
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.line, 2,
|
||||
)
|
||||
|
||||
|
||||
text = dedent(
|
||||
"""
|
||||
section
|
||||
=======
|
||||
|
||||
+----------------+
|
||||
| | **Title 1** |
|
||||
| | Message 1 |
|
||||
+----------------+
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.line, 2,
|
||||
)
|
||||
|
||||
|
||||
text = dedent(
|
||||
"""
|
||||
* | **Title 1**
|
||||
| Message 1
|
||||
"""
|
||||
)
|
||||
yield (
|
||||
assert_node_count,
|
||||
extract_messages(_get_doctree(text)),
|
||||
nodes.line, 2,
|
||||
)
|
Reference in New Issue
Block a user