diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 09bc4b3412c..a0c76a3ad6c 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -937,7 +937,7 @@ Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top offset updates when the node moves or changes size. You can use one of the [enum Anchor] constants for convenience. - + Toggles if any text should automatically change to its translated version depending on the current locale. diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index f1a8c2f6ae6..d430fe9bfcf 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -3549,7 +3549,7 @@ void Control::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::BOOL, "localize_numeral_system"), "set_localize_numeral_system", "is_localizing_numeral_system"); #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("Tooltip", "tooltip_");