mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-07 17:11:28 +03:00
@@ -44,6 +44,7 @@ mod tr;
|
||||
mod tw;
|
||||
mod uk;
|
||||
mod vn;
|
||||
mod ta;
|
||||
|
||||
pub const LANGS: &[(&str, &str)] = &[
|
||||
("en", "English"),
|
||||
@@ -89,6 +90,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
||||
("he", "עברית"),
|
||||
("hr", "Hrvatski"),
|
||||
("sc", "Sardu"),
|
||||
("ta", "தமிழ்"),
|
||||
];
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
@@ -164,6 +166,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"he" => he::T.deref(),
|
||||
"hr" => hr::T.deref(),
|
||||
"sc" => sc::T.deref(),
|
||||
"ta" => ta::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
let (name, placeholder_value) = extract_placeholder(&name);
|
||||
|
||||
Reference in New Issue
Block a user