mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Added new language strings
This commit is contained in:
parent
a11dcbed4b
commit
19f06c11d2
48 changed files with 996 additions and 649 deletions
|
|
@ -43,6 +43,7 @@
|
|||
this.edited = ko.observable(false);
|
||||
this.collapsed = ko.observable(true);
|
||||
this.subScribed = ko.observable(true);
|
||||
this.checkable = ko.observable(false);
|
||||
this.subFolders = ko.observableArray([]);
|
||||
this.deleteAccess = ko.observable(false);
|
||||
this.actionBlink = ko.observable(false).extend({'falseTimeout': 1000});
|
||||
|
|
@ -105,6 +106,7 @@
|
|||
}, this);
|
||||
|
||||
this.hidden = ko.computed(function () {
|
||||
|
||||
var
|
||||
bSystem = this.isSystemFolder(),
|
||||
bSubFolders = this.hasSubScribedSubfolders()
|
||||
|
|
@ -182,6 +184,8 @@
|
|||
return !this.isSystemFolder() && this.selectable && sInboxFolderName !== this.fullNameRaw;
|
||||
}, this);
|
||||
|
||||
this.canBeChecked = this.canBeSubScribed;
|
||||
|
||||
// this.visible.subscribe(function () {
|
||||
// Utils.timeOutAction('folder-list-folder-visibility-change', function () {
|
||||
// Globals.$win.trigger('folder-list-folder-visibility-change');
|
||||
|
|
@ -281,7 +285,8 @@
|
|||
});
|
||||
|
||||
this.hasUnreadMessages = ko.computed(function () {
|
||||
return 0 < this.messageCountUnread();
|
||||
return 0 < this.messageCountUnread() &&
|
||||
(this.isSystemFolder() || this.checkable());
|
||||
}, this);
|
||||
|
||||
this.hasSubScribedUnreadMessagesSubfolders = ko.computed(function () {
|
||||
|
|
@ -352,6 +357,8 @@
|
|||
this.existen = !!oJsonFolder.IsExists;
|
||||
|
||||
this.subScribed(!!oJsonFolder.IsSubscribed);
|
||||
this.checkable(!!oJsonFolder.Checkable);
|
||||
|
||||
this.type(sInboxFolderName === this.fullNameRaw ? Enums.FolderType.Inbox : Enums.FolderType.User);
|
||||
|
||||
bResult = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue