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: const EdgeInsets.only(bottom: 4.0),
|
||||
child: Text(
|
||||
"ekretaYou".i18n,
|
||||
"title".i18n,
|
||||
style: TextStyle(
|
||||
color: AppColors.of(context).text.withOpacity(0.7),
|
||||
fontSize: 24.0,
|
||||
@ -37,27 +37,27 @@ class ErrorReportScreen extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
FutureBuilder<String>(
|
||||
future: dirtyString(),
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
return const CircularProgressIndicator();
|
||||
}
|
||||
if (snapshot.hasError) {
|
||||
return Text("Error: ${snapshot.error}");
|
||||
}
|
||||
return Text(
|
||||
snapshot.data ?? "",
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: AppColors.of(context).text,
|
||||
fontSize: 24.0,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontStyle: FontStyle.italic,
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
//FutureBuilder<String>(
|
||||
// future: dirtyString(),
|
||||
// builder: (context, snapshot) {
|
||||
// if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
// return const CircularProgressIndicator();
|
||||
// }
|
||||
// if (snapshot.hasError) {
|
||||
// return Text("Error: ${snapshot.error}");
|
||||
// }
|
||||
// return Text(
|
||||
// snapshot.data ?? "",
|
||||
// textAlign: TextAlign.center,
|
||||
// style: TextStyle(
|
||||
// color: AppColors.of(context).text,
|
||||
// fontSize: 24.0,
|
||||
// fontWeight: FontWeight.w700,
|
||||
// fontStyle: FontStyle.italic,
|
||||
// ),
|
||||
// );
|
||||
// },
|
||||
//),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
"smth_went_wrong".i18n,
|
||||
|
@ -4,8 +4,8 @@ extension SettingsLocalization on String {
|
||||
static final _t = Translations.byLocale("hu_hu") +
|
||||
{
|
||||
"en_en": {
|
||||
"ekretaYou": "e-KRÉTA, you",
|
||||
"description": "An error occurred!",
|
||||
"title": "Unexpected error.",
|
||||
"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!",
|
||||
"title": "Váratlan hiba.",
|
||||
"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!",
|
||||
"title": "Unerwartetes Problem.",
|
||||
"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.",
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user