diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index dd8d78180db..c1c744a0745 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -581,7 +581,7 @@ If [code]true[/code], the window will be on top of all other windows. Does not work if [member transient] is enabled. - + Toggles if any text should automatically change to its translated version depending on the current locale. diff --git a/scene/main/window.cpp b/scene/main/window.cpp index 696e09eb1f6..c30f2e4485b 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -3271,7 +3271,7 @@ void Window::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "content_scale_factor", PROPERTY_HINT_RANGE, "0.5,8.0,0.01"), "set_content_scale_factor", "get_content_scale_factor"); #ifndef DISABLE_DEPRECATED - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "auto_translate", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR), "set_auto_translate", "is_auto_translating"); + ADD_PROPERTY(PropertyInfo(Variant::BOOL, "auto_translate", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NONE), "set_auto_translate", "is_auto_translating"); #endif ADD_GROUP("Theme", "theme_");