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:
+1494
-41
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user