added translation for title page
This commit is contained in:
parent
50639bce0a
commit
3cfb0cf9c8
|
@ -27,55 +27,110 @@
|
||||||
#prelude.largetext(prelude.info.typ)
|
#prelude.largetext(prelude.info.typ)
|
||||||
|
|
||||||
// number of semester
|
// number of semester
|
||||||
Praxisphase des #prelude.info.semester Studienjahrs
|
#if prelude.format.language == "de" [
|
||||||
|
Praxisphase des #prelude.info.semester Studienjahrs
|
||||||
|
] else if prelude.format.language == "en" [
|
||||||
|
Practical phase of the #prelude.info.semester academic year
|
||||||
|
] else [
|
||||||
|
#panic("no translation for language: ", prelude.format.language)
|
||||||
|
]
|
||||||
|
|
||||||
// fakulty
|
// fakulty
|
||||||
#pad(top: 0.5cm)[
|
#pad(top: 0.5cm)[
|
||||||
an der Fakultät für #prelude.info.fakultät
|
#if prelude.format.language == "de" [
|
||||||
#linebreak()
|
an der Fakultät für #prelude.info.fakultät
|
||||||
im Studiengang #prelude.info.studiengang
|
#linebreak()
|
||||||
|
im Studiengang #prelude.info.studiengang
|
||||||
|
] else if prelude.format.language == "en" [
|
||||||
|
at the Faculty of #prelude.info.fakultät
|
||||||
|
#linebreak()
|
||||||
|
in the degree program #prelude.info.studiengang
|
||||||
|
] else [
|
||||||
|
#panic("no translation for language: ", prelude.format.language)
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
// university
|
// university
|
||||||
#pad(top: 0.5cm)[
|
#pad(top: 0.5cm)[
|
||||||
an der
|
#if prelude.format.language == "de" [
|
||||||
|
an der
|
||||||
|
] else if prelude.format.language == "en" [
|
||||||
|
at
|
||||||
|
] else [
|
||||||
|
#panic("no translation for language: ", prelude.format.language)
|
||||||
|
]
|
||||||
#linebreak()
|
#linebreak()
|
||||||
#prelude.info.universität
|
#prelude.info.universität
|
||||||
]
|
]
|
||||||
|
|
||||||
#set align(bottom + left)
|
#set align(bottom + left)
|
||||||
|
|
||||||
#table(
|
#if prelude.format.language == "de" [
|
||||||
columns: 2,
|
#table(
|
||||||
align: left,
|
columns: 2,
|
||||||
stroke: none,
|
align: left,
|
||||||
|
stroke: none,
|
||||||
"Verfasser:",
|
|
||||||
prelude.info.autor,
|
"Verfasser:",
|
||||||
|
prelude.info.autor,
|
||||||
|
|
||||||
"Bearbeitungszeitraum:",
|
"Bearbeitungszeitraum:",
|
||||||
prelude.info.bearbeitungszeitraum,
|
prelude.info.bearbeitungszeitraum,
|
||||||
|
|
||||||
"Matrikelnummer, Kurs:",
|
"Matrikelnummer, Kurs:",
|
||||||
str(prelude.info.matrikelnummer) + ", " + prelude.info.studiengang,
|
str(prelude.info.matrikelnummer) + ", " + prelude.info.studiengang,
|
||||||
|
|
||||||
"Ausbildungsbetrieb:",
|
"Ausbildungsbetrieb:",
|
||||||
prelude.info.betrieb,
|
prelude.info.betrieb,
|
||||||
|
|
||||||
"Betrieblicher Betreuer:",
|
"Betrieblicher Betreuer:",
|
||||||
prelude.info.betreuer,
|
prelude.info.betreuer,
|
||||||
|
|
||||||
"Abgabedatum:",
|
"Abgabedatum:",
|
||||||
prelude.info.abgabe
|
prelude.info.abgabe
|
||||||
)
|
)
|
||||||
|
] else if prelude.format.language == "en" [
|
||||||
|
#table(
|
||||||
|
columns: 2,
|
||||||
|
align: left,
|
||||||
|
stroke: none,
|
||||||
|
|
||||||
|
"Author:",
|
||||||
|
prelude.info.autor,
|
||||||
|
|
||||||
|
"Editing period:",
|
||||||
|
prelude.info.bearbeitungszeitraum,
|
||||||
|
|
||||||
|
"Matriculation number, course:",
|
||||||
|
str(prelude.info.matrikelnummer) + ", " + prelude.info.studiengang,
|
||||||
|
|
||||||
|
"Training company:",
|
||||||
|
prelude.info.betrieb,
|
||||||
|
|
||||||
|
"Company supervisor:",
|
||||||
|
prelude.info.betreuer,
|
||||||
|
|
||||||
|
"Submission date:",
|
||||||
|
prelude.info.abgabe
|
||||||
|
)
|
||||||
|
] else [
|
||||||
|
#panic("no translation for language: ", prelude.format.language)
|
||||||
|
]
|
||||||
|
|
||||||
#pad(
|
#pad(
|
||||||
top: 1cm,
|
top: 1cm,
|
||||||
grid(
|
grid(
|
||||||
// set width of columns
|
// set width of columns
|
||||||
// we need two, so make both half the page width
|
// we need two, so make both half the page width
|
||||||
columns: (50%, 50%),
|
columns: (60%, 40%),
|
||||||
align(left, "Unterschrift des betrieblichen Betreuers"),
|
align(left, if prelude.format.language == "de" [
|
||||||
|
Unterschrift des betrieblichen Betreuers
|
||||||
|
] else if prelude.format.language == "en" [
|
||||||
|
Signature of the company supervisor
|
||||||
|
] else [
|
||||||
|
#panic("no translation for language: ", prelude.format.language)
|
||||||
|
]
|
||||||
|
),
|
||||||
align(right, {line(length: 6cm)})
|
align(right, {line(length: 6cm)})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue