From e9c396e6c9c50bd04848e31671d6763d2b4b0a46 Mon Sep 17 00:00:00 2001
From: xvrabcov <xvrabcov@fi.muni.cz>
Date: Fri, 26 Mar 2021 14:11:09 +0100
Subject: [PATCH] Added faf to locales and locale/Makefile

---
 locale/Makefile    |  6 ++++--
 locale/czech.dtx   | 20 ++++++++++++++++++++
 locale/czech.ins   |  3 ++-
 locale/english.dtx | 20 ++++++++++++++++++++
 locale/english.ins |  3 ++-
 locale/slovak.dtx  | 21 +++++++++++++++++++++
 locale/slovak.ins  |  3 ++-
 7 files changed, 71 insertions(+), 5 deletions(-)

diff --git a/locale/Makefile b/locale/Makefile
index 3c4fa5a..221b69c 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -1,6 +1,6 @@
 LOGS=czech.log slovak.log english.log
 DIRECTORIES=mu/law mu/fsps mu/fss mu/econ mu/med mu/fi mu/phil \
-	mu/ped mu/sci mu
+	mu/ped mu/sci mu/faf mu
 OUTPUT=fithesis-czech.def mu/law/fithesis-czech.def \
 	mu/law/fithesis-slovak.def mu/law/fithesis-english.def \
 	mu/fithesis-czech.def mu/fsps/fithesis-czech.def \
@@ -16,7 +16,9 @@ OUTPUT=fithesis-czech.def mu/law/fithesis-czech.def \
 	mu/ped/fithesis-czech.def mu/ped/fithesis-slovak.def \
 	mu/ped/fithesis-english.def mu/fithesis-english.def \
 	mu/sci/fithesis-czech.def mu/sci/fithesis-slovak.def \
-	mu/sci/fithesis-english.def fithesis-slovak.def \
+	mu/sci/fithesis-english.def mu/faf/fithesis-czech.def \
+	mu/faf/fithesis-slovak.def mu/faf/fithesis-english.def \
+	fithesis-czech.def fithesis-slovak.def \
 	fithesis-english.def
 
 .PHONY: explode implode all
diff --git a/locale/czech.dtx b/locale/czech.dtx
index 9ccdca2..f2791e8 100644
--- a/locale/czech.dtx
+++ b/locale/czech.dtx
@@ -508,4 +508,24 @@
 
 %    \end{macrocode}\iffalse
 %</mu/sci>
+% \changes{v1.0.0}{2021/03/26}{Added specifics for the
+%   Faculty of Pharmacy. [TV]}
+% \fi\file{locale/mu/faf/fithesis-czech.def}
+% This is the Czech locale file specific to the Faculty of Pharmacy
+% at the Masaryk University in Brno.
+% It replaces the \texttt{facultyName} placeholder with the
+% correct value and redefines the \texttt{abstractTitle}
+% accordance with the guidelines of the faculty.
+% \iffalse
+% <*mu/faf>
+% \fi\begin{macrocode}
+\ProvidesFile{fithesis/locale/mu/faf/fithesis-czech.def}[2021/03/26]
+
+% Zástupné texty
+\gdef\thesis@czech@facultyName{Farmaceutická fakulta}
+
+% OstatnĂ­
+\gdef\thesis@czech@abstractTitle{Anotace}
+%    \end{macrocode}\iffalse
+%</mu/faf>
 % \fi
diff --git a/locale/czech.ins b/locale/czech.ins
index 65f9a2d..f8b34e6 100644
--- a/locale/czech.ins
+++ b/locale/czech.ins
@@ -9,5 +9,6 @@
           \file{mu/fi/fithesis-czech.def}{\from{czech.dtx}{mu/fi}}
           \file{mu/phil/fithesis-czech.def}{\from{czech.dtx}{mu/phil}}
           \file{mu/ped/fithesis-czech.def}{\from{czech.dtx}{mu/ped}}
-          \file{mu/sci/fithesis-czech.def}{\from{czech.dtx}{mu/sci}}}
+          \file{mu/sci/fithesis-czech.def}{\from{czech.dtx}{mu/sci}}
+	  \file{mu/faf/fithesis-czech.def}{\from{czech.dtx}{mu/faf}}}
 \endbatchfile
