mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
doc: Fix typo in sphinx.locale.get_translation docstring
This commit is contained in:
@@ -214,7 +214,7 @@ def get_translation(catalog: str, namespace: str = 'general') -> Callable:
|
||||
|
||||
|
||||
def setup(app):
|
||||
package_dir = path.abspath(path.dirname(__file__))
|
||||
package_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
locale_dir = os.path.join(package_dir, 'locales')
|
||||
app.add_message_catalog(MESSAGE_CATALOG_NAME, locale_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user