From 35d39a571129c475e86ae4fa817c9bd843e4db9e Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Mon, 22 Jun 2020 20:43:40 +0200 Subject: [PATCH] Updated services descriptions --- src/screens/Services/ServicesScreen.js | 30 +++++++++++++------------- translations/en.json | 18 +++++++++++++++- translations/fr.json | 18 +++++++++++++++- 3 files changed, 49 insertions(+), 17 deletions(-) diff --git a/src/screens/Services/ServicesScreen.js b/src/screens/Services/ServicesScreen.js index 730edfb..519095a 100644 --- a/src/screens/Services/ServicesScreen.js +++ b/src/screens/Services/ServicesScreen.js @@ -66,25 +66,25 @@ class ServicesScreen extends React.Component { this.amicaleDataset = [ { title: i18n.t('screens.clubsAbout'), - subtitle: "CLUB LIST", + subtitle: i18n.t('servicesScreen.descriptions.clubs'), image: CLUBS_IMAGE, onPress: () => nav.navigate("club-list"), }, { title: i18n.t('screens.profile'), - subtitle: "PROFIL", + subtitle: i18n.t('servicesScreen.descriptions.profile'), image: PROFILE_IMAGE, onPress: () => nav.navigate("profile"), }, { title: i18n.t('screens.amicaleWebsite'), - subtitle: "AMICALE", + subtitle: i18n.t('servicesScreen.descriptions.amicaleWebsite'), image: AMICALE_IMAGE, onPress: () => nav.navigate("amicale-website"), }, { title: i18n.t('screens.vote'), - subtitle: "ELECTIONS", + subtitle: i18n.t('servicesScreen.descriptions.vote'), image: VOTE_IMAGE, onPress: () => nav.navigate("vote"), }, @@ -92,31 +92,31 @@ class ServicesScreen extends React.Component { this.studentsDataset = [ { title: i18n.t('screens.proximo'), - subtitle: "proximo", + subtitle: i18n.t('servicesScreen.descriptions.proximo'), image: PROXIMO_IMAGE, onPress: () => nav.navigate("proximo"), }, { title: "Wiketud", - subtitle: "wiketud", + subtitle: i18n.t('servicesScreen.descriptions.wiketud'), image: WIKETUD_IMAGE, onPress: () => nav.navigate("wiketud"), }, { title: "Élus Étudiants", - subtitle: "ELUS ETUDIANTS", + subtitle: i18n.t('servicesScreen.descriptions.elusEtudiants'), image: EE_IMAGE, onPress: () => nav.navigate("elus-etudiants"), }, { title: "Tutor'INSA", - subtitle: "TUTOR INSA", + subtitle: i18n.t('servicesScreen.descriptions.tutorInsa'), image: TUTORINSA_IMAGE, onPress: () => nav.navigate("tutorinsa"), }, { title: i18n.t('screens.amicaleWebsite'), - subtitle: "AMICALE", + subtitle: i18n.t('servicesScreen.descriptions.amicaleWebsite'), image: AMICALE_IMAGE, onPress: () => nav.navigate("amicale-website"), }, @@ -124,37 +124,37 @@ class ServicesScreen extends React.Component { this.insaDataset = [ { title: i18n.t('screens.map'), - subtitle: "MAP", + subtitle: i18n.t('servicesScreen.descriptions.map'), image: MAP_IMAGE, onPress: () => nav.navigate("map"), }, { title: i18n.t('screens.menuSelf'), - subtitle: "the ru", + subtitle: i18n.t('servicesScreen.descriptions.self'), image: RU_IMAGE, onPress: () => nav.navigate("self-menu"), }, { title: i18n.t('screens.availableRooms'), - subtitle: "ROOMS", + subtitle: i18n.t('servicesScreen.descriptions.availableRooms'), image: ROOM_IMAGE, onPress: () => nav.navigate("available-rooms"), }, { title: i18n.t('screens.bib'), - subtitle: "BIB", + subtitle: i18n.t('servicesScreen.descriptions.bib'), image: BIB_IMAGE, onPress: () => nav.navigate("bib"), }, { title: i18n.t('screens.bluemind'), - subtitle: "EMAIL", + subtitle: i18n.t('servicesScreen.descriptions.mails'), image: EMAIL_IMAGE, onPress: () => nav.navigate("bluemind"), }, { title: i18n.t('screens.ent'), - subtitle: "ENT", + subtitle: i18n.t('servicesScreen.descriptions.ent'), image: ENT_IMAGE, onPress: () => nav.navigate("ent"), }, diff --git a/translations/en.json b/translations/en.json index 8633472..f434ac5 100644 --- a/translations/en.json +++ b/translations/en.json @@ -398,7 +398,23 @@ "amicale": "The Amicale", "students": "Student services", "insa": "INSA services", - "notLoggedIn": "Not logged in" + "notLoggedIn": "Not logged in", + "descriptions": { + "clubs": "See info about your favorite club and discover new ones", + "profile": "See your personal information", + "amicaleWebsite": "See more information on the website", + "vote": "Vote for the upcoming elections", + "proximo": "Check the store's stock", + "wiketud": "Read useful info about classes and campus life", + "elusEtudiants": "The students in contact with the administration", + "tutorInsa": "Give and take part in tutorials by students", + "map": "Find your way around the campus", + "self": "Check the RU menu", + "availableRooms": "See how many rooms are free", + "bib": "Book a Bib'Box for project work", + "mails": "Check your INSA mails", + "ent": "See your grades" + } }, "planningScreen": { "invalidEvent": "Could not find the event. Please make sure the event you are trying to access is valid." diff --git a/translations/fr.json b/translations/fr.json index ec18201..149ae00 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -398,7 +398,23 @@ "amicale": "L'Amicale", "students": "Services étudiants", "insa": "Services de l'INSA", - "notLoggedIn": "Non connecté" + "notLoggedIn": "Non connecté", + "descriptions": { + "clubs": "Voir les informations sur les clubs", + "profile": "Voir vos informations personnelles", + "amicaleWebsite": "Plus d'informations sur le site", + "vote": "Votez pour les prochaines élections", + "proximo": "Regardez le stock du Proximo", + "wiketud": "Trouvez des informations utiles sur les cours et la vie du campus", + "elusEtudiants": "Les étudiants en contact avec l'administration", + "tutorInsa": "Donnez et bénéficiez de tutorats par d'autres étudiants", + "map": "Trouvez votre chemin sur le campus", + "self": "Regardez le menu du RU", + "availableRooms": "Vérifiez les salles disponibles", + "bib": "Réservez une Bib'Box pour les travaux de groupe", + "mails": "Vérifiez vos mails INSA", + "ent": "Retrouvez vos notes" + } }, "planningScreen": { "invalidEvent": "Impossible de trouver l'événement. Merci de vérifier que l'événement que vous voulez voir est valide."