mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-02 10:16:28 +02:00
Add Hindi language module and translation support (#14745)
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,7 @@ mod fa;
|
||||
mod gu;
|
||||
mod fr;
|
||||
mod he;
|
||||
mod hi;
|
||||
mod hr;
|
||||
mod hu;
|
||||
mod id;
|
||||
@@ -96,6 +97,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
||||
("ta", "தமிழ்"),
|
||||
("ge", "ქართული"),
|
||||
("fi", "Suomi"),
|
||||
("hi", "हिंदी"),
|
||||
("gu", "ગુજરાતી"),
|
||||
];
|
||||
|
||||
@@ -175,6 +177,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"sc" => sc::T.deref(),
|
||||
"ta" => ta::T.deref(),
|
||||
"ge" => ge::T.deref(),
|
||||
"hi" => hi::T.deref(),
|
||||
"gu" => gu::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user