mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
traditional chinese
This commit is contained in:
@@ -5,6 +5,7 @@ mod cn;
|
||||
mod en;
|
||||
mod fr;
|
||||
mod it;
|
||||
mod tw;
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn translate(name: String) -> String {
|
||||
@@ -28,6 +29,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"fr" => fr::T.deref(),
|
||||
"cn" => cn::T.deref(),
|
||||
"it" => it::T.deref(),
|
||||
"tw" => tw::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
||||
Reference in New Issue
Block a user