Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project setting for root node auto translate mode #90730

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

timothyqiu
Copy link
Member

This PR adds internationalization/rendering/root_node_auto_translate.

Because the root node can't be AUTO_TRANSLATE_MODE_INHERIT, this setting is just a boolean.

@timothyqiu timothyqiu added this to the 4.3 milestone Apr 16, 2024
@timothyqiu timothyqiu requested review from a team as code owners April 16, 2024 03:05
@@ -1436,6 +1436,10 @@
<member name="internationalization/rendering/force_right_to_left_layout_direction" type="bool" setter="" getter="" default="false">
Force layout direction and text writing direction to RTL for all controls.
</member>
<member name="internationalization/rendering/root_node_auto_translate" type="bool" setter="" getter="" default="true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A "rendering" subsection for this is a bit weird, but it's already what's used for RTL so I agree it's fine to reuse it. Naming things is so hard :D

@akien-mga akien-mga merged commit dc8e82b into godotengine:master Apr 16, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the root-auto-translate branch April 16, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants