Compare commits

...

4 Commits

Author SHA1 Message Date
zefr0x
e50dfd18fa
Merge cac273e50d45d2bdb1a6b9253f6af608b9afa5ac into 55dad028870329a5d78d7d62fe45844acc10f943 2025-07-21 13:37:23 +02:00
pog102
55dad02887
Add Lithuanian translations (#6587) 2025-07-21 10:57:40 +00:00
zefr0x
cac273e50d Update test refrence 2025-07-18 03:21:07 +03:00
zefr0x
1222ab5818 Specify the standard smart quotes for Arabic
The alternative is the default for RTL languages.
2025-07-18 02:56:09 +03:00
4 changed files with 11 additions and 0 deletions

View File

@ -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);

View File

@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
"he" => ("", "", "", ""),
"hr" => ("", "", "", ""),
"bg" => ("", "", "", ""),
"ar" if !alternative => ("", "", "«", "»"),
_ if lang.dir() == Dir::RTL => ("", "", "", ""),
_ => default,
};

View 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