Merge pull request #309 from FeiLiuEM/i18n/zh-hans

i18n: add Simplified and Traditional Chinese (zh-hans, zh-hant) UI translation
This commit is contained in:
Brandon Thomas
2026-10-09 00:04:49 -04:00
5 changed files with 1523 additions and 44 deletions
+1494 -41
View File
File diff suppressed because it is too large Load Diff
+10 -1
View File
@@ -184,7 +184,16 @@ pub fn build(app: &EffectcraftApp) -> NativeMenu {
if role == Role::Hide && !services_added {
out.push(NativeNode::Predefined {
role: Role::Services,
label: if crate::i18n::japanese(app) { "サービス" } else { "Services" }.into(),
label: if crate::i18n::japanese(app) {
"サービス"
} else if crate::i18n::simplified(app) {
"服务"
} else if crate::i18n::traditional(app) {
"服務"
} else {
"Services"
}
.into(),
command: String::new(),
});
out.push(NativeNode::Separator);