summaryrefslogtreecommitdiff
path: root/doc/classes/TranslationServer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/TranslationServer.xml')
-rw-r--r--doc/classes/TranslationServer.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/classes/TranslationServer.xml b/doc/classes/TranslationServer.xml
index 05774635b8..f43d3bb24e 100644
--- a/doc/classes/TranslationServer.xml
+++ b/doc/classes/TranslationServer.xml
@@ -7,8 +7,8 @@
Server that manages all translations. Translations can be set to it and removed from it.
</description>
<tutorials>
- <link>https://docs.godotengine.org/en/stable/tutorials/i18n/internationalizing_games.html</link>
- <link>https://docs.godotengine.org/en/stable/tutorials/i18n/locales.html</link>
+ <link>https://docs.godotengine.org/en/latest/tutorials/i18n/internationalizing_games.html</link>
+ <link>https://docs.godotengine.org/en/latest/tutorials/i18n/locales.html</link>
</tutorials>
<methods>
<method name="add_translation">
@@ -31,6 +31,7 @@
<return type="Array">
</return>
<description>
+ Returns an Array of all loaded locales of the game.
</description>
</method>
<method name="get_locale" qualifiers="const">
@@ -46,7 +47,7 @@
<argument index="0" name="locale" type="String">
</argument>
<description>
- Returns a locale's language and its variant (e.g. "en_US" would return "English (United States)").
+ Returns a locale's language and its variant (e.g. [code]"en_US"[/code] would return [code]"English (United States)"[/code]).
</description>
</method>
<method name="remove_translation">