Merge pull request #404 from WoozyMasta/fix_de

Fixed loading of German language file
This commit is contained in:
RustDesk 2022-02-17 08:55:57 +08:00 committed by GitHub
commit df4ecf9339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {