Add Latvian translations

This commit is contained in:
Kristofers Solo 2025-05-29 16:35:56 +03:00
parent 3e7a39e968
commit 495e0101c0
No known key found for this signature in database
GPG Key ID: 74FF8144483D82C8
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!("bg"),
translation!("ca"),
@ -36,6 +36,7 @@ const TRANSLATIONS: [(&str, &str); 39] = [
translation!("it"),
translation!("ja"),
translation!("la"),
translation!("lv"),
translation!("nb"),
translation!("nl"),
translation!("nn"),
@ -87,6 +88,7 @@ impl Lang {
pub const ITALIAN: Self = Self(*b"it ", 2);
pub const JAPANESE: Self = Self(*b"ja ", 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 NYNORSK: Self = Self(*b"nn ", 2);
pub const POLISH: Self = Self(*b"pl ", 2);

View File

@ -0,0 +1,8 @@
figure = Attēls
table = Tabula
equation = Vienādojums
bibliography = Izmantotā literatūra un avoti
heading = Virsraksts
outline = Saturs
raw = Koda fragments
page = lpp.