From 7829b893c508ed852bbaa1b63aa4de71c0161ef3 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sat, 4 Apr 2020 19:46:53 +0200 Subject: [PATCH] Added button translation --- components/Home/ActionsDashboardItem.js | 3 ++- translations/en.json | 1 + translations/fr.json | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/Home/ActionsDashboardItem.js b/components/Home/ActionsDashboardItem.js index b214dcd..65ab674 100644 --- a/components/Home/ActionsDashboardItem.js +++ b/components/Home/ActionsDashboardItem.js @@ -3,6 +3,7 @@ import * as React from 'react'; import {Button, Card, withTheme} from 'react-native-paper'; import {StyleSheet} from "react-native"; +import i18n from 'i18n-js'; type Props = { navigation: Object, @@ -35,7 +36,7 @@ class ActionsDashBoardItem extends React.PureComponent { onPress={this.openDrawer} style={styles.servicesButton} > - PLUS DE SERVICES + {i18n.t("homeScreen.servicesButton")}