mirror of
https://github.com/typst/typst
synced 2025-07-27 22:37:54 +08:00
Compare commits
4 Commits
2a59e760f0
...
e50dfd18fa
Author | SHA1 | Date | |
---|---|---|---|
|
e50dfd18fa | ||
|
55dad02887 | ||
|
cac273e50d | ||
|
1222ab5818 |
@ -37,6 +37,7 @@ const TRANSLATIONS: &[(&str, &str)] = &[
|
||||
translation!("it"),
|
||||
translation!("ja"),
|
||||
translation!("la"),
|
||||
translation!("lt"),
|
||||
translation!("lv"),
|
||||
translation!("nb"),
|
||||
translation!("nl"),
|
||||
@ -90,6 +91,7 @@ impl Lang {
|
||||
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 LITHUANIAN: Self = Self(*b"lt ", 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);
|
||||
|
@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
|
||||
"he" => ("’", "’", "”", "”"),
|
||||
"hr" => ("‘", "’", "„", "”"),
|
||||
"bg" => ("’", "’", "„", "“"),
|
||||
"ar" if !alternative => ("’", "‘", "«", "»"),
|
||||
_ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"),
|
||||
_ => default,
|
||||
};
|
||||
|
8
crates/typst-library/translations/lt.txt
Normal file
8
crates/typst-library/translations/lt.txt
Normal file
@ -0,0 +1,8 @@
|
||||
figure = Pav.
|
||||
table = Lent.
|
||||
equation = Lygt.
|
||||
bibliography = Literatūra
|
||||
heading = Skyrius
|
||||
outline = Turinys
|
||||
raw = Kodo fragmentas
|
||||
page = Psl.
|
Binary file not shown.
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 969 B |
Loading…
x
Reference in New Issue
Block a user