Repository navigation
Mac launcher: VK's fourteen new languages, and the first start in the Mac's language - #40
Merged
Merged
Conversation
… Mac's language Czech, Danish, Hungarian, Norwegian, Romanian, Swedish, Filipino, Malay, Simplified and Traditional Chinese, Korean, Khmer, Lao and Amharic, carried over from AnyPS5-Desktop main (AnyTogether/AnyPS5-Desktop#49) by import-port-translations.py. They hold the texts whose English reads the same in both launchers. The script now takes language codes, so it wrote only these fourteen. It also treats English that differs in capitals only as the same text. The first start picks the Mac's language with the same rules as the Windows/Linux launcher. Chinese follows its script or region, nb and nn read no.json, and tl reads fil.json.
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.
What this adds
am,cs,da,fil,hu,km,ko,lo,ms,no,ro,sv,zh-Hansandzh-Hantintools/macos/launcher/l10n.scripts/import-port-translations.py.The import script
The first start
LanguageFiles.matchpicks the first ofLocale.preferredLanguagesthe launcher has a file for.Language.matchLocale.Fonts
Checks
swift test --filter "LanguageCheckTests|LanguageFilesTests": 20 tests, 0 failures.swift test: 1079 tests, 14 skipped, 0 failures.mobile/tool/check_translations.dartis unchanged. It has no full-stop rule, so the Khmer change does not apply there.