fix(ci): gate tray locale helper by platform Merge pull request #59 from router-for-me/dev

fix(ci): gate tray locale helper by platform
This commit is contained in:
lzt404 authored and GitHub committed 2026-07-22 23:50:09 +08:00
commit 26833d9e0a
1 file changed
+1
+1
View File
@@ -101,6 +101,7 @@ fn normalize_app_locale(locale: &str) -> &'static str {
}
}
#[cfg(any(target_os = "macos", target_os = "windows"))]
fn locale_text<'a>(locale: &str, zh_cn: &'a str, en: &'a str) -> &'a str {
match normalize_app_locale(locale) {
"en" => en,