Repository navigation
feat(i18n): Türkçe arayüz çevirisi / 土耳其语界面本地化 - #101
Closed
mryusufcan wants to merge 1 commit into
Closed
mryusufcan wants to merge 1 commit into
mryusufcan wants to merge 1 commit into
Conversation
将 ApkStart 界面、托盘菜单、通知与诊断文案整体翻译为土耳其语。 ApkStart arayüzü, tepsi menüsü, bildirimler ve tanılama metinleri Türkçeye çevrildi. 改动 / Değişiklikler: - src/ui/*: 主窗口、设置页、开机动画、壳窗口的全部可见文案 - src/main.js: 托盘菜单、通知、体检(preflight)提示与进度信息 - src/core/*、src/core/backends/*: 安装/启动错误说明、下载与部署进度、 驱动校验、资源与磁盘提示、adb 报错等用户可见文本 - test/*: 断言与源码文案对齐(仅字符串,逻辑未改) 有意保留中文 / Bilinçle korunan Çince: - core/doctor.js、ui/app.js 中用于匹配 emulator/adb 原始输出的正则 (内存不足、无法启动此程序、磁盘空间不足、路径无效、空间不足、加速不可用)—— 这些是上游英文/中文报错的匹配模式,翻译会导致诊断失效 - 品牌名「日常MIKU」与版权署名 - 代码注释 验证 / Doğrulama: - node --check:全部 49 个 JS 文件通过 - npm test:13/14 通过;notify-test.js 需要 electron 依赖,在纯 Node 环境下 无法运行(未改动前同样失败,与本 PR 无关) 已知取舍 / Bilinen ödün: - 未引入 i18n 框架,直接替换字面量(上游 main 分支尚无 i18n 基础设施)。 若之后合入 #84 / #92 等 i18n 方案,本 PR 可作为 tr 语言包的文案来源。
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.
Özet / 摘要
ApkStart arayüzünü Türkçeye çeviren tam yerelleştirme yaması. Arayüz, tepsi menüsü, bildirimler, kurulum/başlatma hataları ve tanılama metinleri dahil tüm kullanıcıya görünen metinler Türkçeleştirildi.
将 ApkStart 的界面、托盘菜单、通知、安装/启动错误提示与诊断文案整体翻译为土耳其语。
src/(文案)+ 15 个test/(断言与文案对齐,逻辑未改)main目前还没有 i18n 基础设施,因此直接替换字面量,保持零依赖、零行为变化Neden yerinde çeviri? / 为什么不引入 i18n 框架
Açık i18n PR'ları (#84, #92, #93, #72, #43, #76) hâlâ merge edilmedi ve birbirinden farklı yaklaşımlar kullanıyor. Bu PR'ı o çalışmalardan bağımsız tutmak için framework eklenmedi; metinler doğrudan değiştirildi. İleride #84/#92 gibi bir çözüm merge edilirse bu PR'daki Türkçe metinler doğrudan
trdil paketi olarak taşınabilir — o zaman bu dalı kapatıp çeviriyi oraya taşımaya hazırım.现有 i18n PR (#84 / #92 / #93 / #72 / #43 / #76) 尚未合并且方案各不相同,因此本 PR 不依赖它们。若后续合并了 i18n 方案,这里的土耳其语文案可直接作为
tr语言包迁入,我可以配合改到新框架上。Bilinçle korunan Çince / 有意保留的中文
以下内容是匹配上游原始输出用的正则/标识符,翻译会导致诊断功能失效,因此保持原样:
src/core/doctor.jssrc/ui/app.jssrc/main.js等Bu regex'lerin çevrilmesi hata sınıflandırmasını bozar; yorumlara dokunulmadı ki upstream ile diff okunabilir kalsın.
Doğrulama / 验证
node --check: 49 JS dosyasının tamamı geçtinpm test: 13/14 test dosyası geçtinotify-test.jsbaşarısız:require('electron')gerektiriyor, saf Node ortamında çalışmıyor. Bu hata değişikliklerden önce de aynı şekilde var (temizmaincheckout'unda da FAIL), PR ile ilgisiz.Kapsam dışı / 不在本 PR 内
package-lock.json(yerelnpm installartığı, geri alındı)Kontrol listesi
node --checktüm dosyalarda temizpackage-lock.jsondahil edilmediİlgili: #100, #89 (dil talepleri)