summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorO01eg <o01eg@yandex.ru>2021-09-29 14:18:45 +0300
committerO01eg <o01eg@yandex.ru>2021-09-29 14:19:14 +0300
commit9302b6547a4779de5f8f81817482493cad6fa7c3 (patch)
treec29960a66e9749340a6166cb6bef59d3b282d98b /doc
parente2e1a5099c80332b8722e61f257cbfcbe8e0e2db (diff)
Implement override of get_message and get_plural_message
Diffstat (limited to 'doc')
-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" />