Add Danish (#1365)

This commit is contained in:
sandal 2023-05-30 10:13:01 +02:00 committed by GitHub
parent e4557f6639
commit b6b6666efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 0 deletions

View File

@ -305,6 +305,7 @@ impl LocalName for TableElem {
Lang::BOKMÅL => "Tabell",
Lang::CHINESE => "",
Lang::CZECH => "Tabulka",
Lang::DANISH => "Tabel",
Lang::DUTCH => "Tabel",
Lang::FRENCH => "Tableau",
Lang::GERMAN => "Tabelle",

View File

@ -322,6 +322,7 @@ impl LocalName for EquationElem {
Lang::CHINESE if option_eq(region, "TW") => "方程式",
Lang::CHINESE => "等式",
Lang::CZECH => "Rovnice",
Lang::DANISH => "Ligning",
Lang::DUTCH => "Vergelijking",
Lang::FRENCH => "Équation",
Lang::GERMAN => "Gleichung",

View File

@ -218,6 +218,7 @@ impl LocalName for BibliographyElem {
Lang::CHINESE if option_eq(region, "TW") => "書目",
Lang::CHINESE => "参考文献",
Lang::CZECH => "Bibliografie",
Lang::DANISH => "Bibliografi",
Lang::DUTCH => "Bibliografie",
Lang::FRENCH => "Bibliographie",
Lang::GERMAN => "Bibliographie",

View File

@ -217,6 +217,7 @@ impl LocalName for HeadingElem {
Lang::CHINESE if option_eq(region, "TW") => "小節",
Lang::CHINESE => "小节",
Lang::CZECH => "Kapitola",
Lang::DANISH => "Afsnit",
Lang::DUTCH => "Hoofdstuk",
Lang::FRENCH => "Chapitre",
Lang::GERMAN => "Abschnitt",

View File

@ -271,6 +271,7 @@ impl LocalName for OutlineElem {
Lang::CHINESE if option_eq(region, "TW") => "目錄",
Lang::CHINESE => "目录",
Lang::CZECH => "Obsah",
Lang::DANISH => "Indhold",
Lang::DUTCH => "Inhoudsopgave",
Lang::FRENCH => "Table des matières",
Lang::GERMAN => "Inhaltsverzeichnis",

View File

@ -230,6 +230,7 @@ impl LocalName for RawElem {
Lang::BOKMÅL => "Utskrift",
Lang::CHINESE => "代码",
Lang::CZECH => "Seznam",
Lang::DANISH => "Liste",
Lang::DUTCH => "Listing",
Lang::FRENCH => "Liste",
Lang::GERMAN => "Listing",

View File

@ -134,6 +134,7 @@ impl LocalName for ImageElem {
Lang::BOKMÅL => "Figur",
Lang::CHINESE => "",
Lang::CZECH => "Obrázek",
Lang::DANISH => "Figur",
Lang::DUTCH => "Figuur",
Lang::FRENCH => "Figure",
Lang::GERMAN => "Abbildung",

View File

@ -518,6 +518,7 @@ impl Lang {
pub const BOKMÅL: Self = Self(*b"nb ", 2);
pub const CHINESE: Self = Self(*b"zh ", 2);
pub const CZECH: Self = Self(*b"cs ", 2);
pub const DANISH: Self = Self(*b"da ", 2);
pub const DUTCH: Self = Self(*b"nl ", 2);
pub const ENGLISH: Self = Self(*b"en ", 2);
pub const FRENCH: Self = Self(*b"fr ", 2);