mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Translate UI to Portuguese (Brazil)
Signed-off-by: Mateus Auler <mateusauler@protonmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ mod tw;
|
||||
mod de;
|
||||
mod ru;
|
||||
mod eo;
|
||||
mod ptbr;
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn translate(name: String) -> String {
|
||||
@@ -36,6 +37,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"de" => de::T.deref(),
|
||||
"ru" => ru::T.deref(),
|
||||
"eo" => eo::T.deref(),
|
||||
"ptbr" => ptbr::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
||||
Reference in New Issue
Block a user