Skip to content

Commit

Permalink
Update latvian lang.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleofass authored Sep 15, 2023
1 parent 9fd24db commit f1e2aa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ mod ja;
mod ko;
mod kz;
mod lt;
mod lv;
mod nl;
mod pl;
mod ptbr;
Expand Down Expand Up @@ -70,6 +71,7 @@ pub const LANGS: &[(&str, &str)] = &[
("sl", "Slovenščina"),
("ro", "Română"),
("lt", "Lietuvių"),
("lv", "Latviešu"),
("ar", "العربية"),
];

Expand Down Expand Up @@ -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(),
};
Expand Down

0 comments on commit f1e2aa8

Please sign in to comment.