mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #84906 from /fix-some-defvals
This commit is contained in:
@@ -1014,7 +1014,7 @@
|
||||
<method name="tr" qualifiers="const">
|
||||
<return type="String" />
|
||||
<param index="0" name="message" type="StringName" />
|
||||
<param index="1" name="context" type="StringName" default="""" />
|
||||
<param index="1" name="context" type="StringName" default="&""" />
|
||||
<description>
|
||||
Translates a [param message], using the translation catalogs configured in the Project Settings. Further [param context] can be specified to help with the translation.
|
||||
If [method can_translate_messages] is [code]false[/code], or no translation is available, this method returns the [param message] without changes. See [method set_message_translation].
|
||||
@@ -1026,7 +1026,7 @@
|
||||
<param index="0" name="message" type="StringName" />
|
||||
<param index="1" name="plural_message" type="StringName" />
|
||||
<param index="2" name="n" type="int" />
|
||||
<param index="3" name="context" type="StringName" default="""" />
|
||||
<param index="3" name="context" type="StringName" default="&""" />
|
||||
<description>
|
||||
Translates a [param message] or [param plural_message], using the translation catalogs configured in the Project Settings. Further [param context] can be specified to help with the translation.
|
||||
If [method can_translate_messages] is [code]false[/code], or no translation is available, this method returns [param message] or [param plural_message], without changes. See [method set_message_translation].
|
||||
|
||||
Reference in New Issue
Block a user