mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-29 08:19:05 +08:00
Update lang.rs to add Korean language
Signed-off-by: kordood <gigacms@gmail.com>
This commit is contained in:
parent
9fbb114301
commit
bb99dcab6b
@ -13,6 +13,7 @@ mod hu;
|
||||
mod id;
|
||||
mod it;
|
||||
mod ja;
|
||||
mod ko;
|
||||
mod pl;
|
||||
mod ptbr;
|
||||
mod ru;
|
||||
@ -43,6 +44,7 @@ lazy_static::lazy_static! {
|
||||
("vn", "Tiếng Việt"),
|
||||
("pl", "Polski"),
|
||||
("ja", "日本語"),
|
||||
("ko", "한국어"),
|
||||
]);
|
||||
}
|
||||
|
||||
@ -90,6 +92,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"vn" => vn::T.deref(),
|
||||
"pl" => pl::T.deref(),
|
||||
"ja" => ja::T.deref(),
|
||||
"ja" => ko::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
Loading…
Reference in New Issue
Block a user