You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user