-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlocalization.typ
More file actions
146 lines (145 loc) · 3.68 KB
/
localization.typ
File metadata and controls
146 lines (145 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#let literals = (
en: (
university: "Slovak Technical University in Bratislava",
faculty: "Faculty of Informatics and Information Technologies",
title-page: (
fields: (
program: "Programme",
field: "Study field",
department: "Department",
supervisor-bachelors: "Supervisor",
supervisor-masters: "Supervisor",
),
values: (
month: (
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
),
thesis: (
bp2: "Bachelor's thesis",
dp3: "Master's thesis",
bp1: "Interim report on BP1",
dp1: "Interim report on DP1",
dp2: "Interim report on DP2",
),
program: (
informatics: "Informatics",
),
field: (
informatics: "Informatics",
),
department: (
upai: "Institute of Computer Engineering and Applied Informatics",
iise: "Institute of Informatics, Information Systems and Software Engineering",
),
),
),
annotation: (
title: "Annotation",
author: "Author",
),
acknowledgment: "Acknowledgment",
contents: (
title: "Contents",
tables: "List of tables",
figures: "List of figures",
abbreviations: "List of abbreviations",
),
chapter: (
title: "Chapter",
),
figures: (
raw: "Listing",
table: "Table",
figure: "Figure",
),
appendix: "Appendix",
legacy-appendix: "Appendix",
bibliography: "Bibliography",
),
sk: (
university: "Slovenská technická univerzita v Bratislave",
faculty: "Fakulta informatiky a informačných technológií",
title-page: (
fields: (
program: "Študijný program",
field: "Študijný odbor",
department: "Miesto vypracovania",
supervisor-bachelors: "Vedúci bakalárskej práce",
supervisor-masters: "Vedúci diplomovej práce",
),
values: (
month: (
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December",
),
thesis: (
bp2: "Bakalárska práca",
dp3: "Diplomová práca",
bp1: "Priebežná správa o riešení BP1",
dp1: "Priebežná správa o riešení DP1",
dp2: "Priebežná správa o riešení DP2",
),
program: (
informatics: "Informatika",
),
field: (
informatics: "Informatika",
),
department: (
upai: "Ústav informatiky, informačných systémov a softvérového inžinierstva",
iise: "Ústav počítačového inžinierstva a aplikovanej informatiky",
),
),
),
annotation: (
title: "Anotácia",
author: "Autor",
),
acknowledgment: "Poďakovanie",
contents: (
title: "Obsah",
tables: "Zoznam tabuliek",
figures: "Zoznam obrázkov",
abbreviations: "Zoznam použitých skratiek",
),
chapter: (
title: "Kapitola",
),
figures: (
raw: "Výpis",
table: "Tabuľka",
figure: "Obrázok",
),
appendix: "Príloha",
legacy-appendix: "Dodatok",
bibliography: "Literatúra",
),
)
#let localization(lang: "sk") = {
assert(
lang == "en" or lang == "sk",
message: "please select a valid language for localization to work",
)
return literals.at(lang)
}