rustdesk 2024-04-08 16:41:46 +08:00
parent 84fc70e9a9
commit e884bdbbc4
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@ mod et;
mod fa; mod fa;
mod fr; mod fr;
mod he; mod he;
mod hr;
mod hu; mod hu;
mod id; mod id;
mod it; mod it;
@ -81,6 +82,7 @@ pub const LANGS: &[(&str, &str)] = &[
("lv", "Latviešu"), ("lv", "Latviešu"),
("ar", "العربية"), ("ar", "العربية"),
("he", "עברית"), ("he", "עברית"),
("hr", "Hrvatski"),
]; ];
#[cfg(not(any(target_os = "android", target_os = "ios")))] #[cfg(not(any(target_os = "android", target_os = "ios")))]
@ -152,6 +154,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"ar" => ar::T.deref(), "ar" => ar::T.deref(),
"bg" => bg::T.deref(), "bg" => bg::T.deref(),
"he" => he::T.deref(), "he" => he::T.deref(),
"hr" => he::T.deref(),
_ => en::T.deref(), _ => en::T.deref(),
}; };
let (name, placeholder_value) = extract_placeholder(&name); let (name, placeholder_value) = extract_placeholder(&name);

View File

@ -178,7 +178,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Permissions", "Dopuštenja"), ("Permissions", "Dopuštenja"),
("Accept", "Prihvati"), ("Accept", "Prihvati"),
("Dismiss", "Odbaci"), ("Dismiss", "Odbaci"),
("Disconnect", "Prekini vezu), ("Disconnect", "Prekini vezu"),
("Enable file copy and paste", "Dopusti kopiranje i lijepljenje datoteka"), ("Enable file copy and paste", "Dopusti kopiranje i lijepljenje datoteka"),
("Connected", "Spojeno"), ("Connected", "Spojeno"),
("Direct and encrypted connection", "Izravna i kriptirana veza"), ("Direct and encrypted connection", "Izravna i kriptirana veza"),