Browse Source

Updated translations

Arnaud Vergnet 1 year ago
parent
commit
a27fdfd8dc

+ 1
- 1
components/Sidebar/Sidebar.js View File

@@ -65,7 +65,7 @@ class SideBar extends React.PureComponent<Props, State> {
65 65
                 onlyWhenLoggedIn: true,
66 66
             },
67 67
             {
68
-                name: "CLUBS",
68
+                name: i18n.t('clubs.clubList'),
69 69
                 route: "ClubListScreen",
70 70
                 icon: "account-group",
71 71
                 onlyWhenLoggedIn: true,

+ 2
- 2
navigation/DrawerNavigator.js View File

@@ -253,7 +253,7 @@ function ClubStackComponent() {
253 253
                 options={({navigation}) => {
254 254
                     const openDrawer = getDrawerButton.bind(this, navigation);
255 255
                     return {
256
-                        title: "CLUBS LIST",
256
+                        title: i18n.t('clubs.clubList'),
257 257
                         headerLeft: openDrawer
258 258
                     };
259 259
                 }}
@@ -264,7 +264,7 @@ function ClubStackComponent() {
264 264
                 options={({navigation}) => {
265 265
                     const openDrawer = getDrawerButton.bind(this, navigation);
266 266
                     return {
267
-                        title: "CLUBS DISPLAY",
267
+                        title: "",
268 268
                         headerLeft: openDrawer,
269 269
                         ...TransitionPresets.ModalSlideFromBottomIOS,
270 270
                     };

+ 3
- 2
screens/Amicale/ClubDisplayScreen.js View File

@@ -6,6 +6,7 @@ import HTML from "react-native-render-html";
6 6
 import {Linking} from "expo";
7 7
 import {Avatar, Card, Chip, Paragraph, withTheme} from 'react-native-paper';
8 8
 import ImageModal from 'react-native-image-modal';
9
+import i18n from "i18n-js";
9 10
 
10 11
 type Props = {
11 12
     navigation: Object,
@@ -68,8 +69,8 @@ class ClubDisplayScreen extends React.Component<Props, State> {
68 69
         return (
69 70
             <Card style={{marginTop: 10, marginBottom: 10}}>
70 71
                 <Card.Title
71
-                    title={"RESPO"}
72
-                    subtitle={"CONTACTS"}
72
+                    title={i18n.t('clubs.managers')}
73
+                    subtitle={i18n.t('clubs.managersSubtitle')}
73 74
                     left={(props) => <Avatar.Icon
74 75
                         style={{backgroundColor: 'transparent'}}
75 76
                         {...props}

+ 5
- 0
translations/en.json View File

@@ -242,6 +242,11 @@
242 242
       "unknown": "Unknown error, please contact support."
243 243
     }
244 244
   },
245
+  "clubs": {
246
+    "clubList": "Club list",
247
+    "managers": "Managers",
248
+    "managersSubtitle": "These people make the club live"
249
+  },
245 250
   "dialog": {
246 251
     "ok": "OK",
247 252
     "yes": "Yes",

+ 5
- 0
translations/fr.json View File

@@ -243,6 +243,11 @@
243 243
       "unknown": "Erreur inconnue, merci de contacter le support."
244 244
     }
245 245
   },
246
+  "clubs": {
247
+    "clubList": "Liste des clubs",
248
+    "managers": "Responsables",
249
+    "managersSubtitle": "Ces personnes font vivre le club"
250
+  },
246 251
   "dialog": {
247 252
     "ok": "OK",
248 253
     "yes": "Oui",

Loading…
Cancel
Save