forked from firka/student-legacy
error screen fixes
This commit is contained in:
parent
05c10df239
commit
dc250e449f
@ -21,10 +21,14 @@ class ErrorReportScreen extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Image.asset('assets/icons/ic_rounded.png', height: 40),
|
Image.asset(
|
||||||
|
'assets/icons/ic_rounded.png',
|
||||||
|
height: 50,
|
||||||
|
width: 50,
|
||||||
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 4.0),
|
padding: const EdgeInsets.only(bottom: 2.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
"ekretaYou".i18n,
|
"ekretaYou".i18n,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -41,6 +45,17 @@ class ErrorReportScreen extends StatelessWidget {
|
|||||||
color: Color(0xFF011234),
|
color: Color(0xFF011234),
|
||||||
fontSize: 24.0,
|
fontSize: 24.0,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
fontStyle: FontStyle.italic,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"smth_went_wrong".i18n,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Color(0xFF011234),
|
||||||
|
fontSize: 24.0,
|
||||||
|
fontWeight: FontWeight.w700,
|
||||||
|
fontStyle: FontStyle.italic,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
@ -4,7 +4,7 @@ extension SettingsLocalization on String {
|
|||||||
static final _t = Translations.byLocale("hu_hu") +
|
static final _t = Translations.byLocale("hu_hu") +
|
||||||
{
|
{
|
||||||
"en_en": {
|
"en_en": {
|
||||||
"ekretaYou": "eKréta, you",
|
"ekretaYou": "e-KRÉTA, you",
|
||||||
"description": "An error occurred!",
|
"description": "An error occurred!",
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"goback": "Go back",
|
"goback": "Go back",
|
||||||
@ -14,9 +14,11 @@ extension SettingsLocalization on String {
|
|||||||
"version": "App Version",
|
"version": "App Version",
|
||||||
"stack": "Stack Trace",
|
"stack": "Stack Trace",
|
||||||
"done": "Done",
|
"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",
|
||||||
},
|
},
|
||||||
"hu_hu": {
|
"hu_hu": {
|
||||||
"ekretaYou": "eKréta, te",
|
"ekretaYou": "e-KRÉTA, te",
|
||||||
"description": "Fasz-emulátor hivatásos balfasz!",
|
"description": "Fasz-emulátor hivatásos balfasz!",
|
||||||
"submit": "Hiba jelentése",
|
"submit": "Hiba jelentése",
|
||||||
"goback": "Vissza",
|
"goback": "Vissza",
|
||||||
@ -26,9 +28,11 @@ extension SettingsLocalization on String {
|
|||||||
"version": "App Verzió",
|
"version": "App Verzió",
|
||||||
"stack": "Stacktrace",
|
"stack": "Stacktrace",
|
||||||
"done": "Kész",
|
"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",
|
||||||
},
|
},
|
||||||
"de_de": {
|
"de_de": {
|
||||||
"ekretaYou": "eKréta, du",
|
"ekretaYou": "e-KRÉTA, du",
|
||||||
"description": "Ein Fehler ist aufgetreten!",
|
"description": "Ein Fehler ist aufgetreten!",
|
||||||
"submit": "Abschicken",
|
"submit": "Abschicken",
|
||||||
"goback": "Zurück",
|
"goback": "Zurück",
|
||||||
@ -38,6 +42,8 @@ extension SettingsLocalization on String {
|
|||||||
"version": "App Version",
|
"version": "App Version",
|
||||||
"stack": "Stack Trace",
|
"stack": "Stack Trace",
|
||||||
"done": "Fertig",
|
"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)! /ss",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user