From 8848fa8bfc42e7846a3ee0df6a1a9cfd944c65e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= <witiko@mail.muni.cz>
Date: Fri, 2 Jun 2017 23:42:47 +0200
Subject: [PATCH] Lifted `authorSignature` and `formattedDate` to global locale
 interface.

---
 fithesis.dtx     |  7 +++++++
 style/mu/sci.dtx | 14 ++------------
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/fithesis.dtx b/fithesis.dtx
index 412b16e..aeedf6a 100644
--- a/fithesis.dtx
+++ b/fithesis.dtx
@@ -1927,6 +1927,13 @@
 %     the current semester
 %   \item|\thesis@|\textit{locale}|@typeName| -- The name of the
 %     thesis type
+% \changes{v0.3.46}{2017/06/02}{Lifted the \texttt{authorSignature}
+%   and \texttt{formattedDate} strings to the global locale file
+%   interface. [VN]}
+%   \item|\thesis@|\textit{locale}|@authorSignature| -- The label
+%     of the author's signature field
+%   \item|\thesis@|\textit{locale}|@formattedDate| -- A formatted
+%     date
 % \end{itemize} where \textit{locale} is the name of the locale.
 %
 % \def\file#1{\paragraph{The \texttt{#1} file}}
diff --git a/style/mu/sci.dtx b/style/mu/sci.dtx
index 16220c0..365e52b 100644
--- a/style/mu/sci.dtx
+++ b/style/mu/sci.dtx
@@ -6,7 +6,7 @@
 % \url{http://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}.
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2017/05/28]
+\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2017/06/02]
 %    \end{macrocode}
 % The file defines the color scheme of the respective faculty. Note
 % the the color definitions are in RGB, which makes the resulting
@@ -579,16 +579,6 @@
 % the \texttt{style/mu/fithesis-sci.sty} file, this definition
 % includes the date and a blank line for the author's signature, as
 % per the requirements of the faculty.
-%
-% Along with the macros required by the locale file interface, the
-% locale files need to define the following macros:
-% \begin{itemize}
-%   \item\DescribeMacro{\thesis@czech@authorSignature}
-%     |\thesis@czech@authorSignature| -- The label of the author's
-%       signature field
-%   \item\DescribeMacro{\thesis@czech@formattedDate}
-%     |\thesis@czech@formattedDate| -- A formatted date
-% \end{itemize}
 %    \begin{macrocode}
 \def\thesis@blocks@declaration{%
   \begin{alwayssingle}%
@@ -601,7 +591,7 @@
     {\let\@A\relax\newlength{\@A}
       \settowidth{\@A}{\thesis@@{authorSignature}}
       \setlength{\@A}{\@A+1cm}
-    \noindent\thesis@place, \thesis@czech@formattedDate\hfill
+    \noindent\thesis@place, \thesis@@{formattedDate}\hfill
     \begin{minipage}[t]{\@A}%
       \centering\rule{\@A}{1pt}\\
       \thesis@@{authorSignature}\par
-- 
GitLab