This commit is contained in:
the-djmaze 2024-10-10 23:45:28 +02:00
parent 9eb7f38485
commit 16106a28d5
39 changed files with 88 additions and 4 deletions

View file

@ -213,15 +213,19 @@ export class MailMessageList extends AbstractViewRight {
sortText: () => {
let mode = FolderUserStore.sortMode(),
desc = '' === mode || mode.includes('REVERSE');
has = w => mode.includes(w),
desc = '' === mode || has('REVERSE');
mode = mode.split(/\s+/);
if (mode.includes('FROM')) {
if (has('FROM')) {
return '@' + (desc ? '⬆' : '⬇');
}
if (mode.includes('SUBJECT')) {
if (has('SUBJECT')) {
return '𝐒' + (desc ? '⬆' : '⬇');
}
return (mode.includes('SIZE') ? '✉' : '📅') + (desc ? '⬇' : '⬆');
if (has('SIZE')) {
return '✉' + (desc ? '⬇' : '⬆');
}
return (has('ARRIVAL') ? '📨' : '📅') + (desc ? '⬇' : '⬆');
},
downloadAsZipAllowed: () => this.attachmentsActions.includes('zip')

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Using <strong>%SIZE% (%PROC%%)<\/strong> of your <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Выкарыстана <strong>%SIZE% (%PROC%%)<\/strong> з <strong>%LIMIT%<\/strong>",
"SORT": "Сартаванне",
"NO_SORT": "Паштовы сервер не падтрымлівае сартаванне",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Дата па ўзрастанні",
"SORT_DATE_DESC": "Дата па спаданні",
"SORT_SIZE_ASC": "Памер па ўзрастанні",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Използване на <strong>%SIZE% (%PROC%%)<\/strong> от вашите <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Používáte <strong>%SIZE% (%PROC%%)<\/strong> z vašich <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Du bruger <strong>%SIZE% (%PROC%%)<\/strong> af <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Sie nutzen <strong>%SIZE% (%PROC%%)<\/strong> von <strong>%LIMIT%<\/strong>.",
"SORT": "Sortieren",
"NO_SORT": "Ihr Mailserver unterstützt das Sortieren von E-Mails nicht",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Datum aufsteigend",
"SORT_DATE_DESC": "Datum absteigend",
"SORT_SIZE_ASC": "Größe aufsteigend",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Χρησιμοποιούνται <strong>%SIZE% (%PROC%%)<\/strong> από <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Using <strong>%SIZE% (%PROC%%)<\/strong> of your <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Usando <strong>%SIZE% (%PROC%%)<\/strong> de sus <strong>%LIMIT%<\/strong>",
"SORT": "Ordenar",
"NO_SORT": "El servidor no soporta clasificación",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Fecha ascendente",
"SORT_DATE_DESC": "Fecha descendente",
"SORT_SIZE_ASC": "Tamaño ascendente",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Kasutad <strong>%SIZE% (%PROC%%)<\/strong> lubatud kettamahust <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "<strong>%SIZE% (%PROC%%)<\/strong> erabiliz zure <strong>%LIMIT%<\/strong>-tik",
"SORT": "Ordenatu",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Data goraka",
"SORT_DATE_DESC": "Data beheraka",
"SORT_SIZE_ASC": "Tamaina goraka",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "استفاده <strong>%SIZE% (%PROC%%)<\/strong> از<strong>%LIMIT%<\/strong> برای شما",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Käytät <strong>%SIZE% (%PROC%%)<\/strong> sinulle varatusta <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Vous utilisez <strong>%SIZE% (%PROC%%)<\/strong> sur <strong>%LIMIT%<\/strong>",
"SORT": "Trier",
"NO_SORT": "Le serveur de messagerie ne prend pas en charge le tri",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascendante",
"SORT_DATE_DESC": "Date décroissante",
"SORT_SIZE_ASC": "Taille ascendante",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Felhasználva <strong>%SIZE% (%PROC%%)<\/strong> ebből: <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Menggunakan <strong>%SIZE% (%PROC%%)<\/strong> dari <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Notar <strong>%SIZE% (%PROC%%)<\/strong> af <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Stai usando <strong>%SIZE% (%PROC%%)<\/strong> su <strong>%LIMIT%<\/strong>",
"SORT": "Riordina",
"NO_SORT": "Il mail server non supporta l'ordinamento",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Data crescente",
"SORT_DATE_DESC": "Data decrescente",
"SORT_SIZE_ASC": "Dimensione crescente",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "<strong>%SIZE% (%PROC%%)<\/strong>\/<strong>%LIMIT%<\/strong>を使用中",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "日付で昇順",
"SORT_DATE_DESC": "日付で降順",
"SORT_SIZE_ASC": "サイズで昇順",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "총 <strong>%LIMIT%<\/strong> 중 <strong>%PROC%%<\/strong>을(를) 사용 중입니다.",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Naudojate <strong>%SIZE% (%PROC%%)<\/strong> iš savo turimų <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Izmantots <strong>%SIZE% (%PROC%%)<\/strong> no <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Bruker <strong> %SIZE% ( %PROC%% ) <\/strong> av <strong> %LIMIT% <\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Dato, stigende",
"SORT_DATE_DESC": "Dato, synkende",
"SORT_SIZE_ASC": "Størrelse, stigende",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "U gebruikt <strong>%SIZE% (%PROC%%)<\/strong> van <strong>%LIMIT%<\/strong>",
"SORT": "Sorteren",
"NO_SORT": "Mail server ondersteund sorteren niet",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Datum oplopend",
"SORT_DATE_DESC": "Datum aflopend",
"SORT_SIZE_ASC": "Grootte oplopend",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Wykorzystano <strong>%SIZE% (%PROC%%)<\/strong> z <strong>%LIMIT%<\/strong>",
"SORT": "Sortowanie",
"NO_SORT": "Serwer pocztowy nie wspiera sortowania",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Data rosnąco",
"SORT_DATE_DESC": "Data malejąco",
"SORT_SIZE_ASC": "Wielkość rosnąco",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Utilizando <strong>%SIZE% (%PROC%%)<\/strong> de <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Está a usar <strong>%SIZE% (%PROC%%)<\/strong> dos <strong>%LIMIT%<\/strong>",
"SORT": "Ordenar",
"NO_SORT": "O servidor de correio não suporta ordenação",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Data ascendente",
"SORT_DATE_DESC": "Data descendente",
"SORT_SIZE_ASC": "Tamanho ascendente",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Ați folosit <strong>%SIZE% (%PROC%%)<\/strong> din <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Использовано <strong>%SIZE% (%PROC%%)<\/strong> из <strong>%LIMIT%<\/strong>",
"SORT": "Сортировка",
"NO_SORT": "Почтовый сервер не поддерживает сортировку",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Дата по возрастанию",
"SORT_DATE_DESC": "Дата по убыванию",
"SORT_SIZE_ASC": "Размер по возрастанию",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Používate <strong>%SIZE% (%PROC%%)<\/strong> z vašich <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Uporabljenih <strong>%SIZE% (%PROC%%)<\/strong> od <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Använder <strong>%SIZE% (%PROC%%)<\/strong> av dina <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Size ayrılan <strong>%LIMIT%<\/strong>'dan <strong>%SIZE% (%PROC%%)<\/strong> kullanıyorsunuz",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Використано <strong>%SIZE% (%PROC%%)<\/strong> з <strong>%LIMIT%<\/strong>",
"SORT": "Sort",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Date ascending",
"SORT_DATE_DESC": "Date descending",
"SORT_SIZE_ASC": "Size ascending",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "Đang sử dụng <strong>%SIZE% (%PROC%%)<\/strong> trong mức <strong>%LIMIT%<\/strong> của bạn",
"SORT": "Sắp xếp thư",
"NO_SORT": "Mail server does not support sorting",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "Thư mới hiện trước",
"SORT_DATE_DESC": "Thư cũ hiện trước",
"SORT_SIZE_ASC": "Kích cỡ thư nhỏ đến lớn",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "已使用 <strong>%LIMIT%<\/strong> 中的 <strong>%SIZE% (%PROC%%)<\/strong> 儲存空間",
"SORT": "排序",
"NO_SORT": "郵件伺服器不支援排序",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "日期遞增",
"SORT_DATE_DESC": "日期遞減",
"SORT_SIZE_ASC": "大小遞增",

View file

@ -130,6 +130,8 @@
"QUOTA_SIZE": "使用了 <strong>%LIMIT%<\/strong> 存储空间中的<strong>%SIZE% (%PROC%%)<\/strong>",
"SORT": "排序",
"NO_SORT": "邮件服务器不支持排序",
"SORT_ARRIVAL_ASC": "Arrived ascending",
"SORT_ARRIVAL_DESC": "Arrived descending",
"SORT_DATE_ASC": "日期升序",
"SORT_DATE_DESC": "日期降序",
"SORT_SIZE_ASC": "大小升序",

View file

@ -107,6 +107,12 @@
<li role="presentation" data-sort="REVERSE SUBJECT" data-bind="click: changeSort">
<a href="#" tabindex="-1" data-icon="𝐒⬆" data-i18n="MESSAGE_LIST/SORT_SUBJECT_DESC"></a>
</li>
<li class="dividerbar" role="presentation" data-sort="REVERSE ARRIVAL" data-bind="click: changeSort">
<a href="#" tabindex="-1" data-icon="📨⬇" data-i18n="MESSAGE_LIST/SORT_ARRIVAL_DESC"></a>
</li>
<li role="presentation" data-sort="ARRIVAL" data-bind="click: changeSort">
<a href="#" tabindex="-1" data-icon="📨⬆" data-i18n="MESSAGE_LIST/SORT_ARRIVAL_ASC"></a>
</li>
</menu>
</div>
</div>