mirror of
https://github.com/rustdesk/rustdesk
synced 2026-04-21 13:27:19 +00:00
Add support for Gujarati language in lang.rs (#14751)
This commit is contained in:
parent
2d41b3e80d
commit
28e303576c
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ mod es;
|
|||
mod et;
|
||||
mod eu;
|
||||
mod fa;
|
||||
mod gu;
|
||||
mod fr;
|
||||
mod he;
|
||||
mod hr;
|
||||
|
|
@ -95,6 +96,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
|||
("ta", "தமிழ்"),
|
||||
("ge", "ქართული"),
|
||||
("fi", "Suomi"),
|
||||
("gu", "ગુજરાતી"),
|
||||
];
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
|
|
@ -173,6 +175,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
|||
"sc" => sc::T.deref(),
|
||||
"ta" => ta::T.deref(),
|
||||
"ge" => ge::T.deref(),
|
||||
"gu" => gu::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
let (name, placeholder_value) = extract_placeholder(&name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue