From a608f67af5759756178c87e75954907f12de34b9 Mon Sep 17 00:00:00 2001 From: DarkSmile92 Date: Tue, 23 Jan 2018 16:07:34 +0100 Subject: [PATCH 1/2] Translation of settings page --- app/components/settings/General.jsx | 27 +++++----- app/components/settings/Invoice.jsx | 45 ++++++++--------- app/components/settings/Profile.jsx | 17 ++++--- app/containers/Settings.jsx | 20 +++++--- i18n/de/form.json | 58 ++++++++++++++++++++++ i18n/de/index.js | 7 +++ i18n/de/settings.json | 77 +++++++++++++++++++++++++++++ i18n/en/index.js | 4 +- i18n/en/settings.json | 77 +++++++++++++++++++++++++++++ i18n/fr/index.js | 4 +- i18n/fr/settings.json | 77 +++++++++++++++++++++++++++++ i18n/i18n.js | 2 + i18n/vi/index.js | 4 +- i18n/vi/settings.json | 77 +++++++++++++++++++++++++++++ 14 files changed, 442 insertions(+), 54 deletions(-) create mode 100644 i18n/de/form.json create mode 100644 i18n/de/index.js create mode 100644 i18n/de/settings.json create mode 100644 i18n/en/settings.json create mode 100644 i18n/fr/settings.json create mode 100644 i18n/vi/settings.json diff --git a/app/components/settings/General.jsx b/app/components/settings/General.jsx index aae51f17..695f93f7 100644 --- a/app/components/settings/General.jsx +++ b/app/components/settings/General.jsx @@ -26,25 +26,26 @@ class General extends Component { } render() { + const { t } = this.props; return (
- +
- +