Update lang.rs

This commit is contained in:
FastAct
2022-08-06 13:48:12 +02:00
committed by GitHub
parent bfefaf14e6
commit 21839c5461

View File

@@ -71,6 +71,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
let lang = lang.to_lowercase();
let m = match lang.as_str() {
"fr" => fr::T.deref(),
"nl" => nl::T.deref(),
"cn" => cn::T.deref(),
"it" => it::T.deref(),
"tw" => tw::T.deref(),