Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-09-29 03:08:00 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-09-29 03:11:06 +0300
commitb150071ece73735d814dc369500be27db03f1005 (patch)
tree4741e291a33786e2a1da7248a9c13cc2783d52c2 /doc/python_api
parent4d7b664e1a4fa024a63f694847003daf3cd349f7 (diff)
Cleanup: Python API Docs: Text formating
Diffstat (limited to 'doc/python_api')
-rw-r--r--doc/python_api/examples/bpy.app.translations.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/python_api/examples/bpy.app.translations.py b/doc/python_api/examples/bpy.app.translations.py
index 866ad3234ff..ed975f68a4c 100644
--- a/doc/python_api/examples/bpy.app.translations.py
+++ b/doc/python_api/examples/bpy.app.translations.py
@@ -1,6 +1,6 @@
"""
-Intro
------
+Introduction
+------------
.. warning::
@@ -9,9 +9,8 @@ Intro
and the :func:`register`/:func:`unregister` functions! The :func:`pgettext` family of functions
should only be used in rare, specific cases (like e.g. complex "composited" UI strings...).
-| To add translations to your python script, you must define a dictionary formatted like that:
-| ``{locale: {msg_key: msg_translation, ...}, ...}``
-| where:
+To add translations to your python script, you must define a dictionary formatted like that:
+``{locale: {msg_key: msg_translation, ...}, ...}`` where:
- locale is either a lang iso code (e.g. ``fr``), a lang+country code (e.g. ``pt_BR``),
a lang+variant code (e.g. ``sr@latin``), or a full code (e.g. ``uz_UZ@cyrilic``).