Fix a typo of locale name
Signed-off-by: kordood <gigacms@gmail.com>
This commit is contained in:
parent
bb99dcab6b
commit
1f0ba830df
@ -92,7 +92,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
|||||||
"vn" => vn::T.deref(),
|
"vn" => vn::T.deref(),
|
||||||
"pl" => pl::T.deref(),
|
"pl" => pl::T.deref(),
|
||||||
"ja" => ja::T.deref(),
|
"ja" => ja::T.deref(),
|
||||||
"ja" => ko::T.deref(),
|
"ko" => ko::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