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

Only try to localize level properties if should_localize? #22367

Merged
merged 2 commits into from May 14, 2018

Conversation

Hamms
Copy link
Contributor

@Hamms Hamms commented May 11, 2018

Each individual localized_ method also checks should_localize for
safety, but if we're in english there's no reason not to just check once
before trying each one individually

@Hamms Hamms requested a review from balderdash May 11, 2018 22:21
Hamms added a commit that referenced this pull request May 11, 2018
Depends on #22367 and
#22368, and also on
doing a crowdin sync with the latter enabled.

TODO: tests, validation of resulting XML format
@Hamms Hamms added the i18n label May 11, 2018
Hamms added 2 commits May 14, 2018 11:18
Each individual `localized_` method also checks should_localize for
safety, but if we're in english there's no reason not to just check once
before trying each one individually
@Hamms Hamms force-pushed the only-try-to-localized-if-non-english branch from a12ef58 to 6ddd6e1 Compare May 14, 2018 18:23
@Hamms Hamms merged commit ff8f08f into staging May 14, 2018
@Hamms Hamms deleted the only-try-to-localized-if-non-english branch May 14, 2018 22:01
@joshlory joshlory mentioned this pull request May 22, 2018
Hamms added a commit that referenced this pull request May 31, 2018
Depends on #22367 and
#22368, and also on
doing a crowdin sync with the latter enabled.

TODO: tests, validation of resulting XML format
Hamms added a commit that referenced this pull request Jun 7, 2018
Depends on #22367 and
#22368, and also on
doing a crowdin sync with the latter enabled.

TODO: tests, validation of resulting XML format
Hamms added a commit that referenced this pull request Jun 11, 2018
Depends on #22367 and
#22368, and also on
doing a crowdin sync with the latter enabled.

TODO: tests, validation of resulting XML format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants