mirror of
https://github.com/typst/typst
synced 2025-06-08 13:16:24 +08:00
Change Russian secondary smart quotes & remove alternatives (#6331)
This commit is contained in:
parent
dd95f7d594
commit
f7f163a8fa
@ -237,7 +237,7 @@ impl<'s> SmartQuotes<'s> {
|
|||||||
"cs" | "da" | "de" | "sk" | "sl" if alternative => ("›", "‹", "»", "«"),
|
"cs" | "da" | "de" | "sk" | "sl" if alternative => ("›", "‹", "»", "«"),
|
||||||
"cs" | "de" | "et" | "is" | "lt" | "lv" | "sk" | "sl" => low_high,
|
"cs" | "de" | "et" | "is" | "lt" | "lv" | "sk" | "sl" => low_high,
|
||||||
"da" => ("‘", "’", "“", "”"),
|
"da" => ("‘", "’", "“", "”"),
|
||||||
"fr" | "ru" if alternative => default,
|
"fr" if alternative => default,
|
||||||
"fr" => ("“", "”", "«\u{202F}", "\u{202F}»"),
|
"fr" => ("“", "”", "«\u{202F}", "\u{202F}»"),
|
||||||
"fi" | "sv" if alternative => ("’", "’", "»", "»"),
|
"fi" | "sv" if alternative => ("’", "’", "»", "»"),
|
||||||
"bs" | "fi" | "sv" => ("’", "’", "”", "”"),
|
"bs" | "fi" | "sv" => ("’", "’", "”", "”"),
|
||||||
@ -247,7 +247,8 @@ impl<'s> SmartQuotes<'s> {
|
|||||||
"es" if matches!(region, Some("ES") | None) => ("“", "”", "«", "»"),
|
"es" if matches!(region, Some("ES") | None) => ("“", "”", "«", "»"),
|
||||||
"hu" | "pl" | "ro" => ("’", "’", "„", "”"),
|
"hu" | "pl" | "ro" => ("’", "’", "„", "”"),
|
||||||
"no" | "nb" | "nn" if alternative => low_high,
|
"no" | "nb" | "nn" if alternative => low_high,
|
||||||
"ru" | "no" | "nb" | "nn" | "uk" => ("’", "’", "«", "»"),
|
"no" | "nb" | "nn" | "uk" => ("’", "’", "«", "»"),
|
||||||
|
"ru" => ("„", "“", "«", "»"),
|
||||||
"el" => ("‘", "’", "«", "»"),
|
"el" => ("‘", "’", "«", "»"),
|
||||||
"he" => ("’", "’", "”", "”"),
|
"he" => ("’", "’", "”", "”"),
|
||||||
"hr" => ("‘", "’", "„", "”"),
|
"hr" => ("‘", "’", "„", "”"),
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
x
Reference in New Issue
Block a user