fix: load German language
This commit is contained in:
parent
c7191023cb
commit
57722c950a
@ -31,7 +31,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
|||||||
"cn" => cn::T.deref(),
|
"cn" => cn::T.deref(),
|
||||||
"it" => it::T.deref(),
|
"it" => it::T.deref(),
|
||||||
"tw" => tw::T.deref(),
|
"tw" => tw::T.deref(),
|
||||||
"de" => tw::T.deref(),
|
"de" => de::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