mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-02 10:16:28 +02: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 ge;
|
||||
mod fi;
|
||||
mod ml;
|
||||
|
||||
pub const LANGS: &[(&str, &str)] = &[
|
||||
("en", "English"),
|
||||
@@ -97,6 +98,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
||||
("ta", "தமிழ்"),
|
||||
("ge", "ქართული"),
|
||||
("fi", "Suomi"),
|
||||
("ml", "മലയാളം"),
|
||||
("hi", "हिंदी"),
|
||||
("gu", "ગુજરાતી"),
|
||||
];
|
||||
@@ -177,6 +179,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"sc" => sc::T.deref(),
|
||||
"ta" => ta::T.deref(),
|
||||
"ge" => ge::T.deref(),
|
||||
"ml" => ml::T.deref(),
|
||||
"hi" => hi::T.deref(),
|
||||
"gu" => gu::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
|
||||
Reference in New Issue
Block a user