diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf | 48 |
1 files changed, 10 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf index 810354ce1d4..7aa9dd32a80 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-usorbian.ldf @@ -1,48 +1,20 @@ \ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for upper sorbian] +% We only provide this gloss for babel compatibility. Since usorbian is +% a sorbian variety, we use 'sorbian' with variant 'upper' now. + +\input{gloss-sorbian.ldf} + \PolyglossiaSetup{usorbian}{ + language=Upper Sorbian, + babelname=uppersorbian, hyphennames={usorbian,uppersorbian}, hyphenmins={2,2}, + langtag=USB, fontsetup=true, } -\def\captionsusorbian{% - \def\refname{Referency}% - \def\abstractname{Abstrakt}% - \def\bibname{Literatura}% - \def\prefacename{Zawod}% - \def\chaptername{Kapitl}% - \def\appendixname{Dodawki}% - \def\contentsname{Wobsah}% - \def\listfigurename{Zapis wobrazow}% - \def\listtablename{Zapis tabulkow}% - \def\indexname{Indeks}% - \def\figurename{Wobraz}% - \def\tablename{Tabulka}% - %\def\thepart{}% - \def\partname{Dźěl}% - \def\pagename{Strona}% - \def\seename{hl.}% - \def\alsoname{hl.~tež}% - \def\enclname{Přłoha}% - \def\ccname{CC}% - \def\headtoname{Komu}% - \def\proofname{Proof}% <-- needs translation - \def\glossaryname{Glossary}% <-- needs translation - }% - -\def\dateusorbian{% - \def\today{\number\day.~\ifcase\month\or - januara\or februara\or měrca\or apryla\or meje\or junija\or - julija\or awgusta\or septembra\or oktobra\or - nowembra\or decembra\fi - \space \number\year}% - %TODO implement option olddate: - \def\oldtoday{\number\day.~\ifcase\month\or - wulkeho róžka\or małeho róžka\or nalětnika\or - jutrownika\or róžownika\or smažnika\or pražnika\or - žnjenca\or požnjenca\or winowca\or nazymnika\or - hodownika\fi \space \number\year}% - } +\let\captionsusorbian\captionssorbian@usorbian +\let\dateusorbian\datesorbian@usorbian \endinput |