diff options
| author | Rémi Verschelde | 2015-12-28 02:13:05 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2015-12-28 02:13:05 +0100 |
| commit | d4993b74fc715d294ca0a77b335db3782d4bdcd6 (patch) | |
| tree | f8b95f71ecb329a2fe192b1f994634646ed63d9d /core/translation.cpp | |
| parent | fe46b2ac0c56b58fd9651d283cf1ec802e613646 (diff) | |
| download | godot-d4993b74fc715d294ca0a77b335db3782d4bdcd6.tar.gz godot-d4993b74fc715d294ca0a77b335db3782d4bdcd6.tar.zst godot-d4993b74fc715d294ca0a77b335db3782d4bdcd6.zip | |
Diffstat (limited to 'core/translation.cpp')
| -rw-r--r-- | core/translation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/translation.cpp b/core/translation.cpp index 8247cd120..bab6cde96 100644 --- a/core/translation.cpp +++ b/core/translation.cpp @@ -670,10 +670,10 @@ void TranslationServer::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_locale","locale"),&TranslationServer::set_locale); ObjectTypeDB::bind_method(_MD("get_locale"),&TranslationServer::get_locale); - ObjectTypeDB::bind_method(_MD("translate"),&TranslationServer::translate); + ObjectTypeDB::bind_method(_MD("translate","message"),&TranslationServer::translate); - ObjectTypeDB::bind_method(_MD("add_translation"),&TranslationServer::add_translation); - ObjectTypeDB::bind_method(_MD("remove_translation"),&TranslationServer::remove_translation); + ObjectTypeDB::bind_method(_MD("add_translation","translation:Translation"),&TranslationServer::add_translation); + ObjectTypeDB::bind_method(_MD("remove_translation","translation:Translation"),&TranslationServer::remove_translation); ObjectTypeDB::bind_method(_MD("clear"),&TranslationServer::clear); |
