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

Un-hardcode toolbelt localization #2727

Merged
merged 1 commit into from
Feb 16, 2025
Merged

Un-hardcode toolbelt localization #2727

merged 1 commit into from
Feb 16, 2025

Conversation

M-W-K
Copy link
Contributor

@M-W-K M-W-K commented Feb 16, 2025

What

Splits the toolbelt name localization key into two localization keys, one for when no tool is selected and one for when a tool is selected and displayed in the name. This replaces the previous implementation that hardcoded the addition of parenthesis, so that other languages can tweak the exact syntax of the localization as necessary.

Outcome

No translation problems down the line (hopefully!)

@M-W-K M-W-K requested a review from a team as a code owner February 16, 2025 05:29
@M-W-K M-W-K added type: refactor Suggestion to refactor a section of code ignore changelog PR should not be added to the changelog. labels Feb 16, 2025
@M-W-K M-W-K merged commit 102e4e0 into master Feb 16, 2025
4 checks passed
@M-W-K M-W-K deleted the toolbelt-localization branch February 16, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore changelog PR should not be added to the changelog. type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants