diff options
author | 2017-11-21 11:45:40 +0100 | |
---|---|---|
committer | 2017-11-21 11:45:40 +0100 | |
commit | 6456fd4a8d7890ada79ceb4af2a5c9778a59fcd5 (patch) | |
tree | 6ffe41bf55cb5aa9f6000210758d40cb6bf24d94 /src | |
parent | Merge pull request #312 from meetfranz/feature/update-notification-add-changelog (diff) | |
parent | Merge branch 'develop' into feature/translation-help (diff) | |
download | ferdium-app-6456fd4a8d7890ada79ceb4af2a5c9778a59fcd5.tar.gz ferdium-app-6456fd4a8d7890ada79ceb4af2a5c9778a59fcd5.tar.zst ferdium-app-6456fd4a8d7890ada79ceb4af2a5c9778a59fcd5.zip |
Merge pull request #313 from meetfranz/feature/translation-help
[PR] Add translation help to settings
Diffstat (limited to 'src')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 11 | ||||
-rw-r--r-- | src/i18n/locales/en-US.json | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 601d57c81..941f2149e 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -34,6 +34,10 @@ const messages = defineMessages({ | |||
34 | id: 'settings.app.headlineAdvanced', | 34 | id: 'settings.app.headlineAdvanced', |
35 | defaultMessage: '!!!Advanced', | 35 | defaultMessage: '!!!Advanced', |
36 | }, | 36 | }, |
37 | translationHelp: { | ||
38 | id: 'settings.app.translationHelp', | ||
39 | defaultMessage: '!!!Help us to translate Franz into your language.', | ||
40 | }, | ||
37 | buttonSearchForUpdate: { | 41 | buttonSearchForUpdate: { |
38 | id: 'settings.app.buttonSearchForUpdate', | 42 | id: 'settings.app.buttonSearchForUpdate', |
39 | defaultMessage: '!!!Check for updates', | 43 | defaultMessage: '!!!Check for updates', |
@@ -140,6 +144,13 @@ export default class EditSettingsForm extends Component { | |||
140 | {/* Language */} | 144 | {/* Language */} |
141 | <h2 id="language">{intl.formatMessage(messages.headlineLanguage)}</h2> | 145 | <h2 id="language">{intl.formatMessage(messages.headlineLanguage)}</h2> |
142 | <Select field={form.$('locale')} showLabel={false} /> | 146 | <Select field={form.$('locale')} showLabel={false} /> |
147 | <a | ||
148 | href="http://i18n.meetfranz.com" | ||
149 | target="_blank" | ||
150 | className="link" | ||
151 | > | ||
152 | {intl.formatMessage(messages.translationHelp)} <i className="mdi mdi-open-in-new" /> | ||
153 | </a> | ||
143 | 154 | ||
144 | {/* Advanced */} | 155 | {/* Advanced */} |
145 | <h2 id="advanced">{intl.formatMessage(messages.headlineAdvanced)}</h2> | 156 | <h2 id="advanced">{intl.formatMessage(messages.headlineAdvanced)}</h2> |
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 67ea2034a..b062d5548 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json | |||
@@ -148,6 +148,7 @@ | |||
148 | "settings.app.form.enableSpellchecking": "Enable spell checking", | 148 | "settings.app.form.enableSpellchecking": "Enable spell checking", |
149 | "settings.app.form.showDisabledServices": "Display disabled services tabs", | 149 | "settings.app.form.showDisabledServices": "Display disabled services tabs", |
150 | "settings.app.form.beta": "Include beta versions", | 150 | "settings.app.form.beta": "Include beta versions", |
151 | "settings.app.translationHelp": "Help us to translate Franz into your language.", | ||
151 | "settings.app.currentVersion": "Current version:", | 152 | "settings.app.currentVersion": "Current version:", |
152 | "settings.app.restartRequired": "Changes require restart", | 153 | "settings.app.restartRequired": "Changes require restart", |
153 | "settings.user.form.firstname": "First Name", | 154 | "settings.user.form.firstname": "First Name", |