Skip to content

Fix i18n for array property custom add button text #106579

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timothyqiu
Copy link
Member

Using RTR() in _bind_methods() won't work because the editor loads its translation at a later stage.

Translating the text here is not ideal, as our goal is to support switching the editor's language at runtime.

Since this text is an editor hint, I think it makes sense to use TTRC().

@timothyqiu timothyqiu requested a review from a team as a code owner May 19, 2025 02:04
@AThousandShips AThousandShips added this to the 4.5 milestone May 19, 2025
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