Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix https://github.com/rustdesk/rustdesk/pull/7654

rustdeske884bdbbc41f
diff --git a/src/lang.rs b/src/lang.rs
index 25768a0c3..106ba6bad 100644
--- a/src/lang.rs
+++ b/src/lang.rs
@@ -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);
diff --git a/src/lang/hr.rs b/src/lang/hr.rs
index 14b935d70..c89ce3e5d 100644
--- a/src/lang/hr.rs
+++ b/src/lang/hr.rs
@@ -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"),