Minor string changes for JIRA setting (#7264)

* Update settings.jsx

* Update en.json
Этот коммит содержится в:
Jason Blais
2017-08-21 08:04:33 -04:00
коммит произвёл Joram Wilander
родитель 1222e6cd41
Коммит d7b055f428
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@@ -651,15 +651,15 @@
"admin.password.symbol": "At least one symbol (e.g. \"~!@#$%^&*()\")",
"admin.password.uppercase": "At least one uppercase letter",
"admin.plugins.jira": "JIRA (Beta)",
"admin.plugins.jira.channelParamNamePlaceholder": "channelname",
"admin.plugins.jira.channelParamNamePlaceholder": "channelurl",
"admin.plugins.jira.enabledDescription": "When true, you can configure JIRA webhooks to post message in Mattermost. To help combat phishing attacks, all posts are labelled by a BOT tag.",
"admin.plugins.jira.enabledLabel": "Enabled:",
"admin.plugins.jira.enabledLabel": "Enable JIRA:",
"admin.plugins.jira.secretDescription": "This secret is used to authenticate to Mattermost.",
"admin.plugins.jira.secretLabel": "Secret:",
"admin.plugins.jira.secretParamPlaceholder": "secret",
"admin.plugins.jira.secretRegenerateDescription": "Regenerates the secret for the webhook URL endpoint. Regenerating the secret invalidates your existing JIRA integrations.",
"admin.plugins.jira.setupDescription": "Use this webhook URL to set up the JIRA integration. See {webhookDocsLink} to learn more.",
"admin.plugins.jira.teamParamPlaceholder": "teamname",
"admin.plugins.jira.teamParamPlaceholder": "teamurl",
"admin.plugins.jira.userDescription": "Select the username that this integration is attached to.",
"admin.plugins.jira.userLabel": "User:",
"admin.plugins.jira.webhookDocsLink": "documentation",

Просмотреть файл

@@ -180,7 +180,7 @@ export default class JIRASettings extends AdminSettings {
<SettingsGroup>
<BooleanSetting
id='enabled'
label={Utils.localizeMessage('admin.plugins.jira.enabledLabel', 'Enabled:')}
label={Utils.localizeMessage('admin.plugins.jira.enabledLabel', 'Enable JIRA:')}
helpText={Utils.localizeMessage('admin.plugins.jira.enabledDescription', 'When true, you can configure JIRA webhooks to post message in Mattermost. To help combat phishing attacks, all posts are labelled by a BOT tag.')}
value={this.state.enabled}
onChange={(id, value) => this.handleEnabledChange(value)}
@@ -237,9 +237,9 @@ export default class JIRASettings extends AdminSettings {
'/plugins/jira/webhook?secret=' +
(this.state.secret ? encodeURIComponent(this.state.secret) : ('<b>' + Utils.localizeMessage('admin.plugins.jira.secretParamPlaceholder', 'secret') + '</b>')) +
'&team=<b>' +
Utils.localizeMessage('admin.plugins.jira.teamParamPlaceholder', 'teamname') +
Utils.localizeMessage('admin.plugins.jira.teamParamPlaceholder', 'teamurl') +
'</b>&channel=<b>' +
Utils.localizeMessage('admin.plugins.jira.channelParamNamePlaceholder', 'channelname') +
Utils.localizeMessage('admin.plugins.jira.channelParamNamePlaceholder', 'channelurl') +
'</b>'
}}
/>