diff --git a/locale/english.dtx b/locale/english.dtx
index bd35032..bd6fd58 100644
--- a/locale/english.dtx
+++ b/locale/english.dtx
@@ -391,4 +391,24 @@
 
 %    \end{macrocode}\iffalse
 %</mu/sci>
+% \changes{v1.0.0}{2021/03/26}{Added specifics for the
+%   Faculty of Pharmacy. [TV]}
+% \fi\file{locale/mu/faf/fithesis-czech.def}
+% This is the Czech locale file specific to the Faculty of Pharmacy
+% at the Masaryk University in Brno.
+% It replaces the \texttt{facultyName} placeholder with the
+% correct value and redefines the \texttt{abstractTitle}
+% in accordance with the guidelines of the faculty.
+% \iffalse
+% <*mu/faf>
+% \fi\begin{macrocode}
+\ProvidesFile{fithesis/locale/mu/faf/fithesis-english.def}[2021/03/26]
+
+% Placeholders
+\gdef\thesis@english@facultyName{Faculty of Pharmacy}
+
+% Miscellaneous
+\gdef\thesis@english@abstractTitle{Annotation}
+%    \end{macrocode}\iffalse
+%</mu/faf>
 % \fi
diff --git a/locale/english.ins b/locale/english.ins
index 0fb30f4..3748e82 100644
--- a/locale/english.ins
+++ b/locale/english.ins
@@ -9,5 +9,6 @@
           \file{mu/fi/fithesis-english.def}{\from{english.dtx}{mu/fi}}
           \file{mu/phil/fithesis-english.def}{\from{english.dtx}{mu/phil}}
           \file{mu/ped/fithesis-english.def}{\from{english.dtx}{mu/ped}}
-          \file{mu/sci/fithesis-english.def}{\from{english.dtx}{mu/sci}}}
+          \file{mu/sci/fithesis-english.def}{\from{english.dtx}{mu/sci}}
+	  \file{mu/faf/fithesis-english.def}{\from{english.dtx}{mu/faf}}}
 \endbatchfile
diff --git a/locale/slovak.dtx b/locale/slovak.dtx
index f55e05b..d1cd863 100644
--- a/locale/slovak.dtx
+++ b/locale/slovak.dtx
@@ -502,4 +502,25 @@
 
 %    \end{macrocode}\iffalse
 %</mu/sci>
+% \changes{v1.0.0}{2021/03/26}{Added specifics for the
+%   Faculty of Pharmacy. [TV]}
+% \fi\file{locale/mu/faf/fithesis-czech.def}
+% This is the Czech locale file specific to the Faculty of Pharmacy
+% at the Masaryk University in Brno.
+% It replaces the \texttt{facultyName} placeholder with the
+% correct value and redefines the \texttt{abstractTitle}
+% in accordance with the guidelines of the faculty.
+% \iffalse
+% <*mu/faf>
+% \fi\begin{macrocode}
+\ProvidesFile{fithesis/locale/mu/faf/fithesis-slovak.def}[2021/03/26]
+
+% Zástupné texty
+\gdef\thesis@slovak@facultyName{Farmaceutická fakulta}
+%    \end{macrocode}\iffalse
+
+% RĂ´zne
+\gdef\thesis@slovak@abstractTitle{Anotácie}
+%    \end{macrocode}\iffalse
+%</mu/faf>
 % \fi
diff --git a/locale/slovak.ins b/locale/slovak.ins
index cebead0..dac7f92 100644
--- a/locale/slovak.ins
+++ b/locale/slovak.ins
@@ -9,5 +9,6 @@
           \file{mu/fi/fithesis-slovak.def}{\from{slovak.dtx}{mu/fi}}
           \file{mu/phil/fithesis-slovak.def}{\from{slovak.dtx}{mu/phil}}
           \file{mu/ped/fithesis-slovak.def}{\from{slovak.dtx}{mu/ped}}
-          \file{mu/sci/fithesis-slovak.def}{\from{slovak.dtx}{mu/sci}}}
+          \file{mu/sci/fithesis-slovak.def}{\from{slovak.dtx}{mu/sci}}
+	  \file{mu/faf/fithesis-slovak.def}{\from{slovak.dtx}{mu/faf}}}
 \endbatchfile
-- 
GitLab