Add Catalan translations (#3181)

This commit is contained in:
Martin Haug 2024-01-15 12:36:48 +01:00 committed by GitHub
parent 37249c20f7
commit 5a9de6046b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 0 deletions

View File

@ -272,6 +272,7 @@ impl LocalName for EquationElem {
Lang::ALBANIAN => "Ekuacion", Lang::ALBANIAN => "Ekuacion",
Lang::ARABIC => "معادلة", Lang::ARABIC => "معادلة",
Lang::BOKMÅL => "Ligning", Lang::BOKMÅL => "Ligning",
Lang::CATALAN => "Equació",
Lang::CHINESE if option_eq(region, "TW") => "方程式", Lang::CHINESE if option_eq(region, "TW") => "方程式",
Lang::CHINESE => "公式", Lang::CHINESE => "公式",
Lang::CZECH => "Rovnice", Lang::CZECH => "Rovnice",

View File

@ -284,6 +284,7 @@ impl LocalName for BibliographyElem {
Lang::ALBANIAN => "Bibliografi", Lang::ALBANIAN => "Bibliografi",
Lang::ARABIC => "المراجع", Lang::ARABIC => "المراجع",
Lang::BOKMÅL => "Bibliografi", Lang::BOKMÅL => "Bibliografi",
Lang::CATALAN => "Bibliografia",
Lang::CHINESE if option_eq(region, "TW") => "書目", Lang::CHINESE if option_eq(region, "TW") => "書目",
Lang::CHINESE => "参考文献", Lang::CHINESE => "参考文献",
Lang::CZECH => "Bibliografie", Lang::CZECH => "Bibliografie",

View File

@ -253,6 +253,7 @@ impl LocalName for HeadingElem {
Lang::ALBANIAN => "Kapitull", Lang::ALBANIAN => "Kapitull",
Lang::ARABIC => "الفصل", Lang::ARABIC => "الفصل",
Lang::BOKMÅL => "Kapittel", Lang::BOKMÅL => "Kapittel",
Lang::CATALAN => "Secció",
Lang::CHINESE if option_eq(region, "TW") => "小節", Lang::CHINESE if option_eq(region, "TW") => "小節",
Lang::CHINESE => "小节", Lang::CHINESE => "小节",
Lang::CZECH => "Kapitola", Lang::CZECH => "Kapitola",

View File

@ -264,6 +264,7 @@ impl LocalName for OutlineElem {
Lang::ALBANIAN => "Përmbajtja", Lang::ALBANIAN => "Përmbajtja",
Lang::ARABIC => "المحتويات", Lang::ARABIC => "المحتويات",
Lang::BOKMÅL => "Innhold", Lang::BOKMÅL => "Innhold",
Lang::CATALAN => "Índex",
Lang::CHINESE if option_eq(region, "TW") => "目錄", Lang::CHINESE if option_eq(region, "TW") => "目錄",
Lang::CHINESE => "目录", Lang::CHINESE => "目录",
Lang::CZECH => "Obsah", Lang::CZECH => "Obsah",

View File

@ -208,6 +208,7 @@ impl LocalName for TableElem {
Lang::ALBANIAN => "Tabel", Lang::ALBANIAN => "Tabel",
Lang::ARABIC => "جدول", Lang::ARABIC => "جدول",
Lang::BOKMÅL => "Tabell", Lang::BOKMÅL => "Tabell",
Lang::CATALAN => "Taula",
Lang::CHINESE => "", Lang::CHINESE => "",
Lang::CZECH => "Tabulka", Lang::CZECH => "Tabulka",
Lang::DANISH => "Tabel", Lang::DANISH => "Tabel",

View File

@ -14,6 +14,7 @@ impl Lang {
pub const ALBANIAN: Self = Self(*b"sq ", 2); pub const ALBANIAN: Self = Self(*b"sq ", 2);
pub const ARABIC: Self = Self(*b"ar ", 2); pub const ARABIC: Self = Self(*b"ar ", 2);
pub const BOKMÅL: Self = Self(*b"nb ", 2); pub const BOKMÅL: Self = Self(*b"nb ", 2);
pub const CATALAN: Self = Self(*b"ca ", 2);
pub const CHINESE: Self = Self(*b"zh ", 2); pub const CHINESE: Self = Self(*b"zh ", 2);
pub const CZECH: Self = Self(*b"cs ", 2); pub const CZECH: Self = Self(*b"cs ", 2);
pub const DANISH: Self = Self(*b"da ", 2); pub const DANISH: Self = Self(*b"da ", 2);

View File

@ -434,6 +434,7 @@ impl LocalName for RawElem {
Lang::ALBANIAN => "List", Lang::ALBANIAN => "List",
Lang::ARABIC => "قائمة", Lang::ARABIC => "قائمة",
Lang::BOKMÅL => "Utskrift", Lang::BOKMÅL => "Utskrift",
Lang::CATALAN => "Llistat",
Lang::CHINESE if option_eq(region, "TW") => "程式", Lang::CHINESE if option_eq(region, "TW") => "程式",
Lang::CHINESE => "代码", Lang::CHINESE => "代码",
Lang::CZECH => "Seznam", Lang::CZECH => "Seznam",

View File

@ -253,6 +253,7 @@ impl LocalName for ImageElem {
Lang::ALBANIAN => "Figurë", Lang::ALBANIAN => "Figurë",
Lang::ARABIC => "شكل", Lang::ARABIC => "شكل",
Lang::BOKMÅL => "Figur", Lang::BOKMÅL => "Figur",
Lang::CATALAN => "Figura",
Lang::CHINESE if option_eq(region, "TW") => "", Lang::CHINESE if option_eq(region, "TW") => "",
Lang::CHINESE => "", Lang::CHINESE => "",
Lang::CZECH => "Obrázek", Lang::CZECH => "Obrázek",