fix: load German language

This commit is contained in:
WoozyMasta 2022-02-17 02:08:18 +03:00
parent c7191023cb
commit 57722c950a
No known key found for this signature in database
GPG Key ID: 3E033DDBA3266614

View File

@ -31,7 +31,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"cn" => cn::T.deref(),
"it" => it::T.deref(),
"tw" => tw::T.deref(),
"de" => tw::T.deref(),
"de" => de::T.deref(),
_ => en::T.deref(),
};
if let Some(v) = m.get(&name as &str) {