From f370c60d063928f542e88dd6de99b993a9293152 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Wed, 6 Apr 2022 10:26:09 +0800 Subject: [PATCH] Update lang.rs --- src/lang.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lang.rs b/src/lang.rs index 050916cd8..f0ba973e1 100644 --- a/src/lang.rs +++ b/src/lang.rs @@ -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) {