| 1 |
% Language definition file (part of polyglossia v2.10 -- 2026/04/18) |
| 2 |
% |
| 3 |
\ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for Slovenian] |
| 4 |
|
| 5 |
\PolyglossiaSetup{slovenian}{ |
| 6 |
bcp47=sl, |
| 7 |
bcp47-language=sl, |
| 8 |
bcp47-script=Latn, |
| 9 |
hyphennames={slovenian,slovene}, |
| 10 |
babelname=slovene, |
| 11 |
hyphenmins={2,2}, |
| 12 |
langtag=SLV, |
| 13 |
} |
| 14 |
|
| 15 |
% BCP-47 compliant aliases |
| 16 |
\setlanguagealias*{slovenian}{sl} |
| 17 |
|
| 18 |
% Babel aliases |
| 19 |
\setlanguagealias{slovenian}{slovene} |
| 20 |
|
| 21 |
\DeclareKeys[polyglossia/gloss/slovenian] |
| 22 |
{ |
| 23 |
localalph.if = slovenian@localalph, |
| 24 |
localalph.default:n = true |
| 25 |
} |
| 26 |
|
| 27 |
% Register default options |
| 28 |
\InitializeGlossOptions{slovenian}{localalph=false} |
| 29 |
|
| 30 |
|
| 31 |
\def\captionsslovenian{% |
| 32 |
\def\refname{Literatura}% |
| 33 |
\def\abstractname{Povzetek}% |
| 34 |
\def\bibname{Literatura}% |
| 35 |
\def\prefacename{Predgovor}% |
| 36 |
\def\chaptername{Poglavje}% |
| 37 |
\def\appendixname{Dodatek}% |
| 38 |
\def\contentsname{Kazalo}% |
| 39 |
\def\listfigurename{Slike}% |
| 40 |
\def\listtablename{Tabele}% |
| 41 |
\def\indexname{Stvarno kazalo}% |
| 42 |
\def\figurename{Slika}% |
| 43 |
\def\tablename{Tabela}% |
| 44 |
%\def\thepart{}% |
| 45 |
\def\partname{Del}% |
| 46 |
\def\pagename{Stran}% |
| 47 |
\def\seename{glej}% |
| 48 |
\def\alsoname{glej tudi}% |
| 49 |
\def\enclname{Priloge}% |
| 50 |
\def\ccname{Kopije}% |
| 51 |
\def\headtoname{Prejme}% |
| 52 |
\def\proofname{Dokaz}% |
| 53 |
\def\glossaryname{Slovar}% |
| 54 |
} |
| 55 |
|
| 56 |
\def\dateslovenian{% |
| 57 |
\def\today{\number\day.~\ifcase\month\or |
| 58 |
januar\or februar\or marec\or april\or maj\or junij\or |
| 59 |
julij\or avgust\or september\or oktober\or november\or december\fi |
| 60 |
\space \number\year}% |
| 61 |
} |
| 62 |
|
| 63 |
\def\slovenian@alph#1{% |
| 64 |
\ifcase#1\or a\or b\or c\or č\or d\or e\or f\or g\or h\or i\or j\or k\or l\or |
| 65 |
m\or n\or o\or p\or r\or s\or š\or t\or u\or v\or z\or ž\else#1\fi |
| 66 |
} |
| 67 |
\def\slovenian@Alph#1{% |
| 68 |
\ifcase#1\or A\or B\or C\or Č\or D\or E\or F\or G\or H\or I\or J\or K\or L\or |
| 69 |
M\or N\or O\or P\or R\or S\or Š\or T\or U\or V\or Z\or Ž\else#1\fi |
| 70 |
} |
| 71 |
|
| 72 |
\def\abeceda#1{\expandafter\slovenian@alph\csname c@#1\endcsname} |
| 73 |
\def\Abeceda#1{\expandafter\slovenian@Alph\csname c@#1\endcsname} |
| 74 |
|
| 75 |
\def\extras@slovenian{% |
| 76 |
\ifslovenian@localalph\let\alph\abeceda\let\Alph\Abeceda\fi% |
| 77 |
} |
| 78 |
|
| 79 |
\def\blockextras@slovenian{\extras@slovenian} |
| 80 |
|
| 81 |
\def\inlineextras@slovenian{\extras@slovenian} |
| 82 |
|
| 83 |
\def\noextras@slovenian{% |
| 84 |
\let\alph\latinalph\let\Alph\latinAlph% |
| 85 |
} |
| 86 |
|
| 87 |
\endinput |