feat: Add Swedish (#1353)

This commit is contained in:
Olle Månsson 2023-05-29 20:07:27 +02:00 committed by GitHub
parent 1e4dabb63a
commit eab267bef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 0 deletions

View File

@ -315,6 +315,7 @@ impl LocalName for TableElem {
Lang::RUSSIAN => "Таблица",
Lang::SLOVENIAN => "Tabela",
Lang::SPANISH => "Tabla",
Lang::SWEDISH => "Tabell",
Lang::UKRAINIAN => "Таблиця",
Lang::VIETNAMESE => "Bảng",
Lang::ENGLISH | _ => "Table",

View File

@ -332,6 +332,7 @@ impl LocalName for EquationElem {
Lang::RUSSIAN => "Уравнение",
Lang::SLOVENIAN => "Enačba",
Lang::SPANISH => "Ecuación",
Lang::SWEDISH => "Ekvation",
Lang::UKRAINIAN => "Рівняння",
Lang::VIETNAMESE => "Phương trình",
Lang::ENGLISH | _ => "Equation",

View File

@ -228,6 +228,7 @@ impl LocalName for BibliographyElem {
Lang::RUSSIAN => "Библиография",
Lang::SLOVENIAN => "Literatura",
Lang::SPANISH => "Bibliografía",
Lang::SWEDISH => "Bibliografi",
Lang::UKRAINIAN => "Бібліографія",
Lang::VIETNAMESE => "Tài liệu tham khảo",
Lang::ENGLISH | _ => "Bibliography",

View File

@ -227,6 +227,7 @@ impl LocalName for HeadingElem {
Lang::RUSSIAN => "Раздел",
Lang::SLOVENIAN => "Poglavje",
Lang::SPANISH => "Sección",
Lang::SWEDISH => "Kapitel",
Lang::UKRAINIAN => "Розділ",
Lang::VIETNAMESE => "Phần", // TODO: This may be wrong.
Lang::ENGLISH | _ => "Section",

View File

@ -281,6 +281,7 @@ impl LocalName for OutlineElem {
Lang::RUSSIAN => "Содержание",
Lang::SLOVENIAN => "Kazalo",
Lang::SPANISH => "Índice",
Lang::SWEDISH => "Innehåll",
Lang::UKRAINIAN => "Зміст",
Lang::VIETNAMESE => "Mục lục",
Lang::ENGLISH | _ => "Contents",

View File

@ -238,6 +238,7 @@ impl LocalName for RawElem {
Lang::POLISH => "Program",
Lang::RUSSIAN => "Листинг",
Lang::SLOVENIAN => "Program",
Lang::SWEDISH => "Listing",
Lang::UKRAINIAN => "Лістинг",
Lang::VIETNAMESE => "Chương trình", // TODO: This may be wrong.
Lang::ENGLISH | _ => "Listing",

View File

@ -144,6 +144,7 @@ impl LocalName for ImageElem {
Lang::RUSSIAN => "Рисунок",
Lang::SLOVENIAN => "Slika",
Lang::SPANISH => "Figura",
Lang::SWEDISH => "Figur",
Lang::UKRAINIAN => "Рисунок",
Lang::VIETNAMESE => "Hình",
Lang::ENGLISH | _ => "Figure",

View File

@ -529,6 +529,7 @@ impl Lang {
pub const RUSSIAN: Self = Self(*b"ru ", 2);
pub const SLOVENIAN: Self = Self(*b"sl ", 2);
pub const SPANISH: Self = Self(*b"es ", 2);
pub const SWEDISH: Self = Self(*b"sv ", 2);
pub const UKRAINIAN: Self = Self(*b"ua ", 2);
pub const VIETNAMESE: Self = Self(*b"vi ", 2);