Update lang.rs
This commit is contained in:
parent
0a9a7e3090
commit
f370c60d06
@ -38,6 +38,8 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
|||||||
"ru" => ru::T.deref(),
|
"ru" => ru::T.deref(),
|
||||||
"eo" => eo::T.deref(),
|
"eo" => eo::T.deref(),
|
||||||
"ptbr" => ptbr::T.deref(),
|
"ptbr" => ptbr::T.deref(),
|
||||||
|
"br" => ptbr::T.deref(),
|
||||||
|
"pt" => ptbr::T.deref(),
|
||||||
_ => en::T.deref(),
|
_ => en::T.deref(),
|
||||||
};
|
};
|
||||||
if let Some(v) = m.get(&name as &str) {
|
if let Some(v) = m.get(&name as &str) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user