Fix Season localization case to include number placeholder - #134
Open
arnnalddo wants to merge 1 commit into
Open
Fix Season localization case to include number placeholder#134arnnalddo wants to merge 1 commit into
arnnalddo wants to merge 1 commit into
Conversation
Contributor
|
But it's correctly translated in the Italian localisation, so while I guess it should include a #, I don't see how it affects the localisation. Plus changing that key will break existing settings. |
Contributor
Author
|
I noticed this while working on the Brazilian Portuguese translation and updating Latin American Spanish on Transifex. I saw that several strings were missing, so I figured one of those removed translations might have caused the issue with missing localizations in the UI. On my end, updating the mapping fixed the preview. I didn’t edit the localization files directly since you mentioned translations should only be done via Transifex, which is why I looked into modifying the code mapping instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
seasoncase inMetadataResult.swiftwas mapping to"{Season}", missing the number placeholder#. This caused the UI to display incomplete localized strings for season numbers.This updates the mapping to
"{Season #}"for consistency with the MP42Foundation fix.Depends on: SublerApp/MP42Foundation#3
See attached screenshots for the issue before the fix: