Skip to content

Commit

Permalink
Fix English denomination for the cycle in Formatting.sty
Browse files Browse the repository at this point in the history
Set cycle denomination to English "cycle degree" and add the Portuguese translation "ciclo de estudos".

Closes  #4
  • Loading branch information
mbb78 committed Jun 14, 2024
1 parent 183988d commit c1ec355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template-ubi/Formatting.sty
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
% Número do ciclo de estudos
\newcommand{\studiescyclenumber}[1]{\def\studiescyclenumberstr{#1}}
% Texto que sucede o número do ciclo de estudos
\newcommand{\studiescycle}{ciclo de estudos}
\newcommand{\studiescycle}{cycle degree}
\newcommand{\candidate}{Candidate}
\newcommand{\thanksname}{Acknowledgements}
\newcommand{\fundingname}{} %\newcommand{\fundingname}{Funding}
Expand Down Expand Up @@ -198,6 +198,7 @@
% Comentar para escrever em modo PDFLaTeX http://www.ctan.org/tex-archive/macros/latex/contrib/polyglossia
\newcommand{\portugues}{
\setmainlanguage{portuges}
\addto\captionsportuguese{\renewcommand{\studiescycle}{ciclo de estudos}}
\addto\captionsportuguese{\renewcommand{\contentsname}{Índice}}
\addto\captionsportuguese{\renewcommand{\indexname}{Índice Remissivo}}
\addto\captionsportuguese{\renewcommand{\prefacename}{Prefácio}}
Expand Down

0 comments on commit c1ec355

Please sign in to comment.