diff --git a/dev/Model/Account.js b/dev/Model/Account.js index 05128f707..d5bc71296 100644 --- a/dev/Model/Account.js +++ b/dev/Model/Account.js @@ -1,6 +1,7 @@ import { AbstractModel } from 'Knoin/AbstractModel'; import { addObservablesTo } from 'External/ko'; import Remote from 'Remote/User/Fetch'; +import { SettingsUserStore } from 'Stores/User/Settings'; export class AccountModel extends AbstractModel { /** @@ -23,7 +24,8 @@ export class AccountModel extends AbstractModel { }); // Load at random between 3 and 30 seconds - isAdditional && setTimeout(()=>this.fetchUnread(), (Math.ceil(Math.random() * 10)) * 3000); + SettingsUserStore.showUnreadCount() && isAdditional + && setTimeout(()=>this.fetchUnread(), (Math.ceil(Math.random() * 10)) * 3000); } /** diff --git a/dev/Settings/User/Accounts.js b/dev/Settings/User/Accounts.js index d57f5c275..287a3cd80 100644 --- a/dev/Settings/User/Accounts.js +++ b/dev/Settings/User/Accounts.js @@ -5,6 +5,7 @@ import { SettingsCapa, SettingsGet } from 'Common/Globals'; import { AccountUserStore } from 'Stores/User/Account'; import { IdentityUserStore } from 'Stores/User/Identity'; +import { SettingsUserStore } from 'Stores/User/Settings'; import Remote from 'Remote/User/Fetch'; import { showScreenPopup } from 'Knoin/Knoin'; @@ -25,6 +26,9 @@ export class UserSettingsAccounts /*extends AbstractViewSettings*/ { this.accountForDeletion = ko.observable(null).askDeleteHelper(); this.identityForDeletion = ko.observable(null).askDeleteHelper(); + this.showUnread = SettingsUserStore.showUnreadCount; + SettingsUserStore.showUnreadCount.subscribe(value => Remote.saveSetting('ShowUnreadCount', value)); + // this.additionalAccounts = koComputable(() => AccountUserStore.filter(account => account.isAdditional())); } diff --git a/dev/Stores/User/Settings.js b/dev/Stores/User/Settings.js index c6398f9b1..f14c93b04 100644 --- a/dev/Stores/User/Settings.js +++ b/dev/Stores/User/Settings.js @@ -28,6 +28,7 @@ export const SettingsUserStore = new class { hideDeleted: 1, unhideKolabFolders: 0, autoLogout: 0, + showUnreadCount: 0, requestReadReceipt: 0, requestDsn: 0, @@ -89,6 +90,7 @@ export const SettingsUserStore = new class { self.hideUnsubscribed(SettingsGet('HideUnsubscribed')); self.hideDeleted(SettingsGet('HideDeleted')); + self.showUnreadCount(SettingsGet('ShowUnreadCount')); self.unhideKolabFolders(SettingsGet('UnhideKolabFolders')); self.requestReadReceipt(SettingsGet('requestReadReceipt')); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php index a32a04789..7fb9f366d 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -709,6 +709,7 @@ class Actions 'ContactsAutosave' => (bool) $oConfig->Get('defaults', 'contacts_autosave', true), 'HideUnsubscribed' => false, 'HideDeleted' => true, + 'ShowUnreadCount' => false, 'UnhideKolabFolders' => false, 'UserBackgroundName' => '', 'UserBackgroundHash' => '', @@ -766,6 +767,7 @@ class Actions $aResult['UseThreads'] = (bool)$oSettingsLocal->GetConf('UseThreads', $aResult['UseThreads']); $aResult['ReplySameFolder'] = (bool)$oSettingsLocal->GetConf('ReplySameFolder', $aResult['ReplySameFolder']); $aResult['HideDeleted'] = (bool)$oSettingsLocal->GetConf('HideDeleted', $aResult['HideDeleted']); + $aResult['ShowUnreadCount'] = (bool)$oSettingsLocal->GetConf('ShowUnreadCount', $aResult['ShowUnreadCount']); $aResult['UnhideKolabFolders'] = (bool)$oSettingsLocal->GetConf('UnhideKolabFolders', $aResult['UnhideKolabFolders']); } diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Accounts.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Accounts.php index 0d78a8fa5..bad35f18b 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Accounts.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Accounts.php @@ -220,6 +220,7 @@ trait Accounts $aResult['UseThreads'] = (bool) $oSettingsLocal->GetConf('UseThreads', $oConfig->Get('defaults', 'mail_use_threads', false)); $aResult['ReplySameFolder'] = (bool) $oSettingsLocal->GetConf('ReplySameFolder', $oConfig->Get('defaults', 'mail_reply_same_folder', false)); $aResult['HideDeleted'] = (bool) $oSettingsLocal->GetConf('HideDeleted', true); + $aResult['ShowUnreadCount'] = (bool) $oSettingsLocal->GetConf('ShowUnreadCount', false); $aResult['UnhideKolabFolders'] = (bool) $oSettingsLocal->GetConf('UnhideKolabFolders', false); } // $this->Plugins()->InitAppData($bAdmin, $aResult, $oAccount); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php index fa7c78247..666b6c851 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php @@ -200,6 +200,7 @@ trait User $this->setSettingsFromParams($oSettingsLocal, 'HideUnsubscribed', 'bool'); $this->setSettingsFromParams($oSettingsLocal, 'HideDeleted', 'bool'); $this->setSettingsFromParams($oSettingsLocal, 'UnhideKolabFolders', 'bool'); + $this->setSettingsFromParams($oSettingsLocal, 'ShowUnreadCount', 'bool'); return $this->DefaultResponse($this->SettingsProvider()->Save($oAccount, $oSettings) && $this->SettingsProvider(true)->Save($oAccount, $oSettingsLocal)); diff --git a/snappymail/v/0.0.0/app/localization/ar-SA/user.json b/snappymail/v/0.0.0/app/localization/ar-SA/user.json index 4c6207c08..c902ea65d 100644 --- a/snappymail/v/0.0.0/app/localization/ar-SA/user.json +++ b/snappymail/v/0.0.0/app/localization/ar-SA/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "قم باضافة حساب", "BUTTON_ADD_IDENTITY": "قم باضافة هوية", "LOADING_PROCESS": "..جاري التحميل", - "DEFAULT_IDENTITY_LABEL": "الافتراضي" + "DEFAULT_IDENTITY_LABEL": "الافتراضي", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": " إستيراد مفتاح", diff --git a/snappymail/v/0.0.0/app/localization/bg-BG/user.json b/snappymail/v/0.0.0/app/localization/bg-BG/user.json index 24204993e..cbfe19a81 100644 --- a/snappymail/v/0.0.0/app/localization/bg-BG/user.json +++ b/snappymail/v/0.0.0/app/localization/bg-BG/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Добавяне на акаунт", "BUTTON_ADD_IDENTITY": "Добавяне на идентичност", "LOADING_PROCESS": "Обновяване на списъка с акаунти", - "DEFAULT_IDENTITY_LABEL": "по подразбиране" + "DEFAULT_IDENTITY_LABEL": "по подразбиране", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Внеси ключ", diff --git a/snappymail/v/0.0.0/app/localization/cs-CZ/user.json b/snappymail/v/0.0.0/app/localization/cs-CZ/user.json index 418a4e9ee..83987d6b7 100644 --- a/snappymail/v/0.0.0/app/localization/cs-CZ/user.json +++ b/snappymail/v/0.0.0/app/localization/cs-CZ/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Přidat účet", "BUTTON_ADD_IDENTITY": "Přidat alias", "LOADING_PROCESS": "Aktualizace seznamu účtů", - "DEFAULT_IDENTITY_LABEL": "výchozí" + "DEFAULT_IDENTITY_LABEL": "výchozí", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importovat klíč", diff --git a/snappymail/v/0.0.0/app/localization/da-DK/user.json b/snappymail/v/0.0.0/app/localization/da-DK/user.json index 8be44ac0e..6a77f6c71 100644 --- a/snappymail/v/0.0.0/app/localization/da-DK/user.json +++ b/snappymail/v/0.0.0/app/localization/da-DK/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Tilføj konto", "BUTTON_ADD_IDENTITY": "Tilføj identitet?", "LOADING_PROCESS": "Opdaterer...", - "DEFAULT_IDENTITY_LABEL": "standard" + "DEFAULT_IDENTITY_LABEL": "standard", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer nøgle", diff --git a/snappymail/v/0.0.0/app/localization/de-DE/user.json b/snappymail/v/0.0.0/app/localization/de-DE/user.json index 2444ccc31..c4eab889a 100644 --- a/snappymail/v/0.0.0/app/localization/de-DE/user.json +++ b/snappymail/v/0.0.0/app/localization/de-DE/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Konto hinzufügen", "BUTTON_ADD_IDENTITY": "Identität hinzufügen", "LOADING_PROCESS": "Aktualisiere Kontenliste", - "DEFAULT_IDENTITY_LABEL": "Standard" + "DEFAULT_IDENTITY_LABEL": "Standard", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Schlüssel importieren", diff --git a/snappymail/v/0.0.0/app/localization/el-GR/user.json b/snappymail/v/0.0.0/app/localization/el-GR/user.json index cc1de36fe..86286b0d1 100644 --- a/snappymail/v/0.0.0/app/localization/el-GR/user.json +++ b/snappymail/v/0.0.0/app/localization/el-GR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Add an Account", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Updating...", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/en-GB/user.json b/snappymail/v/0.0.0/app/localization/en-GB/user.json index 4de63f6d7..52574c83c 100644 --- a/snappymail/v/0.0.0/app/localization/en-GB/user.json +++ b/snappymail/v/0.0.0/app/localization/en-GB/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Add an Account", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Updating...", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/en/user.json b/snappymail/v/0.0.0/app/localization/en/user.json index 5204160a5..63b319c50 100644 --- a/snappymail/v/0.0.0/app/localization/en/user.json +++ b/snappymail/v/0.0.0/app/localization/en/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Add an Account", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Updating...", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/es-ES/user.json b/snappymail/v/0.0.0/app/localization/es-ES/user.json index 4fce05d0f..dbe8e0fe0 100644 --- a/snappymail/v/0.0.0/app/localization/es-ES/user.json +++ b/snappymail/v/0.0.0/app/localization/es-ES/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Añadir cuenta", "BUTTON_ADD_IDENTITY": "Añadir identidad", "LOADING_PROCESS": "Actualizando lista de cuentas", - "DEFAULT_IDENTITY_LABEL": "predeterminado" + "DEFAULT_IDENTITY_LABEL": "predeterminado", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar llave", diff --git a/snappymail/v/0.0.0/app/localization/et-EE/user.json b/snappymail/v/0.0.0/app/localization/et-EE/user.json index 45d5bbdba..44f8d527a 100644 --- a/snappymail/v/0.0.0/app/localization/et-EE/user.json +++ b/snappymail/v/0.0.0/app/localization/et-EE/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Lisa konto", "BUTTON_ADD_IDENTITY": "Lisa identiteet", "LOADING_PROCESS": "Värskendan...", - "DEFAULT_IDENTITY_LABEL": "vaikimisi" + "DEFAULT_IDENTITY_LABEL": "vaikimisi", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Impordi võti", diff --git a/snappymail/v/0.0.0/app/localization/eu/user.json b/snappymail/v/0.0.0/app/localization/eu/user.json index 7cfaf7a33..dfbd39b98 100644 --- a/snappymail/v/0.0.0/app/localization/eu/user.json +++ b/snappymail/v/0.0.0/app/localization/eu/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Gehitu kontu bat", "BUTTON_ADD_IDENTITY": "Gehitu identitate bat", "LOADING_PROCESS": "Eguneratzen...", - "DEFAULT_IDENTITY_LABEL": "lehenetsia" + "DEFAULT_IDENTITY_LABEL": "lehenetsia", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Inportatu Gakoa", diff --git a/snappymail/v/0.0.0/app/localization/fa-IR/user.json b/snappymail/v/0.0.0/app/localization/fa-IR/user.json index 4418f5219..33e5074b4 100644 --- a/snappymail/v/0.0.0/app/localization/fa-IR/user.json +++ b/snappymail/v/0.0.0/app/localization/fa-IR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "اضافه کردن یک حساب کاربری", "BUTTON_ADD_IDENTITY": "اضافه کردن یک شناسه", "LOADING_PROCESS": "بروزرسانی...", - "DEFAULT_IDENTITY_LABEL": "پیش‌فرض" + "DEFAULT_IDENTITY_LABEL": "پیش‌فرض", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "وارد کردن کلید", diff --git a/snappymail/v/0.0.0/app/localization/fi-FI/user.json b/snappymail/v/0.0.0/app/localization/fi-FI/user.json index f508c14c4..348e4f1f9 100644 --- a/snappymail/v/0.0.0/app/localization/fi-FI/user.json +++ b/snappymail/v/0.0.0/app/localization/fi-FI/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Lisää Tili", "BUTTON_ADD_IDENTITY": "Lisää identiteetti", "LOADING_PROCESS": "Päivitetään...", - "DEFAULT_IDENTITY_LABEL": "oletus" + "DEFAULT_IDENTITY_LABEL": "oletus", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Tuo avain", diff --git a/snappymail/v/0.0.0/app/localization/fr-FR/user.json b/snappymail/v/0.0.0/app/localization/fr-FR/user.json index b7e4cb8c1..5d73b9fad 100644 --- a/snappymail/v/0.0.0/app/localization/fr-FR/user.json +++ b/snappymail/v/0.0.0/app/localization/fr-FR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Ajouter un compte", "BUTTON_ADD_IDENTITY": "Ajouter une identité", "LOADING_PROCESS": "Mise à jour de la liste des comptes", - "DEFAULT_IDENTITY_LABEL": "défaut" + "DEFAULT_IDENTITY_LABEL": "défaut", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer la clé", diff --git a/snappymail/v/0.0.0/app/localization/hu-HU/user.json b/snappymail/v/0.0.0/app/localization/hu-HU/user.json index 3146a1395..15eae82a8 100644 --- a/snappymail/v/0.0.0/app/localization/hu-HU/user.json +++ b/snappymail/v/0.0.0/app/localization/hu-HU/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Fiók hozzáadás", "BUTTON_ADD_IDENTITY": "Identitás hozzáadás", "LOADING_PROCESS": "Fiók lista frissítés", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Kulcs importálás", diff --git a/snappymail/v/0.0.0/app/localization/id-ID/user.json b/snappymail/v/0.0.0/app/localization/id-ID/user.json index 2953d2d98..91ad7deb7 100644 --- a/snappymail/v/0.0.0/app/localization/id-ID/user.json +++ b/snappymail/v/0.0.0/app/localization/id-ID/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Tambahkan akun", "BUTTON_ADD_IDENTITY": "Tambahkan identitas", "LOADING_PROCESS": "Memperbarui...", - "DEFAULT_IDENTITY_LABEL": "Bawaan" + "DEFAULT_IDENTITY_LABEL": "Bawaan", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Impor kunci", diff --git a/snappymail/v/0.0.0/app/localization/is-IS/user.json b/snappymail/v/0.0.0/app/localization/is-IS/user.json index 908cf49f9..3e3856e14 100644 --- a/snappymail/v/0.0.0/app/localization/is-IS/user.json +++ b/snappymail/v/0.0.0/app/localization/is-IS/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Bæta við aðgangi", "BUTTON_ADD_IDENTITY": "Bæta við auðkenni", "LOADING_PROCESS": "Uppfæri aðgangslista", - "DEFAULT_IDENTITY_LABEL": "sjálfgefið" + "DEFAULT_IDENTITY_LABEL": "sjálfgefið", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Flytja inn lykil", diff --git a/snappymail/v/0.0.0/app/localization/it-IT/user.json b/snappymail/v/0.0.0/app/localization/it-IT/user.json index 79139a52a..93df00d75 100644 --- a/snappymail/v/0.0.0/app/localization/it-IT/user.json +++ b/snappymail/v/0.0.0/app/localization/it-IT/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Aggiungi account", "BUTTON_ADD_IDENTITY": "Aggiungi identità", "LOADING_PROCESS": "Aggiornamento della lista degli account...", - "DEFAULT_IDENTITY_LABEL": "predefinito" + "DEFAULT_IDENTITY_LABEL": "predefinito", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importa chiave", diff --git a/snappymail/v/0.0.0/app/localization/ja-JP/user.json b/snappymail/v/0.0.0/app/localization/ja-JP/user.json index fe8404084..9907226bd 100644 --- a/snappymail/v/0.0.0/app/localization/ja-JP/user.json +++ b/snappymail/v/0.0.0/app/localization/ja-JP/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "アカウントを追加", "BUTTON_ADD_IDENTITY": "表示名を追加", "LOADING_PROCESS": "更新中", - "DEFAULT_IDENTITY_LABEL": "デフォルト" + "DEFAULT_IDENTITY_LABEL": "デフォルト", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "キーをインポート", diff --git a/snappymail/v/0.0.0/app/localization/ko-KR/user.json b/snappymail/v/0.0.0/app/localization/ko-KR/user.json index 0b78939ac..9123c6a59 100644 --- a/snappymail/v/0.0.0/app/localization/ko-KR/user.json +++ b/snappymail/v/0.0.0/app/localization/ko-KR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "계정 추가", "BUTTON_ADD_IDENTITY": "신원 추가", "LOADING_PROCESS": "업데이트 중...", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "키 가져오기", diff --git a/snappymail/v/0.0.0/app/localization/lt-LT/user.json b/snappymail/v/0.0.0/app/localization/lt-LT/user.json index dcc52886a..54489e9aa 100644 --- a/snappymail/v/0.0.0/app/localization/lt-LT/user.json +++ b/snappymail/v/0.0.0/app/localization/lt-LT/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Pridėti paskyrą", "BUTTON_ADD_IDENTITY": "Pridėti tapatybę", "LOADING_PROCESS": "Atnaujinamas paskyrų sąrašas", - "DEFAULT_IDENTITY_LABEL": "numatytasis" + "DEFAULT_IDENTITY_LABEL": "numatytasis", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importuoti raktą", diff --git a/snappymail/v/0.0.0/app/localization/lv-LV/user.json b/snappymail/v/0.0.0/app/localization/lv-LV/user.json index d50658157..a0d91a8ba 100644 --- a/snappymail/v/0.0.0/app/localization/lv-LV/user.json +++ b/snappymail/v/0.0.0/app/localization/lv-LV/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Pievienot kontu", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Atjauno kontu sarakstu", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/nb-NO/user.json b/snappymail/v/0.0.0/app/localization/nb-NO/user.json index 485713a3a..0bc47c6e5 100644 --- a/snappymail/v/0.0.0/app/localization/nb-NO/user.json +++ b/snappymail/v/0.0.0/app/localization/nb-NO/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Legg til konto", "BUTTON_ADD_IDENTITY": "Legg til identitet", "LOADING_PROCESS": "Oppdaterer …", - "DEFAULT_IDENTITY_LABEL": "Standard" + "DEFAULT_IDENTITY_LABEL": "Standard", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer nøkkel", diff --git a/snappymail/v/0.0.0/app/localization/nl-NL/user.json b/snappymail/v/0.0.0/app/localization/nl-NL/user.json index b24fd7c75..12fc15b9d 100644 --- a/snappymail/v/0.0.0/app/localization/nl-NL/user.json +++ b/snappymail/v/0.0.0/app/localization/nl-NL/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Account toevoegen", "BUTTON_ADD_IDENTITY": "Identiteit toevoegen", "LOADING_PROCESS": "Account lijst aan het bijwerken", - "DEFAULT_IDENTITY_LABEL": "standaard" + "DEFAULT_IDENTITY_LABEL": "standaard", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importeer sleutel", diff --git a/snappymail/v/0.0.0/app/localization/pl-PL/user.json b/snappymail/v/0.0.0/app/localization/pl-PL/user.json index 96aa3f033..95a11794d 100644 --- a/snappymail/v/0.0.0/app/localization/pl-PL/user.json +++ b/snappymail/v/0.0.0/app/localization/pl-PL/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Dodaj konto", "BUTTON_ADD_IDENTITY": "Dodaj tożsamość", "LOADING_PROCESS": "Trwa aktualizowanie listy kont", - "DEFAULT_IDENTITY_LABEL": "domyślna" + "DEFAULT_IDENTITY_LABEL": "domyślna", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importuj klucz", diff --git a/snappymail/v/0.0.0/app/localization/pt-BR/user.json b/snappymail/v/0.0.0/app/localization/pt-BR/user.json index f33bcc2a2..8d43c0b8b 100644 --- a/snappymail/v/0.0.0/app/localization/pt-BR/user.json +++ b/snappymail/v/0.0.0/app/localization/pt-BR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Adicionar uma conta", "BUTTON_ADD_IDENTITY": "Adicionar uma identidade", "LOADING_PROCESS": "Atualizando a lista de contas", - "DEFAULT_IDENTITY_LABEL": "padrão" + "DEFAULT_IDENTITY_LABEL": "padrão", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importa chave", diff --git a/snappymail/v/0.0.0/app/localization/pt-PT/user.json b/snappymail/v/0.0.0/app/localization/pt-PT/user.json index 4eb87c563..af995c58d 100644 --- a/snappymail/v/0.0.0/app/localization/pt-PT/user.json +++ b/snappymail/v/0.0.0/app/localization/pt-PT/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Adicionar uma conta", "BUTTON_ADD_IDENTITY": "Adicionar uma identidade", "LOADING_PROCESS": "A atualizar...", - "DEFAULT_IDENTITY_LABEL": "predefinida" + "DEFAULT_IDENTITY_LABEL": "predefinida", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar chave", diff --git a/snappymail/v/0.0.0/app/localization/pt/user.json b/snappymail/v/0.0.0/app/localization/pt/user.json index 4eb87c563..af995c58d 100644 --- a/snappymail/v/0.0.0/app/localization/pt/user.json +++ b/snappymail/v/0.0.0/app/localization/pt/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Adicionar uma conta", "BUTTON_ADD_IDENTITY": "Adicionar uma identidade", "LOADING_PROCESS": "A atualizar...", - "DEFAULT_IDENTITY_LABEL": "predefinida" + "DEFAULT_IDENTITY_LABEL": "predefinida", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar chave", diff --git a/snappymail/v/0.0.0/app/localization/ro-RO/user.json b/snappymail/v/0.0.0/app/localization/ro-RO/user.json index 7c590e303..0d761fdf1 100644 --- a/snappymail/v/0.0.0/app/localization/ro-RO/user.json +++ b/snappymail/v/0.0.0/app/localization/ro-RO/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Adaugă un alt cont", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Actualizez lista de conturi", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/ru-RU/user.json b/snappymail/v/0.0.0/app/localization/ru-RU/user.json index 7eb8540e7..1ef9e30c2 100644 --- a/snappymail/v/0.0.0/app/localization/ru-RU/user.json +++ b/snappymail/v/0.0.0/app/localization/ru-RU/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Добавить ещё аккаунт", "BUTTON_ADD_IDENTITY": "Добавить персону", "LOADING_PROCESS": "Обновление списка аккаунтов", - "DEFAULT_IDENTITY_LABEL": "основной" + "DEFAULT_IDENTITY_LABEL": "основной", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Ипортировать ключ", diff --git a/snappymail/v/0.0.0/app/localization/sk-SK/user.json b/snappymail/v/0.0.0/app/localization/sk-SK/user.json index 231aa8191..d91bb255c 100644 --- a/snappymail/v/0.0.0/app/localization/sk-SK/user.json +++ b/snappymail/v/0.0.0/app/localization/sk-SK/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Pridať účet", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Aktualizácia zoznamu účtov", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", diff --git a/snappymail/v/0.0.0/app/localization/sl-SI/user.json b/snappymail/v/0.0.0/app/localization/sl-SI/user.json index 5fd3fc187..31cfdb8b5 100644 --- a/snappymail/v/0.0.0/app/localization/sl-SI/user.json +++ b/snappymail/v/0.0.0/app/localization/sl-SI/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Dodaj račun", "BUTTON_ADD_IDENTITY": "Dodaj identiteto", "LOADING_PROCESS": "Posodabljanje...", - "DEFAULT_IDENTITY_LABEL": "privzeto" + "DEFAULT_IDENTITY_LABEL": "privzeto", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Uvozi ključ", diff --git a/snappymail/v/0.0.0/app/localization/sv-SE/user.json b/snappymail/v/0.0.0/app/localization/sv-SE/user.json index 87d9d76a0..c90bdb391 100644 --- a/snappymail/v/0.0.0/app/localization/sv-SE/user.json +++ b/snappymail/v/0.0.0/app/localization/sv-SE/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Lägg till konto", "BUTTON_ADD_IDENTITY": "Lägg till identitet", "LOADING_PROCESS": "Uppdaterar kontolista", - "DEFAULT_IDENTITY_LABEL": "standard" + "DEFAULT_IDENTITY_LABEL": "standard", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importera nyckel", diff --git a/snappymail/v/0.0.0/app/localization/tr-TR/user.json b/snappymail/v/0.0.0/app/localization/tr-TR/user.json index 6877fddc2..e04e2f6d5 100644 --- a/snappymail/v/0.0.0/app/localization/tr-TR/user.json +++ b/snappymail/v/0.0.0/app/localization/tr-TR/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Hesap Ekle", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Hesap listesi güncelleniyor", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Key İçe Aktar", diff --git a/snappymail/v/0.0.0/app/localization/uk-UA/user.json b/snappymail/v/0.0.0/app/localization/uk-UA/user.json index ef3109cee..83aecdf12 100644 --- a/snappymail/v/0.0.0/app/localization/uk-UA/user.json +++ b/snappymail/v/0.0.0/app/localization/uk-UA/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Додати ще акаунт", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "Оновлення списку акаунтів", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Імпортувати ключ", diff --git a/snappymail/v/0.0.0/app/localization/vi-VN/user.json b/snappymail/v/0.0.0/app/localization/vi-VN/user.json index 4357b5327..d31424a5c 100644 --- a/snappymail/v/0.0.0/app/localization/vi-VN/user.json +++ b/snappymail/v/0.0.0/app/localization/vi-VN/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "Thêm một tài khoản", "BUTTON_ADD_IDENTITY": "Thêm một tên gọi", "LOADING_PROCESS": "Đang cập nhật...", - "DEFAULT_IDENTITY_LABEL": "mặc định" + "DEFAULT_IDENTITY_LABEL": "mặc định", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Nhập mật mã", diff --git a/snappymail/v/0.0.0/app/localization/zh-CN/user.json b/snappymail/v/0.0.0/app/localization/zh-CN/user.json index fca3ea71e..74a370059 100644 --- a/snappymail/v/0.0.0/app/localization/zh-CN/user.json +++ b/snappymail/v/0.0.0/app/localization/zh-CN/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "添加一个账户", "BUTTON_ADD_IDENTITY": "添加一个身份", "LOADING_PROCESS": "更新账户列表中", - "DEFAULT_IDENTITY_LABEL": "默认" + "DEFAULT_IDENTITY_LABEL": "默认", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "导入 密钥", diff --git a/snappymail/v/0.0.0/app/localization/zh-TW/user.json b/snappymail/v/0.0.0/app/localization/zh-TW/user.json index 01e449c33..d5379222a 100644 --- a/snappymail/v/0.0.0/app/localization/zh-TW/user.json +++ b/snappymail/v/0.0.0/app/localization/zh-TW/user.json @@ -467,7 +467,8 @@ "BUTTON_ADD_ACCOUNT": "添加一個帳戶", "BUTTON_ADD_IDENTITY": "Add an Identity", "LOADING_PROCESS": "更新帳戶列表中", - "DEFAULT_IDENTITY_LABEL": "default" + "DEFAULT_IDENTITY_LABEL": "default", + "SHOW_UNREAD": "Show unread messages count" }, "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "導入 Key", diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html index 5f3bb24b8..0dcc2b6fc 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html @@ -4,6 +4,13 @@     +