Update lang.rs

This commit is contained in:
RustDesk 2022-04-06 10:26:09 +08:00 committed by GitHub
parent 0a9a7e3090
commit f370c60d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"ru" => ru::T.deref(),
"eo" => eo::T.deref(),
"ptbr" => ptbr::T.deref(),
"br" => ptbr::T.deref(),
"pt" => ptbr::T.deref(),
_ => en::T.deref(),
};
if let Some(v) = m.get(&name as &str) {