Merge pull request #2097 from corrigentia/patch-96

Fix punctuation in internationalizing_games
This commit is contained in:
Rémi Verschelde
2019-01-08 13:13:28 +01:00
committed by GitHub

View File

@@ -51,10 +51,10 @@ locale.
Converting keys to text
-----------------------
Some controls such as :ref:`Button <class_Button>` and :ref:`Label <class_Label>`
Some controls, such as :ref:`Button <class_Button>` and :ref:`Label <class_Label>`,
will automatically fetch a translation if their text matches a translation key.
For example, if a label's text is "MAIN_SCREEN_GREETING1" and that key exists
in the current translation, then the text will be automatically translated.
in the current translation, then the text will automatically be translated.
In code, the :ref:`Object.tr() <class_Object_method_tr>`
function can be used. This will just look up the text in the