summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorJonathan <jonfritz@gmail.com>2017-08-05 19:52:35 -0400
committerSaturnino Abril <saturnino.abril@gmail.com>2017-08-06 07:52:35 +0800
commit178ccd16cba26144eac404f413440867b360033c (patch)
tree5a2304ee8fbe7586d4101b7e38cd85756e114a05 /i18n
parent9f3713aa98011596a62315fd3b96fa2e77044081 (diff)
downloadchat-178ccd16cba26144eac404f413440867b360033c.tar.gz
chat-178ccd16cba26144eac404f413440867b360033c.tar.bz2
chat-178ccd16cba26144eac404f413440867b360033c.zip
System Console: Email notification content setting (#7122)
* PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code * PLT-7195: Modified batch emails to respect email notification content type setting * PLT-7195: Tweaking the colours a bit * PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit * PLT-7195: Added unit tests for non-batched emails * Checked license when applying email content settings * Changed return type of getFormattedPostTime
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json84
1 files changed, 52 insertions, 32 deletions
diff --git a/i18n/en.json b/i18n/en.json
index 4769d2614..730017e95 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1117,7 +1117,7 @@
},
{
"id": "api.email_batching.render_batched_post.direct_message",
- "translation": "Direct Message"
+ "translation": "Direct Message from "
},
{
"id": "api.email_batching.render_batched_post.go_to_post",
@@ -1125,7 +1125,11 @@
},
{
"id": "api.email_batching.render_batched_post.group_message",
- "translation": "Group Message"
+ "translation": "Group Message from "
+ },
+ {
+ "id": "api.email_batching.render_batched_post.notification",
+ "translation": "Notification from "
},
{
"id": "api.email_batching.render_batched_post.sender.app_error",
@@ -1134,8 +1138,8 @@
{
"id": "api.email_batching.send_batched_email_notification.body_text",
"translation": {
- "one": "You have a new message.",
- "other": "You have {{.Count}} new messages."
+ "one": "You have a new notification.",
+ "other": "You have {{.Count}} new notifications."
}
},
{
@@ -1804,22 +1808,10 @@
"translation": "Failed to get teams when sending cross-team DM user_id=%v, err=%v"
},
{
- "id": "api.post.send_notifications_and_forget.mention_body",
- "translation": "You have one new mention."
- },
- {
"id": "api.post.send_notifications_and_forget.mention_subject",
"translation": "New Mention"
},
{
- "id": "api.post.send_notifications_and_forget.message_body",
- "translation": "You have one new message."
- },
- {
- "id": "api.post.send_notifications_and_forget.message_subject",
- "translation": "New Direct Message"
- },
- {
"id": "api.post.send_notifications_and_forget.push_image_only",
"translation": " Uploaded one or more files in "
},
@@ -2460,22 +2452,6 @@
"translation": "Go To Post"
},
{
- "id": "api.templates.post_body.info",
- "translation": "CHANNEL: {{.ChannelName}}<br>{{.SenderName}} - {{.Hour}}:{{.Minute}} {{.TimeZone}}, {{.Month}} {{.Day}}"
- },
- {
- "id": "api.templates.post_subject_in_channel",
- "translation": "{{.SubjectText}} in {{.TeamDisplayName}} ({{.ChannelName}}) on {{.Month}} {{.Day}}, {{.Year}}"
- },
- {
- "id": "api.templates.post_subject_in_direct_message",
- "translation": "{{.SubjectText}} from {{.SenderDisplayName}} on {{.Month}} {{.Day}}, {{.Year}}"
- },
- {
- "id": "api.templates.post_subject_in_group_message",
- "translation": "New Group Message from {{ .SenderDisplayName}} on {{.Month}} {{.Day}}, {{.Year}}"
- },
- {
"id": "api.templates.reset_body.button",
"translation": "Reset Password"
},
@@ -3140,6 +3116,46 @@
"translation": "Invalid {{.Name}} parameter"
},
{
+ "id": "app.notification.subject.direct.full",
+ "translation": "[{{.SiteName}}] New Direct Message from {{.SenderDisplayName}} on {{.Month}} {{.Day}}, {{.Year}}"
+ },
+ {
+ "id": "app.notification.subject.notification.full",
+ "translation": "[{{ .SiteName }}] Notification in {{ .TeamName}} on {{.Month}} {{.Day}}, {{.Year}}"
+ },
+ {
+ "id": "app.notification.body.intro.direct.full",
+ "translation": "You have a new direct message."
+ },
+ {
+ "id": "app.notification.body.intro.direct.generic",
+ "translation": "You have a new direct message from {{.SenderName}}"
+ },
+ {
+ "id": "app.notification.body.intro.notification.full",
+ "translation": "You have a new notification."
+ },
+ {
+ "id": "app.notification.body.intro.notification.generic",
+ "translation": "You have a new notification from {{.SenderName}}"
+ },
+ {
+ "id": "app.notification.body.text.direct.full",
+ "translation": "{{.SenderName}} - {{.Hour}}:{{.Minute}} {{.TimeZone}}, {{.Month}} {{.Day}}"
+ },
+ {
+ "id": "app.notification.body.text.direct.generic",
+ "translation": "{{.Hour}}:{{.Minute}} {{.TimeZone}}, {{.Month}} {{.Day}}"
+ },
+ {
+ "id": "app.notification.body.text.notification.full",
+ "translation": "CHANNEL: {{.ChannelName}}<br>{{.SenderName}} - {{.Hour}}:{{.Minute}} {{.TimeZone}}, {{.Month}} {{.Day}}"
+ },
+ {
+ "id": "app.notification.body.text.notification.generic",
+ "translation": "{{.Hour}}:{{.Minute}} {{.TimeZone}}, {{.Month}} {{.Day}}"
+ },
+ {
"id": "app.user_access_token.disabled",
"translation": "User access tokens are disabled on this server. Please contact your system administrator for details."
},
@@ -4440,6 +4456,10 @@
"translation": "Invalid email batching interval for email settings. Must be 30 seconds or more."
},
{
+ "id": "model.config.is_valid.email_notification_contents_type.app_error",
+ "translation": "Invalid email notification contents type for email settings. Must be one of either 'full' or 'generic'."
+ },
+ {
"id": "model.config.is_valid.email_reset_salt.app_error",
"translation": "Invalid password reset salt for email settings. Must be 32 chars or more."
},