Skip to content

Commit

Permalink
Merge pull request #313 from meetfranz/feature/translation-help
Browse files Browse the repository at this point in the history
[PR] Add translation help to settings
  • Loading branch information
adlk authored Nov 21, 2017
2 parents 942727a + 1eef86b commit 6456fd4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/settings/settings/EditSettingsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const messages = defineMessages({
id: 'settings.app.headlineAdvanced',
defaultMessage: '!!!Advanced',
},
translationHelp: {
id: 'settings.app.translationHelp',
defaultMessage: '!!!Help us to translate Franz into your language.',
},
buttonSearchForUpdate: {
id: 'settings.app.buttonSearchForUpdate',
defaultMessage: '!!!Check for updates',
Expand Down Expand Up @@ -140,6 +144,13 @@ export default class EditSettingsForm extends Component {
{/* Language */}
<h2 id="language">{intl.formatMessage(messages.headlineLanguage)}</h2>
<Select field={form.$('locale')} showLabel={false} />
<a
href="http://i18n.meetfranz.com"
target="_blank"
className="link"
>
{intl.formatMessage(messages.translationHelp)} <i className="mdi mdi-open-in-new" />
</a>

{/* Advanced */}
<h2 id="advanced">{intl.formatMessage(messages.headlineAdvanced)}</h2>
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"settings.app.form.enableSpellchecking": "Enable spell checking",
"settings.app.form.showDisabledServices": "Display disabled services tabs",
"settings.app.form.beta": "Include beta versions",
"settings.app.translationHelp": "Help us to translate Franz into your language.",
"settings.app.currentVersion": "Current version:",
"settings.app.restartRequired": "Changes require restart",
"settings.user.form.firstname": "First Name",
Expand Down

0 comments on commit 6456fd4

Please sign in to comment.