mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-07 22:58:10 +03:00
Add Malayalam language support (#14753)
* Add Malayalam language support * Fix syntax error in language list for Malayalam --------- Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,7 @@ mod vi;
|
|||||||
mod ta;
|
mod ta;
|
||||||
mod ge;
|
mod ge;
|
||||||
mod fi;
|
mod fi;
|
||||||
|
mod ml;
|
||||||
|
|
||||||
pub const LANGS: &[(&str, &str)] = &[
|
pub const LANGS: &[(&str, &str)] = &[
|
||||||
("en", "English"),
|
("en", "English"),
|
||||||
@@ -97,6 +98,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
|||||||
("ta", "தமிழ்"),
|
("ta", "தமிழ்"),
|
||||||
("ge", "ქართული"),
|
("ge", "ქართული"),
|
||||||
("fi", "Suomi"),
|
("fi", "Suomi"),
|
||||||
|
("ml", "മലയാളം"),
|
||||||
("hi", "हिंदी"),
|
("hi", "हिंदी"),
|
||||||
("gu", "ગુજરાતી"),
|
("gu", "ગુજરાતી"),
|
||||||
];
|
];
|
||||||
@@ -177,6 +179,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
|||||||
"sc" => sc::T.deref(),
|
"sc" => sc::T.deref(),
|
||||||
"ta" => ta::T.deref(),
|
"ta" => ta::T.deref(),
|
||||||
"ge" => ge::T.deref(),
|
"ge" => ge::T.deref(),
|
||||||
|
"ml" => ml::T.deref(),
|
||||||
"hi" => hi::T.deref(),
|
"hi" => hi::T.deref(),
|
||||||
"gu" => gu::T.deref(),
|
"gu" => gu::T.deref(),
|
||||||
_ => en::T.deref(),
|
_ => en::T.deref(),
|
||||||
|
|||||||
Reference in New Issue
Block a user