summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Gathoye <william@gathoye.be>2017-05-11 15:45:25 +0200
committerHarrison Healey <harrisonmhealey@gmail.com>2017-05-11 09:45:25 -0400
commit01fab5de9411f700f43a703c1502473059bc73f5 (patch)
treefd4da81a42d0387289d37101c13d9c62ba8a6859
parent81b2fd99825b1f92f7aad3591b95425656497a16 (diff)
downloadchat-01fab5de9411f700f43a703c1502473059bc73f5.tar.gz
chat-01fab5de9411f700f43a703c1502473059bc73f5.tar.bz2
chat-01fab5de9411f700f43a703c1502473059bc73f5.zip
Fix some issues in English (#5714)
-rw-r--r--app/email_test.go2
-rw-r--r--i18n/en.json34
-rw-r--r--webapp/components/error_bar.jsx4
-rwxr-xr-xwebapp/i18n/en.json4
4 files changed, 22 insertions, 22 deletions
diff --git a/app/email_test.go b/app/email_test.go
index b1aa9976c..a8519ca0f 100644
--- a/app/email_test.go
+++ b/app/email_test.go
@@ -216,7 +216,7 @@ func TestSendSignInChangeEmail(t *testing.T) {
var siteURL string = ""
var method string = "AD/LDAP"
var expectedPartialMessage string = "You updated your sign-in method on Mattermost to " + method + "."
- var expectedSubject string = "[" + utils.Cfg.TeamSettings.SiteName + "] You updated your sign-in method on " + utils.Cfg.TeamSettings.SiteName
+ var expectedSubject string = "[" + utils.Cfg.TeamSettings.SiteName + "] Your sign-in method has been updated"
//Delete all the messages before check the sample email
utils.DeleteMailBox(email)
diff --git a/i18n/en.json b/i18n/en.json
index 9db731cdf..a3889765b 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -49,23 +49,23 @@
},
{
"id": "api.admin.add_certificate.no_file.app_error",
- "translation": "No file under 'certificate' in request"
+ "translation": "No file under 'certificate' in request."
},
{
"id": "api.admin.add_certificate.open.app_error",
- "translation": "Could not open certificate file"
+ "translation": "Could not open certificate file."
},
{
"id": "api.admin.add_certificate.saving.app_error",
- "translation": "Could not save certificate file"
+ "translation": "Could not save certificate file."
},
{
"id": "api.admin.file_read_error",
- "translation": "Error reading log file"
+ "translation": "Error reading log file."
},
{
"id": "api.admin.get_brand_image.not_available.app_error",
- "translation": "Custom branding is not configured or supported on this server"
+ "translation": "Custom branding is not configured or supported on this server."
},
{
"id": "api.admin.get_brand_image.storage.app_error",
@@ -73,15 +73,15 @@
},
{
"id": "api.admin.init.debug",
- "translation": "Initializing admin API routes"
+ "translation": "Initializing admin API routes."
},
{
"id": "api.admin.recycle_db_end.warn",
- "translation": "Finished recycling the database connection"
+ "translation": "Finished recycling the database connection."
},
{
"id": "api.admin.recycle_db_start.warn",
- "translation": "Attempting to recycle the database connection"
+ "translation": "Attempting to recycle the database connection."
},
{
"id": "api.admin.remove_certificate.delete.app_error",
@@ -89,7 +89,7 @@
},
{
"id": "api.admin.saml.metadata.app_error",
- "translation": "An error occurred while building Service Provider Metadata"
+ "translation": "An error occurred while building Service Provider Metadata."
},
{
"id": "api.admin.test_email.body",
@@ -2277,7 +2277,7 @@
},
{
"id": "api.templates.signin_change_email.subject",
- "translation": "[{{ .SiteName }}] You updated your sign-in method on {{ .SiteName }}"
+ "translation": "[{{ .SiteName }}] Your sign-in method has been updated"
},
{
"id": "api.templates.signup_team_body.button",
@@ -2977,7 +2977,7 @@
},
{
"id": "app.import.validate_channel_import_data.create_at_zero.error",
- "translation": "Channel create_at must not be 0 if provided."
+ "translation": "Channel create_at must not be zero if provided."
},
{
"id": "app.import.validate_channel_import_data.display_name_length.error",
@@ -2985,7 +2985,7 @@
},
{
"id": "app.import.validate_channel_import_data.display_name_missing.error",
- "translation": "Missing required channel property: display_name."
+ "translation": "Missing required channel property: display_name"
},
{
"id": "app.import.validate_channel_import_data.header_length.error",
@@ -3029,7 +3029,7 @@
},
{
"id": "app.import.validate_post_import_data.create_at_zero.error",
- "translation": "Post CreateAt must not be zero if it is provided."
+ "translation": "Post CreateAt property must not be zero if provided."
},
{
"id": "app.import.validate_post_import_data.message_length.error",
@@ -3053,7 +3053,7 @@
},
{
"id": "app.import.validate_team_import_data.create_at_zero.error",
- "translation": "Team create_at must not be 0 if provided."
+ "translation": "Team create_at must not be zero if provided."
},
{
"id": "app.import.validate_team_import_data.description_length.error",
@@ -3065,7 +3065,7 @@
},
{
"id": "app.import.validate_team_import_data.display_name_missing.error",
- "translation": "Missing required team property: display_name"
+ "translation": "Missing required team property: display_name."
},
{
"id": "app.import.validate_team_import_data.name_characters.error",
@@ -3081,7 +3081,7 @@
},
{
"id": "app.import.validate_team_import_data.name_reserved.error",
- "translation": "Team name contains reserved word."
+ "translation": "Team name contains reserved words."
},
{
"id": "app.import.validate_team_import_data.type_invalid.error",
@@ -3089,7 +3089,7 @@
},
{
"id": "app.import.validate_team_import_data.type_missing.error",
- "translation": "Missing required team property: type"
+ "translation": "Missing required team property: type."
},
{
"id": "app.import.validate_user_channels_import_data.channel_name_missing.error",
diff --git a/webapp/components/error_bar.jsx b/webapp/components/error_bar.jsx
index 94555ce04..97fbbdca0 100644
--- a/webapp/components/error_bar.jsx
+++ b/webapp/components/error_bar.jsx
@@ -151,7 +151,7 @@ export default class ErrorBar extends React.Component {
message = (
<FormattedHTMLMessage
id={ErrorBarTypes.LICENSE_EXPIRING}
- defaultMessage='Enterprise license expires on {date}. <a href="{link}" target="_blank">Please renew.</a>'
+ defaultMessage='Enterprise license expires on {date}. <a href="{link}" target="_blank">Please renew</a>.'
values={{
date: displayExpiryDate(),
link: renewalLink
@@ -162,7 +162,7 @@ export default class ErrorBar extends React.Component {
message = (
<FormattedHTMLMessage
id={ErrorBarTypes.LICENSE_EXPIRED}
- defaultMessage='Enterprise license is expired and some features may be disabled. <a href="{link}" target="_blank">Please renew.</a>'
+ defaultMessage='Enterprise license is expired and some features may be disabled. <a href="{link}" target="_blank">Please renew</a>.'
values={{
link: renewalLink
}}
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index d2bd3478b..e2a02dd6a 100755
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -1316,8 +1316,8 @@
"error.not_found.link_message": "Back to Mattermost",
"error.not_found.message": "The page you were trying to reach does not exist",
"error.not_found.title": "Page not found",
- "error_bar.expired": "Enterprise license is expired and some features may be disabled. <a href='{link}' target='_blank'>Please renew.</a>",
- "error_bar.expiring": "Enterprise license expires on {date}. <a href='{link}' target='_blank'>Please renew.</a>",
+ "error_bar.expired": "Enterprise license is expired and some features may be disabled. <a href='{link}' target='_blank'>Please renew</a>.",
+ "error_bar.expiring": "Enterprise license expires on {date}. <a href='{link}' target='_blank'>Please renew</a>.",
"error_bar.past_grace": "Enterprise license is expired and some features may be disabled. Please contact your System Administrator for details.",
"error_bar.preview_mode": "Preview Mode: Email notifications have not been configured",
"error_bar.site_url": "Please configure your {docsLink} in the {link}.",