forked from vergnet/application-amicale
Updated translations
This commit is contained in:
parent
369756207f
commit
f9f27dd7b7
4 changed files with 27 additions and 14 deletions
|
@ -310,7 +310,7 @@ function ClubStackComponent() {
|
||||||
component={ClubAboutScreen}
|
component={ClubAboutScreen}
|
||||||
options={({navigation}) => {
|
options={({navigation}) => {
|
||||||
return {
|
return {
|
||||||
title: i18n.t('screens.about'),
|
title: i18n.t('screens.clubsAbout'),
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS,
|
...TransitionPresets.ModalSlideFromBottomIOS,
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import {ScrollView} from 'react-native';
|
import {Image, ScrollView, View} from 'react-native';
|
||||||
import {Linking} from "expo";
|
|
||||||
import {Text, withTheme} from 'react-native-paper';
|
import {Text, withTheme} from 'react-native-paper';
|
||||||
|
import i18n from 'i18n-js';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
};
|
};
|
||||||
|
@ -11,10 +11,6 @@ type Props = {
|
||||||
type State = {
|
type State = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function openWebLink(event, link) {
|
|
||||||
Linking.openURL(link).catch((err) => console.error('Error opening link', err));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class defining a planning event information page.
|
* Class defining a planning event information page.
|
||||||
*/
|
*/
|
||||||
|
@ -30,7 +26,20 @@ class ClubAboutScreen extends React.Component<Props, State> {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<ScrollView style={{padding: 5}}>
|
<ScrollView style={{padding: 5}}>
|
||||||
<Text>TEXT</Text>
|
<View style={{
|
||||||
|
width: '100%',
|
||||||
|
height: 100,
|
||||||
|
marginTop: 20,
|
||||||
|
marginBottom: 20,
|
||||||
|
justifyContent: 'center',
|
||||||
|
alignItems: 'center'
|
||||||
|
}}>
|
||||||
|
<Image
|
||||||
|
source={require('../../../../assets/amicale.png')}
|
||||||
|
style={{flex: 1, resizeMode: "contain"}}
|
||||||
|
resizeMode="contain"/>
|
||||||
|
</View>
|
||||||
|
<Text>{i18n.t("clubs.aboutText")}</Text>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"planning": "Planning",
|
"planning": "Planning",
|
||||||
"planningDisplayScreen": "Event details",
|
"planningDisplayScreen": "Event details",
|
||||||
"clubDisplayScreen": "Club details",
|
"clubDisplayScreen": "Club details",
|
||||||
|
"clubsAbout": "Clubs",
|
||||||
"proxiwash": "Proxiwash",
|
"proxiwash": "Proxiwash",
|
||||||
"proximo": "Proximo",
|
"proximo": "Proximo",
|
||||||
"proximoArticles": "Articles",
|
"proximoArticles": "Articles",
|
||||||
|
@ -270,7 +271,8 @@
|
||||||
"managersSubtitle": "These people make the club live",
|
"managersSubtitle": "These people make the club live",
|
||||||
"managersUnavailable": "This club has no one :(",
|
"managersUnavailable": "This club has no one :(",
|
||||||
"categories": "Categories",
|
"categories": "Categories",
|
||||||
"categoriesFilterMessage": "Click on a category to filter the list"
|
"categoriesFilterMessage": "Click on a category to filter the list",
|
||||||
|
"aboutText": "The clubs, making the campus live, with more than sixty clubs offering various activities! From the philosophy club to the PABI (Production Artisanale de Bière Insaienne), without forgetting the multiple music and dance clubs, you will surely find an activity that suits you!"
|
||||||
},
|
},
|
||||||
"voteScreen": {
|
"voteScreen": {
|
||||||
"select": {
|
"select": {
|
||||||
|
@ -304,8 +306,8 @@
|
||||||
"title": {
|
"title": {
|
||||||
"title": "The Elections",
|
"title": "The Elections",
|
||||||
"subtitle": "Why your vote is important",
|
"subtitle": "Why your vote is important",
|
||||||
"paragraph1" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus rhoncus porttitor suscipit. Quisque hendrerit, quam id vestibulum vestibulum, lorem nisi hendrerit nisi, a eleifend sapien diam ut elit. Curabitur sit amet vulputate lectus. Donec semper cursus sapienvel finibus.",
|
"paragraph1" : "The Amicale's elections is the right moment for you to choose the next team, which will handle different projects on the campus, help organizing your favorite events, animate the campus life during the whole year, and relay your ideas to the administration, so that your campus life is the most enjoyable possible!\nYour turn to make a change!\uD83D\uDE09",
|
||||||
"paragraph2" : "Sed et venenatis turpis. Fusce malesuada magna urna, sed vehicula sem luctus in. Vivamus faucibus vel eros a ultricies. In sed laoreet ante, luctus mattis tellus. Etiam vitae ipsum sagittis, consequat purus sed, blandit risus."
|
"paragraph2" : "Note: If there is only one list, it is still important to vote to show your support, so that the administration knows the current list is supported by students. It is always a plus when taking difficult decisions! \uD83D\uDE09"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dialog": {
|
"dialog": {
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"planning": "Planning",
|
"planning": "Planning",
|
||||||
"planningDisplayScreen": "Détails",
|
"planningDisplayScreen": "Détails",
|
||||||
"clubDisplayScreen": "Détails",
|
"clubDisplayScreen": "Détails",
|
||||||
|
"clubsAbout": "Les Clubs",
|
||||||
"proxiwash": "Proxiwash",
|
"proxiwash": "Proxiwash",
|
||||||
"proximo": "Proximo",
|
"proximo": "Proximo",
|
||||||
"proximoArticles": "Articles",
|
"proximoArticles": "Articles",
|
||||||
|
@ -270,7 +271,8 @@
|
||||||
"managersSubtitle": "Ces personnes font vivre le club",
|
"managersSubtitle": "Ces personnes font vivre le club",
|
||||||
"managersUnavailable": "Ce club est tout seul :(",
|
"managersUnavailable": "Ce club est tout seul :(",
|
||||||
"categories": "Catégories",
|
"categories": "Catégories",
|
||||||
"categoriesFilterMessage": "Cliquez sur une catégorie pour filtrer la liste"
|
"categoriesFilterMessage": "Cliquez sur une catégorie pour filtrer la liste",
|
||||||
|
"aboutText": "Les clubs, c'est ce qui fait vivre le campus au quotidien, plus d'une soixantaine de clubs qui proposent des activités diverses et variées ! Du club Philosophie au PABI (Production Artisanale de Bière Insaienne), en passant par les multiples clubs de musique et de danse, vous trouverez forcément une activité qui vous permettra de vous épanouir sur le campus !"
|
||||||
},
|
},
|
||||||
"voteScreen": {
|
"voteScreen": {
|
||||||
"select": {
|
"select": {
|
||||||
|
@ -304,8 +306,8 @@
|
||||||
"title": {
|
"title": {
|
||||||
"title": "Les Élections",
|
"title": "Les Élections",
|
||||||
"subtitle": "Pourquoi votre vote est important",
|
"subtitle": "Pourquoi votre vote est important",
|
||||||
"paragraph1" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus rhoncus porttitor suscipit. Quisque hendrerit, quam id vestibulum vestibulum, lorem nisi hendrerit nisi, a eleifend sapien diam ut elit. Curabitur sit amet vulputate lectus. Donec semper cursus sapienvel finibus.",
|
"paragraph1" : "Les élections de l'amicale, c'est le moment pour vous de choisir la prochaine équipe qui portera les différents projets du campus, qui soutiendra les organisations de vos événements favoris, qui vous proposera des animations tout au long de l'année, et qui poussera vos idées à l’administration pour que la vie de campus soit des plus riches !\nAlors à vous de jouer ! \uD83D\uDE09",
|
||||||
"paragraph2" : "Sed et venenatis turpis. Fusce malesuada magna urna, sed vehicula sem luctus in. Vivamus faucibus vel eros a ultricies. In sed laoreet ante, luctus mattis tellus. Etiam vitae ipsum sagittis, consequat purus sed, blandit risus."
|
"paragraph2" : "NB : Si par cas il n'y a qu'une liste qui se présente, il est important que tout le monde vote, afin qui la liste puisse montrer à l’administration que les INSAiens la soutiennent ! Ça compte toujours pour les décisions difficiles ! \uD83D\uDE09"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dialog": {
|
"dialog": {
|
||||||
|
|
Loading…
Reference in a new issue