diff options
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Control.xml | 3 | ||||
-rw-r--r-- | doc/classes/Window.xml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 5c0856cb6a..4753b34efb 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -1081,6 +1081,9 @@ <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"> + Toggles if any text should automatically change to its translated version depending on the current locale. + </member> <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode" default="0"> The focus access mode for the control (None, Click or All). Only one Control can be focused at the same time, and it will receive keyboard signals. </member> diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 390ebfabba..7b21d99d10 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -323,6 +323,9 @@ <members> <member name="always_on_top" type="bool" setter="set_flag" getter="get_flag" default="false"> </member> + <member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" default="true"> + Toggles if any text should automatically change to its translated version depending on the current locale. + </member> <member name="borderless" type="bool" setter="set_flag" getter="get_flag" default="false"> </member> <member name="content_scale_aspect" type="int" setter="set_content_scale_aspect" getter="get_content_scale_aspect" enum="Window.ContentScaleAspect" default="0"> |