From c557a47341e8e4034be81f42b35caf7bdfb3d48d Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 12 Apr 2019 13:40:36 +0200 Subject: Add language disclaimer --- src/components/settings/settings/EditSettingsForm.js | 8 ++++++++ src/i18n/locales/defaultMessages.json | 13 +++++++++++++ src/i18n/locales/en-US.json | 3 ++- .../src/components/settings/settings/EditSettingsForm.json | 13 +++++++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 8429d0ecb..efd453356 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js @@ -81,6 +81,10 @@ const messages = defineMessages({ id: 'settings.app.restartRequired', defaultMessage: '!!!Changes require restart', }, + languageDisclaimer: { + id: 'settings.app.languageDisclaimer', + defaultMessage: '!!!Official translations are English & German. All other languages are community based translations.', + }, }); export default @observer class EditSettingsForm extends Component { @@ -239,6 +243,10 @@ export default @observer class EditSettingsForm extends Component { {intl.formatMessage(messages.currentVersion)} {' '} {remote.app.getVersion()} +

+ + {intl.formatMessage(messages.languageDisclaimer)} +

diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index 65799b614..bb7784257 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json @@ -2237,6 +2237,19 @@ "column": 29, "line": 80 } + }, + { + "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", + "end": { + "column": 3, + "line": 87 + }, + "file": "src/components/settings/settings/EditSettingsForm.js", + "id": "settings.app.languageDisclaimer", + "start": { + "column": 22, + "line": 84 + } } ], "path": "src/components/settings/settings/EditSettingsForm.json" diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 84a71117a..a9d0f789d 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json @@ -162,6 +162,7 @@ "settings.app.headlineGeneral": "General", "settings.app.headlineLanguage": "Language", "settings.app.headlineUpdates": "Updates", + "settings.app.languageDisclaimer": "Official translations are English & German. All other languages are community based translations.", "settings.app.restartRequired": "Changes require restart", "settings.app.subheadlineCache": "Cache", "settings.app.translationHelp": "Help us to translate Franz into your language.", @@ -317,4 +318,4 @@ "workspaceDrawer.workspaceFeatureInfo": "

Franz Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time.

You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.

", "workspaceDrawer.workspacesSettingsTooltip": "Edit workspaces settings", "workspaces.switchingIndicator.switchingTo": "Switching to" -} \ No newline at end of file +} diff --git a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json index c64f477be..fa21db10a 100644 --- a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json +++ b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json @@ -219,5 +219,18 @@ "line": 83, "column": 3 } + }, + { + "id": "settings.app.languageDisclaimer", + "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", + "file": "src/components/settings/settings/EditSettingsForm.js", + "start": { + "line": 84, + "column": 22 + }, + "end": { + "line": 87, + "column": 3 + } } ] \ No newline at end of file -- cgit v1.2.3-70-g09d2