Updated translations

This commit is contained in:
Arnaud Vergnet 2020-04-02 20:01:56 +02:00
parent 44ff396ae3
commit a27fdfd8dc
5 changed files with 16 additions and 5 deletions

View file

@ -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,

View file

@ -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,
};

View file

@ -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}

View file

@ -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",

View file

@ -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",