added translation for title page
This commit is contained in:
parent
50639bce0a
commit
3cfb0cf9c8
|
@ -27,24 +27,45 @@
|
||||||
#prelude.largetext(prelude.info.typ)
|
#prelude.largetext(prelude.info.typ)
|
||||||
|
|
||||||
// number of semester
|
// number of semester
|
||||||
|
#if prelude.format.language == "de" [
|
||||||
Praxisphase des #prelude.info.semester Studienjahrs
|
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)[
|
||||||
|
#if prelude.format.language == "de" [
|
||||||
an der Fakultät für #prelude.info.fakultät
|
an der Fakultät für #prelude.info.fakultät
|
||||||
#linebreak()
|
#linebreak()
|
||||||
im Studiengang #prelude.info.studiengang
|
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)[
|
||||||
|
#if prelude.format.language == "de" [
|
||||||
an der
|
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)
|
||||||
|
|
||||||
|
#if prelude.format.language == "de" [
|
||||||
#table(
|
#table(
|
||||||
columns: 2,
|
columns: 2,
|
||||||
align: left,
|
align: left,
|
||||||
|
@ -68,14 +89,48 @@ Praxisphase des #prelude.info.semester Studienjahrs
|
||||||
"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