i18n notification's settings dialog
FREEBIE
This commit is contained in:
parent
24e4d9c615
commit
0ceb8e7038
3 changed files with 6 additions and 1 deletions
|
@ -203,6 +203,10 @@
|
||||||
"message": "Settings",
|
"message": "Settings",
|
||||||
"description": "Menu item and header for global settings"
|
"description": "Menu item and header for global settings"
|
||||||
},
|
},
|
||||||
|
"notificationSettingsDialog": {
|
||||||
|
"message": "When messages arrive, display notifications that reveal:",
|
||||||
|
"description": "Explain the purpose of the notification settings"
|
||||||
|
},
|
||||||
"disableNotifications": {
|
"disableNotifications": {
|
||||||
"message": "Disable notifications",
|
"message": "Disable notifications",
|
||||||
"description": "Label for disabling notifications"
|
"description": "Label for disabling notifications"
|
||||||
|
|
|
@ -329,7 +329,7 @@
|
||||||
<script type='text/x-tmpl-mustache' id='settings'>
|
<script type='text/x-tmpl-mustache' id='settings'>
|
||||||
<div class='content'>
|
<div class='content'>
|
||||||
<a class='x close'>×</a>
|
<a class='x close'>×</a>
|
||||||
<h3>Notifications</h3>
|
<h3>{{ notificationSettingsDialog }}</h3>
|
||||||
<div>
|
<div>
|
||||||
<input type='radio' name='notifications' id='notification-setting-message' value='message'>
|
<input type='radio' name='notifications' id='notification-setting-message' value='message'>
|
||||||
<label for='notification-setting-message'>{{ nameAndMessage }} </label>
|
<label for='notification-setting-message'>{{ nameAndMessage }} </label>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
},
|
},
|
||||||
render_attributes: function() {
|
render_attributes: function() {
|
||||||
return {
|
return {
|
||||||
|
notificationSettingsDialog: i18n('notificationSettingsDialog'),
|
||||||
settings: i18n('settings'),
|
settings: i18n('settings'),
|
||||||
disableNotifications: i18n('disableNotifications'),
|
disableNotifications: i18n('disableNotifications'),
|
||||||
nameAndMessage: i18n('nameAndMessage'),
|
nameAndMessage: i18n('nameAndMessage'),
|
||||||
|
|
Loading…
Reference in a new issue