forked from firka/student-legacy
Hiba ablak szövegének megváltoztatása.
This commit is contained in:
parent
a23b2d63e5
commit
e1870b08e5
@ -29,7 +29,7 @@ class ErrorReportScreen extends StatelessWidget {
|
|||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 4.0),
|
padding: const EdgeInsets.only(bottom: 4.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
"ekretaYou".i18n,
|
"title".i18n,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: AppColors.of(context).text.withOpacity(0.7),
|
color: AppColors.of(context).text.withOpacity(0.7),
|
||||||
fontSize: 24.0,
|
fontSize: 24.0,
|
||||||
@ -37,27 +37,27 @@ class ErrorReportScreen extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FutureBuilder<String>(
|
//FutureBuilder<String>(
|
||||||
future: dirtyString(),
|
// future: dirtyString(),
|
||||||
builder: (context, snapshot) {
|
// builder: (context, snapshot) {
|
||||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
// if (snapshot.connectionState == ConnectionState.waiting) {
|
||||||
return const CircularProgressIndicator();
|
// return const CircularProgressIndicator();
|
||||||
}
|
// }
|
||||||
if (snapshot.hasError) {
|
// if (snapshot.hasError) {
|
||||||
return Text("Error: ${snapshot.error}");
|
// return Text("Error: ${snapshot.error}");
|
||||||
}
|
// }
|
||||||
return Text(
|
// return Text(
|
||||||
snapshot.data ?? "",
|
// snapshot.data ?? "",
|
||||||
textAlign: TextAlign.center,
|
// textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
// style: TextStyle(
|
||||||
color: AppColors.of(context).text,
|
// color: AppColors.of(context).text,
|
||||||
fontSize: 24.0,
|
// fontSize: 24.0,
|
||||||
fontWeight: FontWeight.w700,
|
// fontWeight: FontWeight.w700,
|
||||||
fontStyle: FontStyle.italic,
|
// fontStyle: FontStyle.italic,
|
||||||
),
|
// ),
|
||||||
);
|
// );
|
||||||
},
|
// },
|
||||||
),
|
//),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Text(
|
Text(
|
||||||
"smth_went_wrong".i18n,
|
"smth_went_wrong".i18n,
|
||||||
|
@ -4,8 +4,8 @@ extension SettingsLocalization on String {
|
|||||||
static final _t = Translations.byLocale("hu_hu") +
|
static final _t = Translations.byLocale("hu_hu") +
|
||||||
{
|
{
|
||||||
"en_en": {
|
"en_en": {
|
||||||
"ekretaYou": "e-KRÉTA, you",
|
"title": "Unexpected error.",
|
||||||
"description": "An error occurred!",
|
"description": "Unexpected error while using the application!",
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"goback": "Go back",
|
"goback": "Go back",
|
||||||
"details": "Details",
|
"details": "Details",
|
||||||
@ -15,11 +15,11 @@ extension SettingsLocalization on String {
|
|||||||
"stack": "Stack Trace",
|
"stack": "Stack Trace",
|
||||||
"done": "Done",
|
"done": "Done",
|
||||||
"smth_went_wrong":
|
"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": {
|
"hu_hu": {
|
||||||
"ekretaYou": "e-KRÉTA, te",
|
"title": "Váratlan hiba.",
|
||||||
"description": "Fasz-emulátor hivatásos balfasz!",
|
"description": "Váratlan hiba az alkalmazás használata közben!",
|
||||||
"submit": "Hiba jelentése",
|
"submit": "Hiba jelentése",
|
||||||
"goback": "Vissza",
|
"goback": "Vissza",
|
||||||
"details": "Részletek",
|
"details": "Részletek",
|
||||||
@ -29,11 +29,11 @@ extension SettingsLocalization on String {
|
|||||||
"stack": "Stacktrace",
|
"stack": "Stacktrace",
|
||||||
"done": "Kész",
|
"done": "Kész",
|
||||||
"smth_went_wrong":
|
"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": {
|
"de_de": {
|
||||||
"ekretaYou": "e-KRÉTA, du",
|
"title": "Unerwartetes Problem.",
|
||||||
"description": "Ein Fehler ist aufgetreten!",
|
"description": "Unerwarteter Fehler bei der Benutzung der Anwendung!",
|
||||||
"submit": "Abschicken",
|
"submit": "Abschicken",
|
||||||
"goback": "Zurück",
|
"goback": "Zurück",
|
||||||
"details": "Details",
|
"details": "Details",
|
||||||
@ -43,7 +43,7 @@ extension SettingsLocalization on String {
|
|||||||
"stack": "Stack Trace",
|
"stack": "Stack Trace",
|
||||||
"done": "Fertig",
|
"done": "Fertig",
|
||||||
"smth_went_wrong":
|
"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.",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user