mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
Code refactoring (Translator, Stores, ko)
This commit is contained in:
parent
929bffccef
commit
b42ce01e7e
102 changed files with 6775 additions and 6511 deletions
|
|
@ -10,9 +10,9 @@
|
|||
<div class="controls">
|
||||
<div class="flag-selector">
|
||||
<span class="flag-wrapper">
|
||||
<span data-bind="css: 'flag flag-' + mainLanguage()" style=""></span>
|
||||
<span data-bind="css: 'flag flag-' + language()" style=""></span>
|
||||
</span>
|
||||
<span class="flag-name" data-bind="text: mainLanguageFullName, click: selectLanguage"></span>
|
||||
<span class="flag-name" data-bind="text: languageFullName, click: selectLanguage"></span>
|
||||
|
||||
<div data-bind="component: {
|
||||
name: 'SaveTrigger',
|
||||
|
|
@ -66,8 +66,8 @@
|
|||
name: 'Select',
|
||||
params: {
|
||||
label: 'SETTINGS_GENERAL/LABEL_MESSAGE_PER_PAGE',
|
||||
options: mainMessagesPerPageArray,
|
||||
value: mainMessagesPerPage,
|
||||
options: messagesPerPageArray,
|
||||
value: messagesPerPage,
|
||||
trigger: mppTrigger,
|
||||
size: 2,
|
||||
width: 70
|
||||
|
|
@ -108,24 +108,24 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-horizontal" data-bind="visible: isDesktopNotificationsSupported()">
|
||||
<div class="form-horizontal" data-bind="visible: isDesktopNotificationSupported">
|
||||
<div class="legend">
|
||||
<span class="i18n i18n-animation" data-i18n-text="SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION"></span>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<div data-bind="visible: isDesktopNotificationsSupported">
|
||||
<div data-bind="visible: isDesktopNotificationSupported">
|
||||
<div data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
label: 'SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION_DESC',
|
||||
value: useDesktopNotifications,
|
||||
disable: isDesktopNotificationsDenied,
|
||||
value: enableDesktopNotification,
|
||||
disable: isDesktopNotificationDenied,
|
||||
inline: true
|
||||
}
|
||||
}"></div>
|
||||
|
||||
<span data-bind="visible: isDesktopNotificationsDenied">
|
||||
<span data-bind="visible: isDesktopNotificationDenied">
|
||||
<span class="i18n" style="color: #999" data-i18n-text="SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION_DESC_DENIED"></span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue