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