timeout nach 240 sekunden
30 sekunden vorher kommt ein popup, wenn nciht bestätigt, löschen, popup kommt nur wenn keine interaktion mit dem tablet erfolgt
This commit is contained in:
@@ -4,52 +4,44 @@ import 'package:flutter/services.dart';
|
||||
|
||||
class LanguageProvider extends ChangeNotifier {
|
||||
Map<String, dynamic> languageData = {
|
||||
"de":
|
||||
{
|
||||
"textfield": "Dein Feedback",
|
||||
"pageAmbiente":
|
||||
{
|
||||
"de": {
|
||||
"general": {
|
||||
"timeOutTitle": "Bist du noch da?",
|
||||
"timeOutContent": "In 30 Sekunden wird deine Bewertung verworfen",
|
||||
"timeOutButton": "Ich bin da!"
|
||||
},
|
||||
"textfield": "Dein Feedback",
|
||||
"pageAmbiente": {
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
},
|
||||
"pageAnmerkungen":
|
||||
{
|
||||
"pageAnmerkungen": {
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
},
|
||||
"pageEssen":
|
||||
{
|
||||
"pageEssen": {
|
||||
"question1": "Geschmack",
|
||||
"question2": "Qualität",
|
||||
},
|
||||
"pageHome":
|
||||
{
|
||||
"pageHome": {
|
||||
"noTimePopupTitle": "Du kannst gerade nicht bewerten!",
|
||||
"noTimePopupContent": "Du kannst nur zu den Essenszeiten zwischen 11:30 und 14:30 bewerten!",
|
||||
"noTimePopupContent":
|
||||
"Du kannst nur zu den Essenszeiten zwischen 11:30 und 14:30 bewerten!",
|
||||
"noTimePopupButton": "OK"
|
||||
},
|
||||
"pageService":
|
||||
{
|
||||
"pageService": {
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
},
|
||||
"pageSpecial":
|
||||
{
|
||||
"pageSpecial": {
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
},
|
||||
"navBar":
|
||||
{
|
||||
"0": "Essen",
|
||||
"1": "Service",
|
||||
"2": "Essenswünsche"
|
||||
},
|
||||
"floating":
|
||||
{
|
||||
"navBar": {"0": "Essen", "1": "Service", "2": "Essenswünsche"},
|
||||
"floating": {
|
||||
"info": "* Pflichtfeld",
|
||||
"return": "Absenden",
|
||||
"delete":
|
||||
{
|
||||
"delete": {
|
||||
"title": "Bewertungen löschen",
|
||||
"info": "Möchtest du alle Eingaben entfernen?",
|
||||
"keep": "Behalten",
|
||||
@@ -57,10 +49,14 @@ class LanguageProvider extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
},
|
||||
"en":
|
||||
{
|
||||
"textfield": "Your Feedback",
|
||||
"pageAmbiente": {
|
||||
"en": {
|
||||
"general": {
|
||||
"timeOutTitle": "Are you still there?",
|
||||
"timeOutContent": "Your assessment will be discarded in 30 seconds",
|
||||
"timeOutButton": "I'm here!"
|
||||
},
|
||||
"textfield": "Your Feedback",
|
||||
"pageAmbiente": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
},
|
||||
@@ -74,7 +70,8 @@ class LanguageProvider extends ChangeNotifier {
|
||||
},
|
||||
"pageHome": {
|
||||
"noTimePopupTitle": "You cannot rate right now!",
|
||||
"noTimePopupContent": "You can only rate during meal times between 11:30 AM and 2:30 PM!",
|
||||
"noTimePopupContent":
|
||||
"You can only rate during meal times between 11:30 AM and 2:30 PM!",
|
||||
"noTimePopupButton": "OK"
|
||||
},
|
||||
"pageService": {
|
||||
@@ -85,16 +82,11 @@ class LanguageProvider extends ChangeNotifier {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
},
|
||||
"navBar": {
|
||||
"0": "Food",
|
||||
"1": "Service",
|
||||
"2": "Food Requests"
|
||||
},
|
||||
"navBar": {"0": "Food", "1": "Service", "2": "Food Requests"},
|
||||
"floating": {
|
||||
"info": "* Required field",
|
||||
"return": "Submit",
|
||||
"delete":
|
||||
{
|
||||
"delete": {
|
||||
"title": "Delete Reviews",
|
||||
"info": "Do you want to remove all entries?",
|
||||
"keep": "Keep",
|
||||
@@ -102,10 +94,14 @@ class LanguageProvider extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
},
|
||||
"fr":
|
||||
{
|
||||
"textfield": "Votre avis",
|
||||
"pageAmbiente": {
|
||||
"fr": {
|
||||
"general": {
|
||||
"timeOutTitle": "Êtes-vous toujours là ?",
|
||||
"timeOutContent": "Votre évaluation sera supprimée dans 30 secondes",
|
||||
"timeOutButton": "Je suis là !"
|
||||
},
|
||||
"textfield": "Votre avis",
|
||||
"pageAmbiente": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
},
|
||||
@@ -119,7 +115,8 @@ class LanguageProvider extends ChangeNotifier {
|
||||
},
|
||||
"pageHome": {
|
||||
"noTimePopupTitle": "Vous ne pouvez pas évaluer pour le moment !",
|
||||
"noTimePopupContent": "Vous ne pouvez évaluer que pendant les heures de repas entre 11h30 et 14h30 !",
|
||||
"noTimePopupContent":
|
||||
"Vous ne pouvez évaluer que pendant les heures de repas entre 11h30 et 14h30 !",
|
||||
"noTimePopupButton": "D'ACCORD"
|
||||
},
|
||||
"pageService": {
|
||||
|
||||
Reference in New Issue
Block a user