mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-28 23:59:05 +08:00
Add Japanese option
Signed-off-by: MaySoMusician <maysomusician@gmail.com>
This commit is contained in:
parent
d1eda57b2a
commit
3c2abf9704
@ -12,6 +12,7 @@ mod fr;
|
||||
mod hu;
|
||||
mod id;
|
||||
mod it;
|
||||
mod ja;
|
||||
mod pl;
|
||||
mod ptbr;
|
||||
mod ru;
|
||||
@ -41,6 +42,7 @@ lazy_static::lazy_static! {
|
||||
("tr", "Türkçe"),
|
||||
("vn", "Tiếng Việt"),
|
||||
("pl", "Polski"),
|
||||
("ja", "日本語"),
|
||||
]);
|
||||
}
|
||||
|
||||
@ -87,6 +89,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"sk" => sk::T.deref(),
|
||||
"vn" => vn::T.deref(),
|
||||
"pl" => pl::T.deref(),
|
||||
"ja" => ja::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
Loading…
Reference in New Issue
Block a user