Browse Source

Updated translations

Arnaud Vergnet 3 years ago
parent
commit
f644964473

+ 1
- 1
src/navigation/MainNavigator.js View File

111
                 name="map"
111
                 name="map"
112
                 component={MapScreen}
112
                 component={MapScreen}
113
                 options={{
113
                 options={{
114
-                    title: "MAP", // TODO translate
114
+                    title: i18n.t('screens.map'),
115
                 }}
115
                 }}
116
             />
116
             />
117
 
117
 

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

122
         ];
122
         ];
123
         this.insaDataset = [
123
         this.insaDataset = [
124
             {
124
             {
125
-                title: "MAP", // TODO translate
125
+                title: i18n.t('screens.map'),
126
                 subtitle: "MAP",
126
                 subtitle: "MAP",
127
                 image: RU_IMAGE,
127
                 image: RU_IMAGE,
128
                 onPress: () => nav.navigate("map"),
128
                 onPress: () => nav.navigate("map"),

+ 2
- 1
translations/en.json View File

25
     "profile": "Profile",
25
     "profile": "Profile",
26
     "vote": "Elections",
26
     "vote": "Elections",
27
     "scanner": "Scanotron 3000",
27
     "scanner": "Scanotron 3000",
28
-    "feedback": "Feedback"
28
+    "feedback": "Feedback",
29
+    "map": "Campus Map"
29
   },
30
   },
30
   "intro": {
31
   "intro": {
31
     "slideMain": {
32
     "slideMain": {

+ 2
- 1
translations/fr.json View File

25
     "profile": "Profil",
25
     "profile": "Profil",
26
     "vote": "Élections",
26
     "vote": "Élections",
27
     "scanner": "Scanotron 3000",
27
     "scanner": "Scanotron 3000",
28
-    "feedback": "Votre avis"
28
+    "feedback": "Votre avis",
29
+    "map": "Carte du campus"
29
   },
30
   },
30
   "intro": {
31
   "intro": {
31
     "slideMain": {
32
     "slideMain": {

Loading…
Cancel
Save