mirror of
https://github.com/typst/typst
synced 2025-06-08 13:16:24 +08:00
Fix Ukrainian secondary smart quotes (#6372)
This commit is contained in:
parent
f7f163a8fa
commit
4a8367e90a
@ -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
BIN
tests/ref/smartquote-uk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -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'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user