summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty')
-rw-r--r--macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty32
1 files changed, 21 insertions, 11 deletions
diff --git a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty
index 3f9a6e7b06..b52807439e 100644
--- a/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty
+++ b/macros/latex/contrib/iodhbwm/tex/iodhbwm-templates.sty
@@ -7,7 +7,7 @@
% Felix Faltin
% E-Mail: ffaltin91@gmail.com
% ----------------------------------------------------------
-% Copyright 2017-2019 Felix Faltin
+% Copyright 2017-2020 Felix Faltin
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -23,8 +23,8 @@
%
% ----------------------------------------------------------
-\newcommand*{\iodhbwm@pkg@version}{v1.1.1}
-\newcommand*{\iodhbwm@pkg@date}{2019-09-08}
+\newcommand*{\iodhbwm@pkg@version}{v1.2}
+\newcommand*{\iodhbwm@pkg@date}{2020-04-01}
\newcommand*{\iodhbwm@pkg@info}{Inoffical DHBW Mannheim thesis package}
\newcommand*{\iodhbwm@pkg@name}{iodhbwm-templates}
@@ -67,11 +67,28 @@
\newbool{iodhbwm@if@print@lof}
\newbool{iodhbwm@if@print@location}
\newbool{iodhbwm@if@oldpagestyle}
+\newbool{iodhbwm@if@supported@language}
+
+% ----------------------------------------------------------
+% Define language depended settings
+% ----------------------------------------------------------
+% Default language: ngerman
+\newcommand*{\iodhbwm@file@prefix}{i18n/ngerman/dhbw}
+
+\def\iodhbwm@bachelor@type@boe{Bachelor of Engineering}
+\def\iodhbwm@bachelor@type@bos{Bachelor of Science}
+\def\iodhbwm@bachelor@type@boa{Bachelor of Arts}
+
+\def\iodhbwm@thesis@type@ba{Bachelorarbeit}
+\def\iodhbwm@thesis@type@pa{Projektarbeit}
+\def\iodhbwm@thesis@type@sa{Studienarbeit}
+
+\iflanguage{ngerman}{\booltrue{iodhbwm@if@supported@language}}{}
+\input{i18n.def}
% ----------------------------------------------------------
% Define internal commands
% ----------------------------------------------------------
-\newcommand*{\iodhbwm@file@prefix}{dhbw}
\newcommand*{\iodhbwm@file@ending}{.def}
\edef\iodhbwm@file@titlepage@default{\iodhbwm@file@prefix-titlepage\iodhbwm@file@ending}
\edef\iodhbwm@file@titlepage@ba{\iodhbwm@file@prefix-titlepage-ba\iodhbwm@file@ending}
@@ -80,13 +97,6 @@
\edef\iodhbwm@file@declaration@default{\iodhbwm@file@prefix-declaration\iodhbwm@file@ending}
\edef\iodhbwm@file@abstract@default{\iodhbwm@file@prefix-abstract.inc}
-\def\iodhbwm@bachelor@type@boe{Bachelor of Engineering}
-\def\iodhbwm@bachelor@type@bos{Bachelor of Science}
-\def\iodhbwm@bachelor@type@boa{Bachelor of Arts}
-
-\def\iodhbwm@thesis@type@ba{Bachelorarbeit}
-\def\iodhbwm@thesis@type@pa{Projektarbeit}
-\def\iodhbwm@thesis@type@sa{Studienarbeit}
\def\iodhbwm@dhbw@location@default{Mannheim}
\def\iodhbwm@dhbw@logo@default{dhbw-logo}