mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-09 07:38:09 +03: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 gu;
|
||||||
mod fr;
|
mod fr;
|
||||||
mod he;
|
mod he;
|
||||||
|
mod hi;
|
||||||
mod hr;
|
mod hr;
|
||||||
mod hu;
|
mod hu;
|
||||||
mod id;
|
mod id;
|
||||||
@@ -96,6 +97,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
|||||||
("ta", "தமிழ்"),
|
("ta", "தமிழ்"),
|
||||||
("ge", "ქართული"),
|
("ge", "ქართული"),
|
||||||
("fi", "Suomi"),
|
("fi", "Suomi"),
|
||||||
|
("hi", "हिंदी"),
|
||||||
("gu", "ગુજરાતી"),
|
("gu", "ગુજરાતી"),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -175,6 +177,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(),
|
||||||
|
"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