Browse Source

Updated translations

Arnaud Vergnet 1 year ago
parent
commit
f644964473

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

@@ -111,7 +111,7 @@ function MainStackComponent(props: { createTabNavigator: () => React.Node }) {
111 111
                 name="map"
112 112
                 component={MapScreen}
113 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,7 +122,7 @@ class ServicesScreen extends React.Component<Props, State> {
122 122
         ];
123 123
         this.insaDataset = [
124 124
             {
125
-                title: "MAP", // TODO translate
125
+                title: i18n.t('screens.map'),
126 126
                 subtitle: "MAP",
127 127
                 image: RU_IMAGE,
128 128
                 onPress: () => nav.navigate("map"),

+ 2
- 1
translations/en.json View File

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

+ 2
- 1
translations/fr.json View File

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

Loading…
Cancel
Save