Add Latvian translations (#6348)

This commit is contained in:
Kristofers Solo 2025-06-03 15:38:21 +03:00 committed by GitHub
parent 664d33a681
commit ff0dc5ab66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -14,7 +14,7 @@ macro_rules! translation {
}; };
} }
const TRANSLATIONS: [(&str, &str); 39] = [ const TRANSLATIONS: [(&str, &str); 40] = [
translation!("ar"), translation!("ar"),
translation!("bg"), translation!("bg"),
translation!("ca"), translation!("ca"),
@ -36,6 +36,7 @@ const TRANSLATIONS: [(&str, &str); 39] = [
translation!("it"), translation!("it"),
translation!("ja"), translation!("ja"),
translation!("la"), translation!("la"),
translation!("lv"),
translation!("nb"), translation!("nb"),
translation!("nl"), translation!("nl"),
translation!("nn"), translation!("nn"),
@ -87,6 +88,7 @@ impl Lang {
pub const ITALIAN: Self = Self(*b"it ", 2); pub const ITALIAN: Self = Self(*b"it ", 2);
pub const JAPANESE: Self = Self(*b"ja ", 2); pub const JAPANESE: Self = Self(*b"ja ", 2);
pub const LATIN: Self = Self(*b"la ", 2); pub const LATIN: Self = Self(*b"la ", 2);
pub const LATVIAN: Self = Self(*b"lv ", 2);
pub const LOWER_SORBIAN: Self = Self(*b"dsb", 3); pub const LOWER_SORBIAN: Self = Self(*b"dsb", 3);
pub const NYNORSK: Self = Self(*b"nn ", 2); pub const NYNORSK: Self = Self(*b"nn ", 2);
pub const POLISH: Self = Self(*b"pl ", 2); pub const POLISH: Self = Self(*b"pl ", 2);

View File

@ -0,0 +1,8 @@
figure = Attēls
table = Tabula
equation = Vienādojums
bibliography = Literatūra
heading = Sadaļa
outline = Saturs
raw = Saraksts
page = lpp.