Skip to content

Commit 48f1e5b

Browse files
committed
Don't store deprecated auto-translate property
1 parent d007340 commit 48f1e5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/classes/Control.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@
937937
<member name="anchor_top" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
938938
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.
939939
</member>
940-
<member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" default="true" deprecated="Use [member Node.auto_translate_mode] instead.">
940+
<member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" deprecated="Use [member Node.auto_translate_mode] instead.">
941941
Toggles if any text should automatically change to its translated version depending on the current locale.
942942
</member>
943943
<member name="clip_contents" type="bool" setter="set_clip_contents" getter="is_clipping_contents" default="false">

scene/gui/control.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3549,7 +3549,7 @@ void Control::_bind_methods() {
35493549
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "localize_numeral_system"), "set_localize_numeral_system", "is_localizing_numeral_system");
35503550

35513551
#ifndef DISABLE_DEPRECATED
3552-
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "auto_translate", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR), "set_auto_translate", "is_auto_translating");
3552+
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "auto_translate", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NONE), "set_auto_translate", "is_auto_translating");
35533553
#endif
35543554

35553555
ADD_GROUP("Tooltip", "tooltip_");

0 commit comments

Comments
 (0)