%\iffalse
% glossaries-danish.dtx generated using makedtx version 1.1 (c) Nicola Talbot
% Command line args:
%   -src "(.*.ldf)=>\1"
%   -src "(.*.dict)=>\1"
%   -doc "glossaries-module.tex"
%   -author "Nicola Talbot"
%   glossaries-danish
% Created on 2014/11/24 18:09
%\fi
%\iffalse
%<*package>
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%</package>
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
% Copyright (C) 2014 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
\documentclass{nlctdoc}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\title{Glossaries Language Module: glossaries-danish}
\author{Nicola Talbot}
\date{version 1.0 (2014-11-23)}

\begin{document}
\DocInput{glossaries-danish.dtx}
\end{document}
%</driver>
%\fi
%\maketitle
%
%This language module simply needs to be installed. The \sty{glossaries}
%package will automatically load it if required.
%
%
%
%\StopEventually{}
%\section{The Code}
%\iffalse
%    \begin{macrocode}
%<*glossaries-danish.ldf>
%    \end{macrocode}
%\fi
%\subsection{glossaries-danish.ldf}
%    \begin{macrocode}
\ProvidesGlossariesLang{danish}[2014/11/23 v1.0]

\glsifusedtranslatordict{Danish}
{%
  \addglossarytocaptions{\CurrentTrackedLanguage}%
  \addglossarytocaptions{\CurrentTrackedDialect}%
}
{%
  \@ifpackageloaded{polyglossia}%
  {%
    \newcommand*{\glossariescaptionsdanish}{%
      \renewcommand*{\glossaryname}{\textdanish{Ordliste}}%
      \renewcommand*{\acronymname}{\textdanish{Akronymer}}%
      \renewcommand*{\entryname}{\textdanish{Symbolforklaring}}%
      \renewcommand*{\descriptionname}{\textdanish{Beskrivelse}}%
      \renewcommand*{\symbolname}{\textdanish{Symbol}}%
      \renewcommand*{\pagelistname}{\textdanish{Side}}%
      \renewcommand*{\glssymbolsgroupname}{\textdanish{Symboler}}%
      \renewcommand*{\glsnumbersgroupname}{\textdanish{Tal}}%
    }%
  }
  {%
    \newcommand*{\glossariescaptionsdanish}{%
      \renewcommand*{\glossaryname}{Ordliste}%
      \renewcommand*{\acronymname}{Akronymer}%
      \renewcommand*{\entryname}{Symbolforklaring}%
      \renewcommand*{\descriptionname}{Beskrivelse}%
      \renewcommand*{\symbolname}{Symbol}%
      \renewcommand*{\pagelistname}{Side}%
      \renewcommand*{\glssymbolsgroupname}{Symboler}%
      \renewcommand*{\glsnumbersgroupname}{Tal}%
    }%
  }%
  \ifcsdef{captions\CurrentTrackedDialect}
  {
    \csappto{captions\CurrentTrackedDialect}%
    {%
      \glossariescaptionsdanish
    }%
  }
  {%
    \ifcsdef{captions\CurrentTrackedLanguage}
    {
      \csappto{captions\CurrentTrackedLanguage}%
      {%
        \glossariescaptionsdanish
      }%
    }
    {%
    }
  }
  \glossariescaptionsdanish
}
%    \end{macrocode}
% General default plural suffix:
%    \begin{macrocode}
\renewcommand*{\glspluralsuffix}{s}
%    \end{macrocode}
% Acronym default plural suffix:
%    \begin{macrocode}
\renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
%    \end{macrocode}
% Acronym in \cs{textsc} default plural suffix
% (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
%    \begin{macrocode}
\renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
%    \end{macrocode}
%\iffalse
%    \begin{macrocode}
%</glossaries-danish.ldf>
%    \end{macrocode}
%\fi
%\iffalse
%    \begin{macrocode}
%<*glossaries-dictionary-Danish.dict>
%    \end{macrocode}
%\fi
%\subsection{glossaries-dictionary-Danish.dict}
%    \begin{macrocode}
\ProvidesDictionary{glossaries-dictionary}{Danish}

\providetranslation{Glossary}{Ordliste}
\providetranslation{Acronyms}{Akronymer}
\providetranslation{Notation (glossaries)}{Symbolforklaring}
\providetranslation{Description (glossaries)}{Beskrivelse}
\providetranslation{Symbol (glossaries)}{Symbol}
\providetranslation{Page List (glossaries)}{Side}
\providetranslation{Symbols (glossaries)}{Symboler}
\providetranslation{Numbers (glossaries)}{Tal}
%    \end{macrocode}
%\iffalse
%    \begin{macrocode}
%</glossaries-dictionary-Danish.dict>
%    \end{macrocode}
%\fi
%\Finale
\endinput