Update latvian lang.rs

This commit is contained in:
Kleofass 2023-09-15 14:58:10 +03:00 committed by GitHub
parent 9fd24db257
commit f1e2aa8c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ mod ja;
mod ko;
mod kz;
mod lt;
mod lv;
mod nl;
mod pl;
mod ptbr;
@ -70,6 +71,7 @@ pub const LANGS: &[(&str, &str)] = &[
("sl", "Slovenščina"),
("ro", "Română"),
("lt", "Lietuvių"),
("lv", "Latviešu"),
("ar", "العربية"),
];
@ -135,6 +137,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"sl" => sl::T.deref(),
"ro" => ro::T.deref(),
"lt" => lt::T.deref(),
"lv" => lv::T.deref(),
"ar" => ar::T.deref(),
_ => en::T.deref(),
};