Repository navigation
feat(i18n): 新增韩语(ko-KR)界面语言支持 - #259
Open
Lisianthus9903 wants to merge 3 commits into
Open
Lisianthus9903 wants to merge 3 commits into
Lisianthus9903 wants to merge 3 commits into
Conversation
- Register ko-KR in LanguageHelper (supported keys, legacy index 4, display name, interface language code normalization for ko/ko-kr/ko_kr) - Add SukiUI ko-kr locale dictionary and map it in SukiTheme
All 786 keys translated. Tutorial texts quote the actual UI labels verbatim and terminology is unified (profile, capture mode, launch, download source).
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.
概述
新增韩语(한국어, ko-KR)界面语言。实现方式与现有的日语(ja-JP)一致,不改动其他语言的行为。
改动内容
MFAAvalonia/Helper/LanguageHelper.csSupportedLanguageKeys、SupportedLanguages中加入ko-KR(显示名:한국어)LegacyLanguageMappings中加入旧版索引4/4L→ko-KRIsKorean(),将 interface 语言代码ko、ko-KR、ko_kr统一归一化为ko-KRko或ko-*,不会把kok(孔卡尼语)等以ko开头的其他语言代码误判为韩语,避免其资源覆盖韩语界面文本MFAAvalonia/Assets/Localization/Strings.ko-KR.resx(新增)Strings.resx的键集合完全一致,无缺失或多余SukiUI/Locale/ko-kr.axaml、ko-kr.axaml.cs(新增)ja-jp.axaml键集合一致SukiUI/Theme/Index.axaml.cs"ko-KR" → ko_kr测试
ko/ko-KR/ko_kr/KO-kr→ko-KR;kok/kok-IN/kos不会被识别为韩语;ja-JP/en-US/zh-CN结果不变备注
Sourcery 摘要
为应用程序界面和 SukiUI 控件添加完整的韩语本地化支持。
新功能:
增强功能:
Original summary in English
Summary by Sourcery
Add complete Korean localization support across the application interface and SukiUI controls.
New Features:
Enhancements: