summaryrefslogtreecommitdiff
path: root/core/string
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-08 15:18:26 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-08 16:36:01 +0300
commit1362bc22bd636190dfaf6876fbec86e2cd7a34b7 (patch)
tree5d7100b67adca69e3cf5b451839f051499395404 /core/string
parentbeceba85da9d53dad33c1a0d3f59c24e966b1c35 (diff)
Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript
Diffstat (limited to 'core/string')
-rw-r--r--core/string/translation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/translation.cpp b/core/string/translation.cpp
index cba2f09022..b83b7c786f 100644
--- a/core/string/translation.cpp
+++ b/core/string/translation.cpp
@@ -141,7 +141,7 @@ void Translation::_bind_methods() {
ClassDB::bind_method(D_METHOD("erase_message", "src_message", "context"), &Translation::erase_message, DEFVAL(""));
ClassDB::bind_method(D_METHOD("get_message_list"), &Translation::_get_message_list);
ClassDB::bind_method(D_METHOD("get_message_count"), &Translation::get_message_count);
- ClassDB::bind_method(D_METHOD("_set_messages"), &Translation::_set_messages);
+ ClassDB::bind_method(D_METHOD("_set_messages", "messages"), &Translation::_set_messages);
ClassDB::bind_method(D_METHOD("_get_messages"), &Translation::_get_messages);
GDVIRTUAL_BIND(_get_plural_message, "src_message", "src_plural_message", "n", "context");