Add Hindi language module and translation support (#14745)

Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
Leo Louis
2026-04-22 15:34:09 +05:30
committed by GitHub
parent b239535009
commit 1a41b3ac11

View File

@@ -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(),
};