Add Polish language

This commit is contained in:
Augusto Gunsch 2023-01-25 21:15:56 +01:00
parent 90ecb8bf64
commit d3770d5520
2 changed files with 11 additions and 3 deletions

View File

@ -216,7 +216,7 @@ class PdfFile(FromTeX):
def run_pdflatex(self): def run_pdflatex(self):
args = [ args = [
'pdflatex', 'xelatex',
'-jobname', self.output_file.stem, '-jobname', self.output_file.stem,
'-output-directory', self.output_file.parent, '-output-directory', self.output_file.parent,
'-shell-escape' '-shell-escape'

View File

@ -12,13 +12,21 @@
Título: \hfill \@title\\ Título: \hfill \@title\\
Autor: \hfill \@author\\ Autor: \hfill \@author\\
Data da Ficha: \hfill \@date\\ Data da Ficha: \hfill \@date\\
\rule{\textwidth}{0.4pt} }
{
\IfLanguageName{polish}
{
\noindent\large
Tytuł: \hfill \@title\\
Autor: \hfill \@author\\
Data Reportu: \hfill \@date\\
} }
{ {
\noindent\large \noindent\large
Title: \hfill \@title\\ Title: \hfill \@title\\
Author: \hfill \@author\\ Author: \hfill \@author\\
Report Date: \hfill \@date\\ Report Date: \hfill \@date\\
\rule{\textwidth}{0.4pt}
} }
}
\rule{\textwidth}{0.4pt}
} }