Minor string changes for JIRA setting (#7264)
* Update settings.jsx * Update en.json
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
1222e6cd41
Коммит
d7b055f428
@@ -651,15 +651,15 @@
|
|||||||
"admin.password.symbol": "At least one symbol (e.g. \"~!@#$%^&*()\")",
|
"admin.password.symbol": "At least one symbol (e.g. \"~!@#$%^&*()\")",
|
||||||
"admin.password.uppercase": "At least one uppercase letter",
|
"admin.password.uppercase": "At least one uppercase letter",
|
||||||
"admin.plugins.jira": "JIRA (Beta)",
|
"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.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.secretDescription": "This secret is used to authenticate to Mattermost.",
|
||||||
"admin.plugins.jira.secretLabel": "Secret:",
|
"admin.plugins.jira.secretLabel": "Secret:",
|
||||||
"admin.plugins.jira.secretParamPlaceholder": "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.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.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.userDescription": "Select the username that this integration is attached to.",
|
||||||
"admin.plugins.jira.userLabel": "User:",
|
"admin.plugins.jira.userLabel": "User:",
|
||||||
"admin.plugins.jira.webhookDocsLink": "documentation",
|
"admin.plugins.jira.webhookDocsLink": "documentation",
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ export default class JIRASettings extends AdminSettings {
|
|||||||
<SettingsGroup>
|
<SettingsGroup>
|
||||||
<BooleanSetting
|
<BooleanSetting
|
||||||
id='enabled'
|
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.')}
|
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}
|
value={this.state.enabled}
|
||||||
onChange={(id, value) => this.handleEnabledChange(value)}
|
onChange={(id, value) => this.handleEnabledChange(value)}
|
||||||
@@ -237,9 +237,9 @@ export default class JIRASettings extends AdminSettings {
|
|||||||
'/plugins/jira/webhook?secret=' +
|
'/plugins/jira/webhook?secret=' +
|
||||||
(this.state.secret ? encodeURIComponent(this.state.secret) : ('<b>' + Utils.localizeMessage('admin.plugins.jira.secretParamPlaceholder', 'secret') + '</b>')) +
|
(this.state.secret ? encodeURIComponent(this.state.secret) : ('<b>' + Utils.localizeMessage('admin.plugins.jira.secretParamPlaceholder', 'secret') + '</b>')) +
|
||||||
'&team=<b>' +
|
'&team=<b>' +
|
||||||
Utils.localizeMessage('admin.plugins.jira.teamParamPlaceholder', 'teamname') +
|
Utils.localizeMessage('admin.plugins.jira.teamParamPlaceholder', 'teamurl') +
|
||||||
'</b>&channel=<b>' +
|
'</b>&channel=<b>' +
|
||||||
Utils.localizeMessage('admin.plugins.jira.channelParamNamePlaceholder', 'channelname') +
|
Utils.localizeMessage('admin.plugins.jira.channelParamNamePlaceholder', 'channelurl') +
|
||||||
'</b>'
|
'</b>'
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user