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 fr;
mod he;
mod hr;
mod hu;
mod id;
mod it;
@ -81,6 +82,7 @@ pub const LANGS: &[(&str, &str)] = &[
("lv", "Latviešu"),
("ar", "العربية"),
("he", "עברית"),
("hr", "Hrvatski"),
];
#[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(),
"bg" => bg::T.deref(),
"he" => he::T.deref(),
"hr" => he::T.deref(),
_ => en::T.deref(),
};
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"),
("Accept", "Prihvati"),
("Dismiss", "Odbaci"),
("Disconnect", "Prekini vezu),
("Disconnect", "Prekini vezu"),
("Enable file copy and paste", "Dopusti kopiranje i lijepljenje datoteka"),
("Connected", "Spojeno"),
("Direct and encrypted connection", "Izravna i kriptirana veza"),