Don't store deprecated auto-translate property
This commit is contained in:
parent
d00734053f
commit
48f1e5b561
|
@ -937,7 +937,7 @@
|
|||
<member name="anchor_top" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
|
||||
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.
|
||||
</member>
|
||||
<member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" default="true" deprecated="Use [member Node.auto_translate_mode] instead.">
|
||||
<member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" deprecated="Use [member Node.auto_translate_mode] instead.">
|
||||
Toggles if any text should automatically change to its translated version depending on the current locale.
|
||||
</member>
|
||||
<member name="clip_contents" type="bool" setter="set_clip_contents" getter="is_clipping_contents" default="false">
|
||||
|
|
|
@ -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_");
|
||||
|
|
Loading…
Reference in New Issue