Fix Ukrainian secondary smart quotes (#6372)

This commit is contained in:
Nazar Serhiichuk 2025-06-04 11:13:39 +03:00 committed by GitHub
parent f7f163a8fa
commit 4a8367e90a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

@ -247,8 +247,9 @@ impl<'s> SmartQuotes<'s> {
"es" if matches!(region, Some("ES") | None) => ("", "", "«", "»"),
"hu" | "pl" | "ro" => ("", "", "", ""),
"no" | "nb" | "nn" if alternative => low_high,
"no" | "nb" | "nn" | "uk" => ("", "", "«", "»"),
"no" | "nb" | "nn" => ("", "", "«", "»"),
"ru" => ("", "", "«", "»"),
"uk" => ("", "", "«", "»"),
"el" => ("", "", "«", "»"),
"he" => ("", "", "", ""),
"hr" => ("", "", "", ""),

BIN
tests/ref/smartquote-uk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -46,6 +46,10 @@
#set text(lang: "ru")
"Лошадь не ест салат из огурцов" - это была первая фраза, сказанная по 'телефону'.
--- smartquote-uk ---
#set text(lang: "uk")
"Кінь не їсть огірковий салат" перше речення, коли-небудь вимовлене по 'телефону'.
--- smartquote-it ---
#set text(lang: "it")
"Il cavallo non mangia insalata di cetrioli" è stata la prima frase pronunciata al 'telefono'.