mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5980 from tk0miya/doc_get_translation
doc: Update docstring of get_translation()
This commit is contained in:
commit
eef5a4a954
@ -266,7 +266,9 @@ def get_translation(catalog, namespace='general'):
|
||||
|
||||
With this code, sphinx searches a message catalog from
|
||||
``${package_dir}/locales/${language}/LC_MESSAGES/${__name__}.mo``
|
||||
The :confval:`language` is used for the searching.
|
||||
(ex. ``sphinxcontrib.applehelp.mo``). Of course, you can use
|
||||
arbitrary catalog name instead of ``__name__``. The
|
||||
:confval:`language` is used for the searching.
|
||||
|
||||
.. versionadded:: 1.8
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user