Merge pull request #123 from refilc/dev

dev to master (v5.0.2)
This commit is contained in:
Márton Kiss
2024-06-16 21:43:07 +02:00
committed by GitHub
19 changed files with 319 additions and 92 deletions

View File

@@ -276,4 +276,4 @@ class ErrorDetail extends StatelessWidget {
),
);
}
}
}

View File

@@ -5,7 +5,7 @@ extension SettingsLocalization on String {
{
"en_en": {
"ekretaYou": "e-KRÉTA, you",
"description": "An error occurred!",
"description": "Unexpected error while using the application!",
"submit": "Submit",
"goback": "Go back",
"details": "Details",
@@ -15,11 +15,11 @@ extension SettingsLocalization on String {
"stack": "Stack Trace",
"done": "Done",
"smth_went_wrong":
"Something went wrong, it is of course the fault of Educational Development Informatikai Zrt. (e-KRÉTA) in any case! /s",
"An unexpected error occurred while using the app.",
},
"hu_hu": {
"ekretaYou": "e-KRÉTA, te",
"description": "Fasz-emulátor hivatásos balfasz!",
"description": "Váratlan hiba az alkalmazás használata közben!",
"submit": "Hiba jelentése",
"goback": "Vissza",
"details": "Részletek",
@@ -29,11 +29,11 @@ extension SettingsLocalization on String {
"stack": "Stacktrace",
"done": "Kész",
"smth_went_wrong":
"Valami probléma történt, ez természetesen az Educational Development Informatikai Zrt. (e-KRÉTA) hibája minden esetben! /s",
"Nem várt hiba következett be az alkalmazás használata közben.",
},
"de_de": {
"ekretaYou": "e-KRÉTA, du",
"description": "Ein Fehler ist aufgetreten!",
"description": "Unerwarteter Fehler bei der Benutzung der Anwendung!",
"submit": "Abschicken",
"goback": "Zurück",
"details": "Details",
@@ -43,7 +43,7 @@ extension SettingsLocalization on String {
"stack": "Stack Trace",
"done": "Fertig",
"smth_went_wrong":
"Irgendetwas ist schief gelaufen, es ist natürlich auf jeden Fall die Schuld der Educational Development Informatikai Zrt. (e-KRÉTA)! /s",
"Bei der Benutzung der Anwendung ist ein unerwarteter Fehler aufgetreten.",
},
};

View File

@@ -59,10 +59,6 @@ class AccountView extends StatelessWidget {
const SizedBox(
height: 10.0,
),
// Detail(
// title: "parents".i18n,
// description: user.student.parents.join(", ")),
Detail(title: "school".i18n, description: user.student.school.name),
],
),
);

View File

@@ -8,22 +8,22 @@ extension Localization on String {
"school": "School",
"class": "Class",
"address": "Home address",
"parents": "Parents".one("Parent"),
"parents_phone": "Parents' phone number: ".one("Parent"),
"parents": "Parent(s)",
"parents_phone": "Parents' phone number: ",
},
"hu_hu": {
"birthdate": "Születési dátum",
"school": "Iskola",
"class": "Osztály",
"address": "Lakcím",
"parents": "Szülők".one("Szülő"),
"parents": "Szülő(k)",
},
"de_de": {
"birthdate": "Geburtsdatum",
"school": "Schule",
"class": "Klasse",
"address": "Wohnanschrift",
"parents": "Eltern",
"parents": "Elter(n)",
},
};

View File

@@ -4,6 +4,8 @@ extension SettingsLocalization on String {
static final _t = Translations.byLocale("hu_hu") +
{
"en_en": {
"heads_up": "Heads up!",
"export_warning": "Exported grades are currently not yet viewable in reFilc, you'll only be able to view them manually in JSON format. In the future, this functionality will be extended and you will be able to view the tickets in the app interface.",
"personal_details": "Personal Details",
"open_dkt": "Open DCS",
"edit_nickname": "Edit Nickname",
@@ -126,6 +128,8 @@ extension SettingsLocalization on String {
"grade_exporting": "Grade Exporting",
},
"hu_hu": {
"heads_up": "Figyelem!",
"export_warning": "Az exportált jegyek jelenleg még nem megtekinthetők a reFilc-ben, csak te magad tudod átnézni őket JSON formátumban. A jövőben ez a funkció bővülni fog, és a jegyeket meg is tekintheted majd a reFilc felületén.",
"personal_details": "Személyes információk",
"open_dkt": "DKT megnyitása",
"edit_nickname": "Becenév szerkesztése",
@@ -248,6 +252,8 @@ extension SettingsLocalization on String {
"grade_exporting": "Jegy exportálás",
},
"de_de": {
"heads_up": "Achtung!",
"export_warning": "Exportierte Tickets sind derzeit noch nicht in reFilc einsehbar, Sie können sie nur selbst im JSON- Format überprüfen. In Zukunft wird diese Funktionalität erweitert und Sie werden die Tickets in der reFilc-Oberfläche anzeigen können",
"personal_details": "Persönliche Angaben",
"open_dkt": "Öffnen RDZ",
"edit_nickname": "Spitznamen bearbeiten",

View File

@@ -24,26 +24,17 @@ extension SettingsLocalization on String {
"dontfelt": "You didn't like this...",
"youlate": "You're late!",
// allsum page
"test": "tests"
.one("test"),
"closingtest": "module tests"
.one("module test"),
"grade": "grades"
.one("grade"),
"hw": "homeworks"
.one("homework"),
"subject": "subjects"
.one("subject"),
"lesson": "lessons"
.one("lesson"),
"absence_sum": "absences"
.one("absence"),
"test": "test(s)",
"closingtest": "module test(s)",
"grade": "grade(s)",
"hw": "homework(s)",
"subject": "subject(s)",
"lesson": "lesson(s)",
"absence_sum": "absence(s)",
"excused": "excused",
"unexcused": "unexcused",
"delay_sum": "delays"
.one("delay"),
"min": "minutes"
.one("minute"),
"delay_sum": "delay(s)",
"min": "minute(s)",
// personality page
"click_reveal": "Click to reveal...",
},