mirror of
https://github.com/typst/typst
synced 2025-06-09 21:56:24 +08:00
Add Latvian translations (#6348)
This commit is contained in:
parent
664d33a681
commit
ff0dc5ab66
@ -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);
|
||||||
|
8
crates/typst-library/translations/lv.txt
Normal file
8
crates/typst-library/translations/lv.txt
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user