i18n 'Theme'

// FREEBIE
This commit is contained in:
2-4601 2016-09-23 15:12:07 +03:00 committed by lilia
parent a7f492fabc
commit 669338c717
4 changed files with 7 additions and 2 deletions

View file

@ -235,6 +235,10 @@
"message": "Settings", "message": "Settings",
"description": "Menu item and header for global settings" "description": "Menu item and header for global settings"
}, },
"theme": {
"message": "Theme",
"description": "Header for theme settings"
},
"notifications": { "notifications": {
"message": "Notifications", "message": "Notifications",
"description": "Header for notification settings" "description": "Header for notification settings"

View file

@ -428,7 +428,7 @@
<h2>{{ settings }}</h2> <h2>{{ settings }}</h2>
<hr> <hr>
<div class='theme-settings'> <div class='theme-settings'>
<h3>Theme</h3> <h3>{{ theme }}</h3>
<div> <div>
<input type='radio' name='theme' id='theme-setting-android' value='android'> <input type='radio' name='theme' id='theme-setting-android' value='android'>
<label for='theme-setting-android'>Android</label> <label for='theme-setting-android'>Android</label>

View file

@ -74,6 +74,7 @@
}, },
render_attributes: function() { render_attributes: function() {
return { return {
theme: i18n('theme'),
notifications: i18n('notifications'), notifications: i18n('notifications'),
notificationSettingsDialog: i18n('notificationSettingsDialog'), notificationSettingsDialog: i18n('notificationSettingsDialog'),
settings: i18n('settings'), settings: i18n('settings'),

View file

@ -431,7 +431,7 @@
<h2>{{ settings }}</h2> <h2>{{ settings }}</h2>
<hr> <hr>
<div class='theme-settings'> <div class='theme-settings'>
<h3>Theme</h3> <h3>{{ theme }}</h3>
<div> <div>
<input type='radio' name='theme' id='theme-setting-android' value='android'> <input type='radio' name='theme' id='theme-setting-android' value='android'>
<label for='theme-setting-android'>Android</label> <label for='theme-setting-android'>Android</label>