fix(ci): gate tray locale helper by platform

This commit is contained in:
lzt404 committed 2026-07-22 23:48:52 +08:00
1 parent a49fc88e9d
commit a44f8a7129
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,