summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf
blob: 242269f84b10164e6b2b3bd5ae559a9a92f37795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
\ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for upper sorbian]
\makeatletter
\def\usorbian@font{\normalfontlatin}

\ifx\l@uppersorbian\@undefined
  \ifx\l@usorbian\@undefined
    \xpg@nopatterns{Upper Sorbian}
    \adddialect\l@usorbian0
    \let\l@uppersorbian\l@usorbian
  \else
    \let\l@uppersorbian\l@usorbian
  \fi
\else
  \let\l@usorbian\l@uppersorbian
\fi

\def\captionsusorbian{%
   \def\refname{\textusorbian{Referency}}%
   \def\abstractname{\textusorbian{Abstrakt}}%
   \def\bibname{\textusorbian{Literatura}}%
   \def\prefacename{\textusorbian{Zawod}}%
   \def\chaptername{\textusorbian{Kapitl}}%
   \def\appendixname{\textusorbian{Dodawki}}%
   \def\contentsname{\textusorbian{Wobsah}}%
   \def\listfigurename{\textusorbian{Zapis wobrazow}}%
   \def\listtablename{\textusorbian{Zapis tabulkow}}%
   \def\indexname{\textusorbian{Indeks}}%
   \def\figurename{\textusorbian{Wobraz}}%
   \def\tablename{\textusorbian{Tabulka}}%
   %\def\thepart{\textusorbian{}}%
   \def\partname{\textusorbian{Dźěl}}%
   \def\pagename{\textusorbian{Strona}}%
   \def\seename{\textusorbian{hl.}}%
   \def\alsoname{\textusorbian{hl.~tež}}%
   \def\enclname{\textusorbian{Přłoha}}%
   \def\ccname{\textusorbian{CC}}%
   \def\headtoname{\textusorbian{Komu}}%
   \def\proofname{\textusorbian{Proof}}% <-- needs translation
   \def\glossaryname{\textusorbian{Glossary}}% <-- needs translation
   }%
\def\dateusorbian{%   
   \def\today{\textusorbian{\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}%
    }

\def\usorbian@language{\protect\language=\l@usorbian}

\setlocalhyphenmins{usorbian}{2}{2}%

\endinput