summaryrefslogtreecommitdiff
path: root/library/src/text
diff options
context:
space:
mode:
authorNazar Serhiichuk <43041209+G1gg1L3s@users.noreply.github.com>2023-04-05 13:13:25 +0300
committerGitHub <noreply@github.com>2023-04-05 12:13:25 +0200
commit69ba8884f7f697c3c3824e695d948eb293debec5 (patch)
tree88445e282af76742295e2bb009d5d1e620391563 /library/src/text
parentf548223663189a47b9abb91587b53442891abc57 (diff)
Add support for ukrainian lang (#578)
Diffstat (limited to 'library/src/text')
-rw-r--r--library/src/text/quotes.rs2
-rw-r--r--library/src/text/raw.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/library/src/text/quotes.rs b/library/src/text/quotes.rs
index 55cbe818..a8f7aa34 100644
--- a/library/src/text/quotes.rs
+++ b/library/src/text/quotes.rs
@@ -145,7 +145,7 @@ impl<'s> Quotes<'s> {
"fr" => ("‹\u{00A0}", "\u{00A0}›", "«\u{00A0}", "\u{00A0}»"),
"bs" | "fi" | "sv" => ("’", "’", "”", "”"),
"hu" | "pl" | "ro" => ("’", "’", "„", "”"),
- "ru" | "no" | "nb" | "nn" => ("’", "’", "«", "»"),
+ "ru" | "no" | "nb" | "nn" | "ua" => ("’", "’", "«", "»"),
_ => return Self::default(),
};
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs
index 594fd1c6..69afe3a9 100644
--- a/library/src/text/raw.rs
+++ b/library/src/text/raw.rs
@@ -206,6 +206,7 @@ impl LocalName for RawElem {
Lang::ITALIAN => "Codice",
Lang::RUSSIAN => "код",
Lang::FRENCH => "Liste",
+ Lang::UKRAINIAN => "Лістинг",
Lang::ENGLISH | Lang::GERMAN | _ => "Listing",
}
}