From 2b05b778a6f9865a60317cea2de8dbe0cbf1f220 Mon Sep 17 00:00:00 2001 From: witiko <witiko@gmail.com> Date: Sat, 2 May 2015 08:43:50 +0200 Subject: [PATCH] Added locale strings for the `\thesis@id` macro. --- fithesis3/fithesis.dtx | 6 ++++-- fithesis3/locale/czech.dtx | 11 +++++++++-- fithesis3/locale/english.dtx | 14 ++++++++++---- fithesis3/locale/slovak.dtx | 13 ++++++++++--- 4 files changed, 33 insertions(+), 11 deletions(-) diff --git a/fithesis3/fithesis.dtx b/fithesis3/fithesis.dtx index e5a6ff0..9198f35 100644 --- a/fithesis3/fithesis.dtx +++ b/fithesis3/fithesis.dtx @@ -356,9 +356,11 @@ % The \marg{\texttt{id}=identifier} pair sets the identifier % of the thesis author to \textit{identifier}. This usually % corresponds to a unique identifier of the author within the -% information system of the given university. +% information system of the given university. The default value of +% the macro is |\thesis@@{placeholders@id}|. % \begin{macrocode} -\define@key{thesis}{id}{% +\def\thesis@id{\thesis@@{placeholders@id}} + \define@key{thesis}{id}{% \def\thesis@id{#1}} % \end{macrocode} % \end{macro} diff --git a/fithesis3/locale/czech.dtx b/fithesis3/locale/czech.dtx index 2b0666a..cdc983c 100644 --- a/fithesis3/locale/czech.dtx +++ b/fithesis3/locale/czech.dtx @@ -31,6 +31,7 @@ \def\thesis@czech@placeholders@programme{Název studijnĂho programu} \def\thesis@czech@placeholders@field{Název studijnĂho oboru} +\def\thesis@czech@placeholders@id{Identifikátor} \def\thesis@czech@assignment{MĂsto tohoto listu vloĹľte kopii oficiálnĂho podepsanĂ©ho zadánĂ práce.} \def\thesis@czech@declaration{Text prohlášenĂ ...} @@ -43,6 +44,7 @@ \def\thesis@czech@keywordsTitle{KlĂÄŤová slova} \def\thesis@czech@thanksTitle{PodÄ›kovánĂ} \def\thesis@czech@declarationTitle{ProhlášenĂ} +\def\thesis@czech@idTitle{ID} \def\thesis@czech@winter{Jaro} \def\thesis@czech@summer{Podzim} \def\thesis@czech@semester{% @@ -76,8 +78,9 @@ % \fi\file{locale/mu/czech.def} % This is the Czech locale file specific to the Masaryk % University in Brno. It replaces the \texttt{universityName} -% placeholder with the correct value and defines a placeholder -% declaration text. +% placeholder with the correct value and defines the +% \texttt{declaration}, \texttt{placeholders@id} and +% \texttt{idTitle} strings. % \iffalse %<*mu> % \fi\begin{macrocode} @@ -90,6 +93,10 @@ \thesis@czech@gender@koncovka\ samostatnÄ› a pouĹľil\thesis@czech@gender@koncovka\ jen prameny uvedenĂ©~v seznamu literatury.} +\def\thesis@czech@placeholders@id{UÄŚO} + +% RĹŻznĂ© +\def\thesis@czech@idTitle{UÄŚO} % \end{macrocode}\iffalse %</mu> % \fi\file{locale/mu/law/czech.def} diff --git a/fithesis3/locale/english.dtx b/fithesis3/locale/english.dtx index 6149592..1ed7d13 100644 --- a/fithesis3/locale/english.dtx +++ b/fithesis3/locale/english.dtx @@ -1,7 +1,6 @@ % \file{locale/english.def} % This is the base file of the English locale. It defines all the -% private macros mandated by the locale file interface. -% +% private macros mandated by the locale file interface. % \iffalse %<*base> % \fi\begin{macrocode} @@ -21,6 +20,7 @@ \def\thesis@english@placeholders@department{Department name} \def\thesis@english@placeholders@programme{Study programme name} \def\thesis@english@placeholders@field{The field of study} +\def\thesis@english@placeholders@id{Identifier} \def\thesis@english@assignment{Replace this page with a copy of the official signed thesis assignment.} \def\thesis@english@declaration{Declaration text ...} @@ -33,6 +33,7 @@ \def\thesis@english@keywordsTitle{Keywords} \def\thesis@english@thanksTitle{Acknowledgement} \def\thesis@english@declarationTitle{Declaration} +\def\thesis@english@idTitle{ID} \def\thesis@english@winter{Spring} \def\thesis@english@summer{Fall} \def\thesis@english@semester{% @@ -55,17 +56,22 @@ % This is the English locale file specific to the Masaryk % University in Brno. It replaces the \texttt{universityName} % placeholder with the correct value and defines the -% \texttt{declarationEn} string. +% \texttt{declaration}, \texttt{placeholders@id} and +% \texttt{idTitle} strings. % \iffalse %<*mu> % \fi\begin{macrocode} \ProvidesFile{fithesis3/locale/mu/english.def}[2015/04/18] \def\thesis@english@universityName{Masaryk University} \def\thesis@english@declaration{% - Hereby I declare that this paper is my original authorial work, + Hereby I declare that this paper is my original authorial work, which I have worked out by my own. All sources, references and literature used or excerpted during elaboration of this work are properly cited and listed in complete reference to the due source.} +\def\thesis@english@placeholders@id{UÄŚO} + +% Miscellaneous +\def\thesis@english@idTitle{UÄŚO} % \end{macrocode}\iffalse %</mu> % \fi\file{locale/mu/law/english.def} diff --git a/fithesis3/locale/slovak.dtx b/fithesis3/locale/slovak.dtx index cfbcf2a..b404b61 100644 --- a/fithesis3/locale/slovak.dtx +++ b/fithesis3/locale/slovak.dtx @@ -1,6 +1,6 @@ % \file{locale/slovak.def} % This is the base file of the Slovak locale. It defines all the -% private macros mandated by the locale file interface. +% private macros mandated by the locale file interface. % \begin{macro}{\thesis@slovak@gender@koncovka} % The locale file defines the |\thesis@slovak@gender@koncovka| % macro, which expands to the correct verb ending based on the @@ -29,6 +29,7 @@ \def\thesis@slovak@placeholders@programme{Názov študijnĂ©ho programu} \def\thesis@slovak@placeholders@field{Název študijnĂ©ho odboru} +\def\thesis@slovak@placeholders@id{Identifikátor} \def\thesis@slovak@assignment{Namiesto tejto stránky vloĹľte kĂłpiu oficiálneho podpĂsanĂ©ho zadania práce.} \def\thesis@slovak@declaration{Text prehlásenie ...} @@ -41,6 +42,7 @@ \def\thesis@slovak@keywordsTitle{KľúčovĂ© slová} \def\thesis@slovak@thanksTitle{PoÄŹakovanie} \def\thesis@slovak@declarationTitle{Prehlásenie} +\def\thesis@slovak@idTitle{ID} \def\thesis@slovak@winter{Jar} \def\thesis@slovak@summer{JeseĹ} \def\thesis@slovak@semester{% @@ -74,8 +76,9 @@ % \fi\file{locale/mu/slovak.def} % This is the Slovak locale file specific to the Masaryk % University in Brno. It replaces the \texttt{universityName} -% placeholder with the correct value and defines a placeholder -% declaration text. +% placeholder with the correct value and defines the +% \texttt{declaration}, \texttt{placeholders@id} and +% \texttt{idTitle} strings. % \iffalse %<*mu> % \fi\begin{macrocode} @@ -88,6 +91,10 @@ slovak@typeName@akuzativ} vypracoval% \thesis@slovak@gender@koncovka\ samostatne len s~pouĹľitĂm uvedenej literatĂşry a prameĹov.} +\def\thesis@slovak@placeholders@id{UÄŚO} + +% RĂ´zne +\def\thesis@slovak@idTitle{UÄŚO} % \end{macrocode}\iffalse %</mu> % \fi\file{locale/mu/law/slovak.def} -- GitLab