mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-11 15:21:01 +03:00
@@ -92,7 +92,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
if lang.is_empty() {
|
||||
// zh_CN on Linux, zh-Hans-CN on mac, zh_CN_#Hans on Android
|
||||
if locale.starts_with("zh") {
|
||||
lang = (if locale.contains("tw") {
|
||||
lang = (if locale.contains("TW") {
|
||||
"zh-tw"
|
||||
} else {
|
||||
"zh-cn"
|
||||
|
||||
Reference in New Issue
Block a user