forked from vergnet/application-amicale
Updated translations
This commit is contained in:
parent
44ff396ae3
commit
a27fdfd8dc
5 changed files with 16 additions and 5 deletions
|
@ -65,7 +65,7 @@ class SideBar extends React.PureComponent<Props, State> {
|
||||||
onlyWhenLoggedIn: true,
|
onlyWhenLoggedIn: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "CLUBS",
|
name: i18n.t('clubs.clubList'),
|
||||||
route: "ClubListScreen",
|
route: "ClubListScreen",
|
||||||
icon: "account-group",
|
icon: "account-group",
|
||||||
onlyWhenLoggedIn: true,
|
onlyWhenLoggedIn: true,
|
||||||
|
|
|
@ -253,7 +253,7 @@ function ClubStackComponent() {
|
||||||
options={({navigation}) => {
|
options={({navigation}) => {
|
||||||
const openDrawer = getDrawerButton.bind(this, navigation);
|
const openDrawer = getDrawerButton.bind(this, navigation);
|
||||||
return {
|
return {
|
||||||
title: "CLUBS LIST",
|
title: i18n.t('clubs.clubList'),
|
||||||
headerLeft: openDrawer
|
headerLeft: openDrawer
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
@ -264,7 +264,7 @@ function ClubStackComponent() {
|
||||||
options={({navigation}) => {
|
options={({navigation}) => {
|
||||||
const openDrawer = getDrawerButton.bind(this, navigation);
|
const openDrawer = getDrawerButton.bind(this, navigation);
|
||||||
return {
|
return {
|
||||||
title: "CLUBS DISPLAY",
|
title: "",
|
||||||
headerLeft: openDrawer,
|
headerLeft: openDrawer,
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS,
|
...TransitionPresets.ModalSlideFromBottomIOS,
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@ import HTML from "react-native-render-html";
|
||||||
import {Linking} from "expo";
|
import {Linking} from "expo";
|
||||||
import {Avatar, Card, Chip, Paragraph, withTheme} from 'react-native-paper';
|
import {Avatar, Card, Chip, Paragraph, withTheme} from 'react-native-paper';
|
||||||
import ImageModal from 'react-native-image-modal';
|
import ImageModal from 'react-native-image-modal';
|
||||||
|
import i18n from "i18n-js";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
navigation: Object,
|
navigation: Object,
|
||||||
|
@ -68,8 +69,8 @@ class ClubDisplayScreen extends React.Component<Props, State> {
|
||||||
return (
|
return (
|
||||||
<Card style={{marginTop: 10, marginBottom: 10}}>
|
<Card style={{marginTop: 10, marginBottom: 10}}>
|
||||||
<Card.Title
|
<Card.Title
|
||||||
title={"RESPO"}
|
title={i18n.t('clubs.managers')}
|
||||||
subtitle={"CONTACTS"}
|
subtitle={i18n.t('clubs.managersSubtitle')}
|
||||||
left={(props) => <Avatar.Icon
|
left={(props) => <Avatar.Icon
|
||||||
style={{backgroundColor: 'transparent'}}
|
style={{backgroundColor: 'transparent'}}
|
||||||
{...props}
|
{...props}
|
||||||
|
|
|
@ -242,6 +242,11 @@
|
||||||
"unknown": "Unknown error, please contact support."
|
"unknown": "Unknown error, please contact support."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"clubs": {
|
||||||
|
"clubList": "Club list",
|
||||||
|
"managers": "Managers",
|
||||||
|
"managersSubtitle": "These people make the club live"
|
||||||
|
},
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"ok": "OK",
|
"ok": "OK",
|
||||||
"yes": "Yes",
|
"yes": "Yes",
|
||||||
|
|
|
@ -243,6 +243,11 @@
|
||||||
"unknown": "Erreur inconnue, merci de contacter le support."
|
"unknown": "Erreur inconnue, merci de contacter le support."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"clubs": {
|
||||||
|
"clubList": "Liste des clubs",
|
||||||
|
"managers": "Responsables",
|
||||||
|
"managersSubtitle": "Ces personnes font vivre le club"
|
||||||
|
},
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"ok": "OK",
|
"ok": "OK",
|
||||||
"yes": "Oui",
|
"yes": "Oui",
|
||||||
|
|
Loading…
Reference in a new issue