Added thesis language

This commit is contained in:
2025-10-06 20:35:26 +02:00
parent 4d40632db0
commit 4705b6ec68
3 changed files with 40 additions and 0 deletions

17
data.js
View File

@@ -13,6 +13,13 @@ let steps = {
type: ""
}
},
language: {
title: "V jakém jazyce budete práci tvořit?",
layout: language_layout,
result: {
lang: "cs"
}
},
thesis_title: {
title: "Jak se bude práce jmenovat?",
layout: thesis_title_layout,
@@ -118,6 +125,15 @@ const theses = {
}
}
const languages = {
"cs": {
name: "Čeština"
},
"en": {
name: "Angličtina"
}
}
const pronounss = {
"masculine": {
name: "Mužský rod"
@@ -135,6 +151,7 @@ const typst_header = `#import "template/template.typ": *
#show: tultemplate2.with(
faculty: "{faculty.name}",
document: "{thesis_type.type}",
lang: "{language.lang}",
title: (cs: "{thesis_title.cs}", en: "{thesis_title.en}"),
author: "{author_info.name}",
author_pronouns: "{author_info.pronouns}",