Browse Source

Updated services descriptions

Arnaud Vergnet 3 years ago
parent
commit
35d39a5711
3 changed files with 49 additions and 17 deletions
  1. 15
    15
      src/screens/Services/ServicesScreen.js
  2. 17
    1
      translations/en.json
  3. 17
    1
      translations/fr.json

+ 15
- 15
src/screens/Services/ServicesScreen.js View File

66
         this.amicaleDataset = [
66
         this.amicaleDataset = [
67
             {
67
             {
68
                 title: i18n.t('screens.clubsAbout'),
68
                 title: i18n.t('screens.clubsAbout'),
69
-                subtitle: "CLUB LIST",
69
+                subtitle: i18n.t('servicesScreen.descriptions.clubs'),
70
                 image: CLUBS_IMAGE,
70
                 image: CLUBS_IMAGE,
71
                 onPress: () => nav.navigate("club-list"),
71
                 onPress: () => nav.navigate("club-list"),
72
             },
72
             },
73
             {
73
             {
74
                 title: i18n.t('screens.profile'),
74
                 title: i18n.t('screens.profile'),
75
-                subtitle: "PROFIL",
75
+                subtitle: i18n.t('servicesScreen.descriptions.profile'),
76
                 image: PROFILE_IMAGE,
76
                 image: PROFILE_IMAGE,
77
                 onPress: () => nav.navigate("profile"),
77
                 onPress: () => nav.navigate("profile"),
78
             },
78
             },
79
             {
79
             {
80
                 title: i18n.t('screens.amicaleWebsite'),
80
                 title: i18n.t('screens.amicaleWebsite'),
81
-                subtitle: "AMICALE",
81
+                subtitle: i18n.t('servicesScreen.descriptions.amicaleWebsite'),
82
                 image: AMICALE_IMAGE,
82
                 image: AMICALE_IMAGE,
83
                 onPress: () => nav.navigate("amicale-website"),
83
                 onPress: () => nav.navigate("amicale-website"),
84
             },
84
             },
85
             {
85
             {
86
                 title: i18n.t('screens.vote'),
86
                 title: i18n.t('screens.vote'),
87
-                subtitle: "ELECTIONS",
87
+                subtitle: i18n.t('servicesScreen.descriptions.vote'),
88
                 image: VOTE_IMAGE,
88
                 image: VOTE_IMAGE,
89
                 onPress: () => nav.navigate("vote"),
89
                 onPress: () => nav.navigate("vote"),
90
             },
90
             },
92
         this.studentsDataset = [
92
         this.studentsDataset = [
93
             {
93
             {
94
                 title: i18n.t('screens.proximo'),
94
                 title: i18n.t('screens.proximo'),
95
-                subtitle: "proximo",
95
+                subtitle: i18n.t('servicesScreen.descriptions.proximo'),
96
                 image: PROXIMO_IMAGE,
96
                 image: PROXIMO_IMAGE,
97
                 onPress: () => nav.navigate("proximo"),
97
                 onPress: () => nav.navigate("proximo"),
98
             },
98
             },
99
             {
99
             {
100
                 title: "Wiketud",
100
                 title: "Wiketud",
101
-                subtitle: "wiketud",
101
+                subtitle: i18n.t('servicesScreen.descriptions.wiketud'),
102
                 image: WIKETUD_IMAGE,
102
                 image: WIKETUD_IMAGE,
103
                 onPress: () => nav.navigate("wiketud"),
103
                 onPress: () => nav.navigate("wiketud"),
104
             },
104
             },
105
             {
105
             {
106
                 title: "Élus Étudiants",
106
                 title: "Élus Étudiants",
107
-                subtitle: "ELUS ETUDIANTS",
107
+                subtitle: i18n.t('servicesScreen.descriptions.elusEtudiants'),
108
                 image: EE_IMAGE,
108
                 image: EE_IMAGE,
109
                 onPress: () => nav.navigate("elus-etudiants"),
109
                 onPress: () => nav.navigate("elus-etudiants"),
110
             },
110
             },
111
             {
111
             {
112
                 title: "Tutor'INSA",
112
                 title: "Tutor'INSA",
113
-                subtitle: "TUTOR INSA",
113
+                subtitle: i18n.t('servicesScreen.descriptions.tutorInsa'),
114
                 image: TUTORINSA_IMAGE,
114
                 image: TUTORINSA_IMAGE,
115
                 onPress: () => nav.navigate("tutorinsa"),
115
                 onPress: () => nav.navigate("tutorinsa"),
116
             },
116
             },
117
             {
117
             {
118
                 title: i18n.t('screens.amicaleWebsite'),
118
                 title: i18n.t('screens.amicaleWebsite'),
119
-                subtitle: "AMICALE",
119
+                subtitle: i18n.t('servicesScreen.descriptions.amicaleWebsite'),
120
                 image: AMICALE_IMAGE,
120
                 image: AMICALE_IMAGE,
121
                 onPress: () => nav.navigate("amicale-website"),
121
                 onPress: () => nav.navigate("amicale-website"),
122
             },
122
             },
124
         this.insaDataset = [
124
         this.insaDataset = [
125
             {
125
             {
126
                 title: i18n.t('screens.map'),
126
                 title: i18n.t('screens.map'),
127
-                subtitle: "MAP",
127
+                subtitle: i18n.t('servicesScreen.descriptions.map'),
128
                 image: MAP_IMAGE,
128
                 image: MAP_IMAGE,
129
                 onPress: () => nav.navigate("map"),
129
                 onPress: () => nav.navigate("map"),
130
             },
130
             },
131
             {
131
             {
132
                 title: i18n.t('screens.menuSelf'),
132
                 title: i18n.t('screens.menuSelf'),
133
-                subtitle: "the ru",
133
+                subtitle: i18n.t('servicesScreen.descriptions.self'),
134
                 image: RU_IMAGE,
134
                 image: RU_IMAGE,
135
                 onPress: () => nav.navigate("self-menu"),
135
                 onPress: () => nav.navigate("self-menu"),
136
             },
136
             },
137
             {
137
             {
138
                 title: i18n.t('screens.availableRooms'),
138
                 title: i18n.t('screens.availableRooms'),
139
-                subtitle: "ROOMS",
139
+                subtitle: i18n.t('servicesScreen.descriptions.availableRooms'),
140
                 image: ROOM_IMAGE,
140
                 image: ROOM_IMAGE,
141
                 onPress: () => nav.navigate("available-rooms"),
141
                 onPress: () => nav.navigate("available-rooms"),
142
             },
142
             },
143
             {
143
             {
144
                 title: i18n.t('screens.bib'),
144
                 title: i18n.t('screens.bib'),
145
-                subtitle: "BIB",
145
+                subtitle: i18n.t('servicesScreen.descriptions.bib'),
146
                 image: BIB_IMAGE,
146
                 image: BIB_IMAGE,
147
                 onPress: () => nav.navigate("bib"),
147
                 onPress: () => nav.navigate("bib"),
148
             },
148
             },
149
             {
149
             {
150
                 title: i18n.t('screens.bluemind'),
150
                 title: i18n.t('screens.bluemind'),
151
-                subtitle: "EMAIL",
151
+                subtitle: i18n.t('servicesScreen.descriptions.mails'),
152
                 image: EMAIL_IMAGE,
152
                 image: EMAIL_IMAGE,
153
                 onPress: () => nav.navigate("bluemind"),
153
                 onPress: () => nav.navigate("bluemind"),
154
             },
154
             },
155
             {
155
             {
156
                 title: i18n.t('screens.ent'),
156
                 title: i18n.t('screens.ent'),
157
-                subtitle: "ENT",
157
+                subtitle: i18n.t('servicesScreen.descriptions.ent'),
158
                 image: ENT_IMAGE,
158
                 image: ENT_IMAGE,
159
                 onPress: () => nav.navigate("ent"),
159
                 onPress: () => nav.navigate("ent"),
160
             },
160
             },

+ 17
- 1
translations/en.json View File

398
     "amicale": "The Amicale",
398
     "amicale": "The Amicale",
399
     "students": "Student services",
399
     "students": "Student services",
400
     "insa": "INSA services",
400
     "insa": "INSA services",
401
-    "notLoggedIn": "Not logged in"
401
+    "notLoggedIn": "Not logged in",
402
+    "descriptions": {
403
+      "clubs": "See info about your favorite club and discover new ones",
404
+      "profile": "See your personal information",
405
+      "amicaleWebsite": "See more information on the website",
406
+      "vote": "Vote for the upcoming elections",
407
+      "proximo": "Check the store's stock",
408
+      "wiketud": "Read useful info about classes and campus life",
409
+      "elusEtudiants": "The students in contact with the administration",
410
+      "tutorInsa": "Give and take part in tutorials by students",
411
+      "map": "Find your way around the campus",
412
+      "self": "Check the RU menu",
413
+      "availableRooms": "See how many rooms are free",
414
+      "bib": "Book a Bib'Box for project work",
415
+      "mails": "Check your INSA mails",
416
+      "ent": "See your grades"
417
+    }
402
   },
418
   },
403
   "planningScreen": {
419
   "planningScreen": {
404
     "invalidEvent": "Could not find the event. Please make sure the event you are trying to access is valid."
420
     "invalidEvent": "Could not find the event. Please make sure the event you are trying to access is valid."

+ 17
- 1
translations/fr.json View File

398
     "amicale": "L'Amicale",
398
     "amicale": "L'Amicale",
399
     "students": "Services étudiants",
399
     "students": "Services étudiants",
400
     "insa": "Services de l'INSA",
400
     "insa": "Services de l'INSA",
401
-    "notLoggedIn": "Non connecté"
401
+    "notLoggedIn": "Non connecté",
402
+    "descriptions": {
403
+      "clubs": "Voir les informations sur les clubs",
404
+      "profile": "Voir vos informations personnelles",
405
+      "amicaleWebsite": "Plus d'informations sur le site",
406
+      "vote": "Votez pour les prochaines élections",
407
+      "proximo": "Regardez le stock du Proximo",
408
+      "wiketud": "Trouvez des informations utiles sur les cours et la vie du campus",
409
+      "elusEtudiants": "Les étudiants en contact avec l'administration",
410
+      "tutorInsa": "Donnez et bénéficiez de tutorats par d'autres étudiants",
411
+      "map": "Trouvez votre chemin sur le campus",
412
+      "self": "Regardez le menu du RU",
413
+      "availableRooms": "Vérifiez les salles disponibles",
414
+      "bib": "Réservez une Bib'Box pour les travaux de groupe",
415
+      "mails": "Vérifiez vos mails INSA",
416
+      "ent": "Retrouvez vos notes"
417
+    }
402
   },
418
   },
403
   "planningScreen": {
419
   "planningScreen": {
404
     "invalidEvent": "Impossible de trouver l'événement. Merci de vérifier que l'événement que vous voulez voir est valide."
420
     "invalidEvent": "Impossible de trouver l'événement. Merci de vérifier que l'événement que vous voulez voir est valide."

Loading…
Cancel
Save