This commit is contained in:
parent
84fc70e9a9
commit
e884bdbbc4
@ -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);
|
||||
|
@ -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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user