From 6ea3ea065d72f1dd1229cd1ab37be377019501ad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 22 May 2014 22:00:35 +0000 Subject: polyglossia (22may14) git-svn-id: svn://tug.org/texlive/trunk@34205 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/polyglossia/gloss-german.ldf | 30 ++++++++++++++++------ 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf') diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf index dc29c14f254..e3e343c48eb 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-german.ldf @@ -33,6 +33,15 @@ \fi } +\newif\if@austrian@locale +\@austrian@localefalse +\def\tmp@austrian{austrian} +\define@key{german}{variant}[german]{% + \def\@tmpa{#1}% + \ifx\@tmpa\tmp@austrian\@austrian@localetrue\else + \@austrian@localefalse% + \fi} + \newif\if@german@fraktur \def\tmp@fraktur{fraktur} \define@key{german}{script}[latin]{% @@ -125,13 +134,17 @@ } \def\date@german{% \def\today{\number\day.% - \space \ifcase\month%TODO add option for Austrian forms (Jänner etc) - \or Januar\or Februar\or März\or April\or Mai\or Juni\or% - Juli\or August\or September\or Oktober\or November\or% - Dezember\fi + \space \ifcase\month% + \or\if@austrian@locale Jänner\else Januar\fi\or Februar\or März\or% + April\or Mai\or Juni\or Juli\or August\or September\or Oktober\or% + November\or Dezember\fi \space \number\year}% } +\def\captions@german@austrian{% + \def\enclname{Beilage(n)}% +} + %%Strings for Fraktur contributed by Gerrit \def\captions@german@fraktur{% \captions@german% @@ -143,15 +156,16 @@ \def\date@german@fraktur{% \def\today{\number\day.% - \space \ifcase\month%TODO add option for Austrian forms (Jänner etc) - \or Januar\or Februar\or März\or April\or Mai\or Juni\or% - Juli\or Auguſt\or September\or Oktober\or November\or% - Dezember\fi + \space \ifcase\month% + \or\if@austrian@locale Jänner\else Januar\fi\or Februar\or März\or% + April\or Mai\or Juni\or Juli\or Auguſt\or September\or Oktober\or% + November\or Dezember\fi \space \number\year}% } \def\captionsgerman{% \if@german@fraktur\captions@german@fraktur\else\captions@german\fi + \if@austrian@locale\captions@german@austrian\fi } \def\dategerman{% -- cgit v1.2.3