Language Change
Dictionary has been modified, all texts are being translated now
This commit is contained in:
@@ -6,23 +6,21 @@ class LanguageProvider extends ChangeNotifier {
|
||||
Map<String, dynamic> languageData = {
|
||||
"de":
|
||||
{
|
||||
"pageAmbiente":
|
||||
"textfield": "Dein Feedback",
|
||||
"pageAmbiente":
|
||||
{
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
"textfield": "Dein Feedback"
|
||||
},
|
||||
"pageAnmerkungen":
|
||||
{
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
"textfield": "Dein Feedback"
|
||||
},
|
||||
"pageEssen":
|
||||
{
|
||||
"question1": "Geschmack",
|
||||
"question2": "Qualität",
|
||||
"textfield": "Dein Feedback"
|
||||
},
|
||||
"pageHome":
|
||||
{
|
||||
@@ -32,21 +30,19 @@ class LanguageProvider extends ChangeNotifier {
|
||||
{
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
"textfield": "Dein Feedback"
|
||||
},
|
||||
"pageSpecial":
|
||||
{
|
||||
"question1": "Frage1",
|
||||
"question2": "Frage2",
|
||||
"textfield": "Dein Feedback"
|
||||
},
|
||||
"navBar":
|
||||
{
|
||||
"symbol1": "Essen",
|
||||
"symbol2": "Ambiente",
|
||||
"symbol3": "Service",
|
||||
"symbol4": "Anmerkungen",
|
||||
"symbol5": "Spezielle Ernährung"
|
||||
"0": "Essen",
|
||||
"1": "Ambiente",
|
||||
"2": "Service",
|
||||
"3": "Anmerkungen",
|
||||
"4": "Spezielle Ernährung"
|
||||
},
|
||||
"floating":
|
||||
{
|
||||
@@ -63,20 +59,18 @@ class LanguageProvider extends ChangeNotifier {
|
||||
},
|
||||
"en":
|
||||
{
|
||||
"pageAmbiente": {
|
||||
"textfield": "Your Feedback",
|
||||
"pageAmbiente": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Your Feedback"
|
||||
},
|
||||
"pageAnmerkungen": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Your Feedback"
|
||||
},
|
||||
"pageEssen": {
|
||||
"question1": "Taste",
|
||||
"question2": "Quality",
|
||||
"textfield": "Your Feedback"
|
||||
},
|
||||
"pageHome": {
|
||||
|
||||
@@ -84,19 +78,17 @@ class LanguageProvider extends ChangeNotifier {
|
||||
"pageService": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Your Feedback"
|
||||
},
|
||||
"pageSpecial": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Your Feedback"
|
||||
},
|
||||
"navBar": {
|
||||
"symbol1": "Food",
|
||||
"symbol2": "Ambience",
|
||||
"symbol3": "Service",
|
||||
"symbol4": "Remarks",
|
||||
"symbol5": "Special Diet"
|
||||
"0": "Food",
|
||||
"1": "Ambience",
|
||||
"2": "Service",
|
||||
"3": "Remarks",
|
||||
"4": "Special Diet"
|
||||
},
|
||||
"floating": {
|
||||
"info": "* Required field",
|
||||
@@ -112,20 +104,18 @@ class LanguageProvider extends ChangeNotifier {
|
||||
},
|
||||
"fr":
|
||||
{
|
||||
"pageAmbiente": {
|
||||
"textfield": "Votre avis",
|
||||
"pageAmbiente": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Votre avis"
|
||||
},
|
||||
"pageAnmerkungen": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Votre avis"
|
||||
},
|
||||
"pageEssen": {
|
||||
"question1": "Goût",
|
||||
"question2": "Qualité",
|
||||
"textfield": "Votre avis"
|
||||
},
|
||||
"pageHome": {
|
||||
|
||||
@@ -133,19 +123,17 @@ class LanguageProvider extends ChangeNotifier {
|
||||
"pageService": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Votre avis"
|
||||
},
|
||||
"pageSpecial": {
|
||||
"question1": "Question1",
|
||||
"question2": "Question2",
|
||||
"textfield": "Votre avis"
|
||||
},
|
||||
"navBar": {
|
||||
"symbol1": "Nourriture",
|
||||
"symbol2": "Ambiance",
|
||||
"symbol3": "Service",
|
||||
"symbol4": "Remarques",
|
||||
"symbol5": "Régime spécial"
|
||||
"0": "Nourriture",
|
||||
"1": "Ambiance",
|
||||
"2": "Service",
|
||||
"3": "Remarques",
|
||||
"4": "Régime spécial"
|
||||
},
|
||||
"floating": {
|
||||
"info": "* Champ obligatoire",
|
||||
|
||||
@@ -18,14 +18,6 @@ class PageProvider extends ChangeNotifier {
|
||||
const PageSpezielleErnaehrung()
|
||||
];
|
||||
|
||||
List<String> titleString = [
|
||||
"Essen",
|
||||
"Ambiente",
|
||||
"Service",
|
||||
"Anmerkungen",
|
||||
"Spezielle Ernährung"
|
||||
];
|
||||
|
||||
void changePage(int index) {
|
||||
selectedPage = index;
|
||||
notifyListeners();
|
||||
|
||||
Reference in New Issue
Block a user