[Bf-blender-cvs] [b150071ece7] master: Cleanup: Python API Docs: Text formating

Aaron Carlisle noreply at git.blender.org
Tue Sep 29 02:16:09 CEST 2020


Commit: b150071ece73735d814dc369500be27db03f1005
Author: Aaron Carlisle
Date:   Mon Sep 28 20:08:00 2020 -0400
Branches: master
https://developer.blender.org/rBb150071ece73735d814dc369500be27db03f1005

Cleanup: Python API Docs: Text formating

===================================================================

M	doc/python_api/examples/bpy.app.translations.py

===================================================================

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 at latin``), or a full code (e.g. ``uz_UZ at cyrilic``).



More information about the Bf-blender-cvs mailing list