diff --git a/examples/exam-localization.typ b/examples/exam-localization.typ index f39006c..5874753 100644 --- a/examples/exam-localization.typ +++ b/examples/exam-localization.typ @@ -11,7 +11,7 @@ page: [], page-counter-display: "1 - 1", family-name: "*Family* _name_", - personal-name: "*Personal* _name_", + given-name: "*Given* _name_", group: [*Classroom*], date: [*Date* of exam] ), diff --git a/src/auxiliary.typ b/src/auxiliary.typ index bb41efa..e953f9a 100644 --- a/src/auxiliary.typ +++ b/src/auxiliary.typ @@ -2,7 +2,7 @@ #let __g-student-data(show-line-two: true) = { locate(loc => { - [#__g-localization.final(loc).family-name: #box(width: 2fr, repeat[.]) #__g-localization.final(loc).personal-name: #box(width:1fr, repeat[.])] + [#__g-localization.final(loc).family-name: #box(width: 2fr, repeat[.]) #__g-localization.final(loc).given-name: #box(width:1fr, repeat[.])] if show-line-two { v(1pt) align(right, [#__g-localization.final(loc).group: #box(width:2.5cm, repeat[.]) #__g-localization.final(loc).date: #box(width:3cm, repeat[.])]) @@ -135,7 +135,7 @@ page: none, page-counter-display: none, family-name: none, - personal-name: none, + given-name: none, group: none, date: none )) => { @@ -163,7 +163,7 @@ let __page = __read-localization_value(read_lang_data: __read_lang_data, field: "page", localization: localization) let __page-counter-display = __read-localization_value(read_lang_data: __read_lang_data, field: "page-counter-display", localization: localization) let __family_name = __read-localization_value(read_lang_data: __read_lang_data, field: "family-name", localization: localization) - let __personal_name = __read-localization_value(read_lang_data: __read_lang_data, field: "personal-name", localization: localization) + let __given_name_name = __read-localization_value(read_lang_data: __read_lang_data, field: "given-name", localization: localization) let __group = __read-localization_value(read_lang_data: __read_lang_data, field: "group", localization: localization) let __date = __read-localization_value(read_lang_data: __read_lang_data, field: "date", localization: localization) @@ -177,7 +177,7 @@ page: __page, page-counter-display: __page-counter-display, family-name: __family_name, - personal-name: __personal_name, + given-name: __given_name, group: __group, date: __date, ) diff --git a/src/g-exam.typ b/src/g-exam.typ index 4c03d79..06f1fc1 100644 --- a/src/g-exam.typ +++ b/src/g-exam.typ @@ -53,7 +53,7 @@ page: none, page-counter-display: none, family-name: none, - personal-name: none, + given-name: none, group: none, date: none ), diff --git a/src/global.typ b/src/global.typ index 57646e8..795e482 100644 --- a/src/global.typ +++ b/src/global.typ @@ -18,7 +18,7 @@ page: "Page", page-counter-display: "1 of 1", family-name: "Surname", - personal-name: "Name", + given-name: "Name", group: "Group", date: "Date" ) diff --git a/src/lang.toml b/src/lang.toml index 2ce535a..40dc027 100644 --- a/src/lang.toml +++ b/src/lang.toml @@ -8,7 +8,7 @@ points = "points" page = "Page" page-counter-display = "1 of 1" family-name = "Surname" -personal-name = "Name" +given-name = "Name" group = "Group" date = "Date" @@ -22,7 +22,7 @@ points = "puntos" page = "Página" page-counter-display = "1 de 1" family-name = "Apellidos" -personal-name = "Nombre" +given-name = "Nombre" group = "Grupo" date = "Fecha" @@ -36,7 +36,7 @@ points = "points" page = "Seite" page-counter-display = "1 von 1" family-name = "Nachname" -personal-name = "Vor-und" +given-name = "Vor-und" group = "Gruppe" date = "Datum" @@ -50,7 +50,7 @@ points = "aiguillage" page = "Page" page-counter-display = "1 sur 1" family-name = "Prénom" -personal-name = "Nom" +given-name = "Nom" group = "Groupe" date = "Date" @@ -64,7 +64,7 @@ points = "pontos" page = "Página" page-counter-display = "1 de 1" family-name = "Apelido" -personal-name = "Nome" +given-name = "Nome" group = "Grupo" date = "Data" @@ -78,6 +78,6 @@ points = "punti" page = "Pagina" page-counter-display = "1 di 1" family-name = "Cognome" -personal-name = "Nome" +given-name = "Nome" group = "Gruppo" date = "Dattero"