summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-06-28 16:08:15 -0300
committerJoram Wilander <jwawilander@gmail.com>2016-06-28 15:08:15 -0400
commit1707007ff92e6f1ae6f8c948b359cd5e9228ed3d (patch)
treed0faa244e5a4a59757d67cf6d7df2090e45d7ef3
parent96bddf90169a0d9c39bdb0ae425ff15dfd03f62b (diff)
downloadchat-1707007ff92e6f1ae6f8c948b359cd5e9228ed3d.tar.gz
chat-1707007ff92e6f1ae6f8c948b359cd5e9228ed3d.tar.bz2
chat-1707007ff92e6f1ae6f8c948b359cd5e9228ed3d.zip
PLT-3417 Missing localization on Account Settings and Backstage (#3437)
-rw-r--r--webapp/components/backstage/installed_command.jsx2
-rw-r--r--webapp/components/user_settings/custom_theme_chooser.jsx15
-rw-r--r--webapp/i18n/en.json21
3 files changed, 31 insertions, 7 deletions
diff --git a/webapp/components/backstage/installed_command.jsx b/webapp/components/backstage/installed_command.jsx
index c0c34bc78..88f43f674 100644
--- a/webapp/components/backstage/installed_command.jsx
+++ b/webapp/components/backstage/installed_command.jsx
@@ -126,7 +126,7 @@ export default class InstalledCommand extends React.Component {
>
<FormattedMessage
id='installed_integrations.regenToken'
- defaultMessage='Regen Token'
+ defaultMessage='Regenerate Token'
/>
</a>
{' - '}
diff --git a/webapp/components/user_settings/custom_theme_chooser.jsx b/webapp/components/user_settings/custom_theme_chooser.jsx
index 8f95a990d..560335379 100644
--- a/webapp/components/user_settings/custom_theme_chooser.jsx
+++ b/webapp/components/user_settings/custom_theme_chooser.jsx
@@ -338,7 +338,10 @@ class CustomThemeChooser extends React.Component {
className='theme-elements__header'
onClick={this.toggleContent}
>
- {'Sidebar Styles'}
+ <FormattedMessage
+ id='user.settings.custom_theme.sidebarTitle'
+ defaultMessage='Sidebar Styles'
+ />
<div className='header__icon'>
<i className='fa fa-plus'></i>
<i className='fa fa-minus'></i>
@@ -353,7 +356,10 @@ class CustomThemeChooser extends React.Component {
className='theme-elements__header'
onClick={this.toggleContent}
>
- {'Center Channel Styles'}
+ <FormattedMessage
+ id='user.settings.custom_theme.centerChannelTitle'
+ defaultMessage='Center Channel Styles'
+ />
<div className='header__icon'>
<i className='fa fa-plus'></i>
<i className='fa fa-minus'></i>
@@ -368,7 +374,10 @@ class CustomThemeChooser extends React.Component {
className='theme-elements__header'
onClick={this.toggleContent}
>
- {'Link and Button Styles'}
+ <FormattedMessage
+ id='user.settings.custom_theme.linkButtonTitle'
+ defaultMessage='Link and Button Styles'
+ />
<div className='header__icon'>
<i className='fa fa-plus'></i>
<i className='fa fa-minus'></i>
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index 1595c2c82..3325ec85d 100644
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -37,6 +37,7 @@
"add_command.autocompleteHint": "Autocomplete Hint",
"add_command.autocompleteHint.help": "Optional hint in the autocomplete list about parameters needed for command.",
"add_command.autocompleteHint.placeholder": "Example: [Patient Name]",
+ "add_command.cancel": "Cancel",
"add_command.description": "Description",
"add_command.displayName": "Display Name",
"add_command.header": "Add",
@@ -47,6 +48,7 @@
"add_command.method.get": "GET",
"add_command.method.help": "The type of command request issued to the Request URL.",
"add_command.method.post": "POST",
+ "add_command.save": "Save",
"add_command.trigger": "Command Trigger Word",
"add_command.trigger.help1": "Examples: patient, client, employee",
"add_command.trigger.help2": "Reserved: echo, join, logout, me, shrug",
@@ -66,6 +68,7 @@
"add_incoming_webhook.channel": "Channel",
"add_incoming_webhook.channelRequired": "A valid channel is required",
"add_incoming_webhook.description": "Description",
+ "add_incoming_webhook.displayName": "Display Name",
"add_incoming_webhook.header": "Add",
"add_incoming_webhook.name": "Name",
"add_incoming_webhook.save": "Save",
@@ -73,15 +76,17 @@
"add_outgoing_webhook.callbackUrlsRequired": "One or more callback URLs are required",
"add_outgoing_webhook.cancel": "Cancel",
"add_outgoing_webhook.channel": "Channel",
+ "add_outgoing_webhook.content_Type": "Content Type",
"add_outgoing_webhook.description": "Description",
+ "add_outgoing_webhook.displayName": "Display Name",
"add_outgoing_webhook.header": "Add",
"add_outgoing_webhook.name": "Name",
"add_outgoing_webhook.save": "Save",
- "add_outgoing_webhook.triggerWOrds": "Trigger Words (One Per Line)",
"add_outgoing_webhook.triggerWords": "Trigger Words (One Per Line)",
"add_outgoing_webhook.triggerWordsOrChannelRequired": "A valid channel or a list of trigger words is required",
"admin.audits.reload": "Reload User Activity Logs",
"admin.audits.title": "User Activity Logs",
+ "admin.authentication.email": "Email Auth",
"admin.authentication.gitlab": "GitLab",
"admin.banner.heading": "Note:",
"admin.compliance.directoryDescription": "Directory to which compliance reports are written. If blank, will be set to ./data/.",
@@ -840,8 +845,8 @@
"create_team.display_name.teamName": "Team Name",
"create_team.team_url.back": "Back to previous step",
"create_team.team_url.charLength": "Name must be 4 or more characters up to a maximum of 15",
- "create_team.team_url.finish": "Finish",
"create_team.team_url.creatingTeam": "Creating team...",
+ "create_team.team_url.finish": "Finish",
"create_team.team_url.hint": "<li>Short and memorable is best</li><li>Use lowercase letters, numbers and dashes</li><li>Must start with a letter and can't end in a dash</li>",
"create_team.team_url.regex": "Use only lower case letters, numbers and dashes. Must start with a letter and can't end in a dash.",
"create_team.team_url.required": "This field is required",
@@ -948,21 +953,28 @@
"get_team_invite_link_modal.help": "Send teammates the link below for them to sign-up to this team site. The Team Invite Link can be shared with multiple teammates as it does not change unless it's regenerated in Team Settings by a Team Admin.",
"get_team_invite_link_modal.helpDisabled": "User creation has been disabled for your team. Please ask your team administrator for details.",
"get_team_invite_link_modal.title": "Team Invite Link",
+ "installed_command.header": "Slash Commands",
"installed_commands.add": "Add Slash Command",
"installed_commands.empty": "No commands found",
"installed_commands.header": "Slash Commands",
"installed_incoming_webhooks.add": "Add Incoming Webhook",
"installed_incoming_webhooks.empty": "No incoming webhooks found",
"installed_incoming_webhooks.header": "Incoming Webhooks",
+ "installed_incoming_webhooks.unknown_channel": "A Private Webhook",
+ "installed_integraions.unnamed_command": "Unnamed Slash Command",
+ "installed_integrations.callback_urls": "Callback URLs: {urls}",
+ "installed_integrations.content_type": "Content-Type: {contentType}",
"installed_integrations.creation": "Created by {creator} on {createAt, date, full}",
"installed_integrations.delete": "Delete",
- "installed_integrations.regenToken": "Regen Token",
+ "installed_integrations.regenToken": "Regenerate Token",
"installed_integrations.search": "Search Integrations",
"installed_integrations.token": "Token: {token}",
+ "installed_integrations.triggerWords": "Trigger Words: {triggerWords}",
"installed_integrations.url": "URL: {url}",
"installed_outgoing_webhooks.add": "Add Outgoing Webhook",
"installed_outgoing_webhooks.empty": "No outgoing webhooks found",
"installed_outgoing_webhooks.header": "Outgoing Webhooks",
+ "installed_outgoing_webhooks.unknown_channel": "A Private Webhook",
"integrations.command.description": "Slash commands send events to external integrations",
"integrations.command.title": "Slash Command",
"integrations.header": "Integrations",
@@ -1327,8 +1339,10 @@
"user.settings.custom_theme.buttonColor": "Button Text",
"user.settings.custom_theme.centerChannelBg": "Center Channel BG",
"user.settings.custom_theme.centerChannelColor": "Center Channel Text",
+ "user.settings.custom_theme.centerChannelTitle": "Center Channel Styles",
"user.settings.custom_theme.codeTheme": "Code Theme",
"user.settings.custom_theme.copyPaste": "Copy and paste to share theme colors:",
+ "user.settings.custom_theme.linkButtonTitle": "Link and Button Styles",
"user.settings.custom_theme.linkColor": "Link Color",
"user.settings.custom_theme.mentionBj": "Mention Jewel BG",
"user.settings.custom_theme.mentionColor": "Mention Jewel Text",
@@ -1343,6 +1357,7 @@
"user.settings.custom_theme.sidebarTextActiveBorder": "Sidebar Text Active Border",
"user.settings.custom_theme.sidebarTextActiveColor": "Sidebar Text Active Color",
"user.settings.custom_theme.sidebarTextHoverBg": "Sidebar Text Hover BG",
+ "user.settings.custom_theme.sidebarTitle": "Sidebar Styles",
"user.settings.custom_theme.sidebarUnreadText": "Sidebar Unread Text",
"user.settings.developer.applicationsPreview": "Applications (Preview)",
"user.settings.developer.register": "Register New Application",