Browse Source

Updated services descriptions

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

+ 17
- 1
translations/en.json View File

@@ -398,7 +398,23 @@
398 398
     "amicale": "The Amicale",
399 399
     "students": "Student services",
400 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 419
   "planningScreen": {
404 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,7 +398,23 @@
398 398
     "amicale": "L'Amicale",
399 399
     "students": "Services étudiants",
400 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 419
   "planningScreen": {
404 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