kz
This commit is contained in:
parent
64b723a035
commit
69c49073c6
File diff suppressed because it is too large
Load Diff
@ -21,6 +21,7 @@ mod sk;
|
||||
mod tr;
|
||||
mod tw;
|
||||
mod vn;
|
||||
mod kz;
|
||||
|
||||
lazy_static::lazy_static! {
|
||||
pub static ref LANGS: Value =
|
||||
@ -45,6 +46,7 @@ lazy_static::lazy_static! {
|
||||
("pl", "Polski"),
|
||||
("ja", "日本語"),
|
||||
("ko", "한국어"),
|
||||
("kz", "Қазақша"),
|
||||
]);
|
||||
}
|
||||
|
||||
@ -93,6 +95,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"pl" => pl::T.deref(),
|
||||
"ja" => ja::T.deref(),
|
||||
"ko" => ko::T.deref(),
|
||||
"kz" => kz::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user