mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
add hebrew translation (#7391)
* add hebrew translation * Update lang.rs --------- Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
@@ -39,6 +39,7 @@ mod tr;
|
||||
mod tw;
|
||||
mod ua;
|
||||
mod vn;
|
||||
mod he;
|
||||
|
||||
pub const LANGS: &[(&str, &str)] = &[
|
||||
("en", "English"),
|
||||
@@ -79,6 +80,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
||||
("lt", "Lietuvių"),
|
||||
("lv", "Latviešu"),
|
||||
("ar", "العربية"),
|
||||
("he", "עברית"),
|
||||
];
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
@@ -149,6 +151,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"lv" => lv::T.deref(),
|
||||
"ar" => ar::T.deref(),
|
||||
"bg" => bg::T.deref(),
|
||||
"he" => he::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
let (name, placeholder_value) = extract_placeholder(&name);
|
||||
|
||||
Reference in New Issue
Block a user