Fix a typo of locale name

Signed-off-by: kordood <gigacms@gmail.com>
This commit is contained in:
kordood 2022-08-16 14:51:10 +09:00
parent bb99dcab6b
commit 1f0ba830df

View File

@ -92,7 +92,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"vn" => vn::T.deref(),
"pl" => pl::T.deref(),
"ja" => ja::T.deref(),
"ja" => ko::T.deref(),
"ko" => ko::T.deref(),
_ => en::T.deref(),
};
if let Some(v) = m.get(&name as &str) {