summaryrefslogtreecommitdiff
path: root/doc/classes/Translation.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-29 14:09:09 +0200
committerGitHub <noreply@github.com>2021-09-29 14:09:09 +0200
commit3db672c89ebc5b75633a144360dc95e794647e8a (patch)
treecd75cdb3621fdf5b24f09c5a14f43c34ceebdd99 /doc/classes/Translation.xml
parent4c1d2e935061a99884fffc6a84f8fbf279387691 (diff)
parent9302b6547a4779de5f8f81817482493cad6fa7c3 (diff)
Merge pull request #44670 from o01eg/test-translations
Diffstat (limited to 'doc/classes/Translation.xml')
-rw-r--r--doc/classes/Translation.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/Translation.xml b/doc/classes/Translation.xml
index c27d6f5667..2a0695d42e 100644
--- a/doc/classes/Translation.xml
+++ b/doc/classes/Translation.xml
@@ -11,6 +11,24 @@
<link title="Locales">https://docs.godotengine.org/en/latest/tutorials/i18n/locales.html</link>
</tutorials>
<methods>
+ <method name="_get_message" qualifiers="virtual const">
+ <return type="StringName" />
+ <argument index="0" name="src_message" type="StringName" />
+ <argument index="1" name="context" type="StringName" />
+ <description>
+ Virtual method to override [method get_message].
+ </description>
+ </method>
+ <method name="_get_plural_message" qualifiers="virtual const">
+ <return type="StringName" />
+ <argument index="0" name="src_message" type="StringName" />
+ <argument index="1" name="src_plural_message" type="StringName" />
+ <argument index="2" name="n" type="int" />
+ <argument index="3" name="context" type="StringName" />
+ <description>
+ Virtual method to override [method get_plural_message].
+ </description>
+ </method>
<method name="add_message">
<return type="void" />
<argument index="0" name="src_message" type="StringName" />