diff --git a/changedetectionio/static/js/realtime.js b/changedetectionio/static/js/realtime.js index d9b0ebab..e3087355 100644 --- a/changedetectionio/static/js/realtime.js +++ b/changedetectionio/static/js/realtime.js @@ -74,9 +74,11 @@ $(document).ready(function () { } - // Cache DOM elements for performance + // Cache DOM elements for performance. + // queue-size-int is a class (not an id) because the count is rendered in + // BOTH the desktop sidebar and the hamburger drawer — keep them in sync. const queueBubble = document.getElementById('queue-bubble'); - const queueSizePagerInfoText = document.getElementById('queue-size-int'); + const queueSizeNodes = document.querySelectorAll('.queue-size-int'); // Only try to connect if authentication isn't required or user is authenticated // The 'is_authenticated' variable will be set in the template if (typeof is_authenticated !== 'undefined' ? is_authenticated : true) { @@ -131,9 +133,8 @@ $(document).ready(function () { socket.on('queue_size', function (data) { console.log(`${data.event_timestamp} - Queue size update: ${data.q_length}`); - if(queueSizePagerInfoText) { - queueSizePagerInfoText.textContent = parseInt(data.q_length).toLocaleString() || 'None'; - } + const formattedCount = parseInt(data.q_length).toLocaleString() || 'None'; + queueSizeNodes.forEach(node => { node.textContent = formattedCount; }); document.body.classList.toggle('has-queue', parseInt(data.q_length) > 0); // Update queue bubble in action sidebar diff --git a/changedetectionio/templates/sidebar-nav.html b/changedetectionio/templates/sidebar-nav.html index c31afa5e..c10a1902 100644 --- a/changedetectionio/templates/sidebar-nav.html +++ b/changedetectionio/templates/sidebar-nav.html @@ -123,7 +123,7 @@
  • - {{ _('Queued size') }}: {{ queue_size }} + {{ _('In queue') }}: {{ queue_size }}
  • diff --git a/changedetectionio/translations/cs/LC_MESSAGES/messages.mo b/changedetectionio/translations/cs/LC_MESSAGES/messages.mo index 327b0c6a..805aa455 100644 Binary files a/changedetectionio/translations/cs/LC_MESSAGES/messages.mo and b/changedetectionio/translations/cs/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/cs/LC_MESSAGES/messages.po b/changedetectionio/translations/cs/LC_MESSAGES/messages.po index 2144a6d2..d7f9bbcb 100644 --- a/changedetectionio/translations/cs/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/cs/LC_MESSAGES/messages.po @@ -2350,10 +2350,6 @@ msgstr "Smazat sledování?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    Opravdu chcete smazat vybraná sledování?

    Tuto akci nelze vzít zpět.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Velikost fronty" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Hledání" @@ -4317,6 +4313,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "Je dostupná nová verze" diff --git a/changedetectionio/translations/de/LC_MESSAGES/messages.mo b/changedetectionio/translations/de/LC_MESSAGES/messages.mo index 5a9b1206..f6454581 100644 Binary files a/changedetectionio/translations/de/LC_MESSAGES/messages.mo and b/changedetectionio/translations/de/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/de/LC_MESSAGES/messages.po b/changedetectionio/translations/de/LC_MESSAGES/messages.po index a07b0800..36d8d1b0 100644 --- a/changedetectionio/translations/de/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/de/LC_MESSAGES/messages.po @@ -2401,10 +2401,6 @@ msgstr "" "

    Möchten Sie die ausgewählten Überwachungen wirklich löschen?

    Diese Aktion kann nicht " "rückgängig gemacht werden.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Warteschlangengröße" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Suchen" @@ -4373,6 +4369,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po b/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po index 9a43960f..b8b193bb 100644 --- a/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po @@ -2346,10 +2346,6 @@ msgstr "" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "" -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "" @@ -4311,6 +4307,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/en_US/LC_MESSAGES/messages.po b/changedetectionio/translations/en_US/LC_MESSAGES/messages.po index db1c68f4..4d368bb6 100644 --- a/changedetectionio/translations/en_US/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/en_US/LC_MESSAGES/messages.po @@ -2346,10 +2346,6 @@ msgstr "" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "" -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "" @@ -4311,6 +4307,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/es/LC_MESSAGES/messages.mo b/changedetectionio/translations/es/LC_MESSAGES/messages.mo index 7841dd2a..b358a522 100644 Binary files a/changedetectionio/translations/es/LC_MESSAGES/messages.mo and b/changedetectionio/translations/es/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/es/LC_MESSAGES/messages.po b/changedetectionio/translations/es/LC_MESSAGES/messages.po index a2dc5512..972f0561 100644 --- a/changedetectionio/translations/es/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/es/LC_MESSAGES/messages.po @@ -2417,10 +2417,6 @@ msgstr "" "

    ¿Está seguro de que desea eliminar los monitores seleccionados?

    Esta acción no se puede " "deshacer.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Tamaño de la cola" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Buscando" @@ -4397,6 +4393,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/fr/LC_MESSAGES/messages.mo b/changedetectionio/translations/fr/LC_MESSAGES/messages.mo index 1e4aad35..21b2f7ec 100644 Binary files a/changedetectionio/translations/fr/LC_MESSAGES/messages.mo and b/changedetectionio/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/fr/LC_MESSAGES/messages.po b/changedetectionio/translations/fr/LC_MESSAGES/messages.po index 4b214058..79723da0 100644 --- a/changedetectionio/translations/fr/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/fr/LC_MESSAGES/messages.po @@ -2357,10 +2357,6 @@ msgstr "Supprimer les montres ?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "" -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Taille de la file" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Recherche" @@ -4326,6 +4322,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/it/LC_MESSAGES/messages.mo b/changedetectionio/translations/it/LC_MESSAGES/messages.mo index 547c259e..72887e99 100644 Binary files a/changedetectionio/translations/it/LC_MESSAGES/messages.mo and b/changedetectionio/translations/it/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/it/LC_MESSAGES/messages.po b/changedetectionio/translations/it/LC_MESSAGES/messages.po index b9113dde..873fa058 100644 --- a/changedetectionio/translations/it/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/it/LC_MESSAGES/messages.po @@ -2348,10 +2348,6 @@ msgstr "Eliminare monitoraggi?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "" -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Dimensione coda" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Ricerca in corso" @@ -4313,6 +4309,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/ja/LC_MESSAGES/messages.mo b/changedetectionio/translations/ja/LC_MESSAGES/messages.mo index 5744073f..83227628 100644 Binary files a/changedetectionio/translations/ja/LC_MESSAGES/messages.mo and b/changedetectionio/translations/ja/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/ja/LC_MESSAGES/messages.po b/changedetectionio/translations/ja/LC_MESSAGES/messages.po index f8a0efb8..a670cdc2 100644 --- a/changedetectionio/translations/ja/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/ja/LC_MESSAGES/messages.po @@ -2365,10 +2365,6 @@ msgstr "ウォッチを削除しますか?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    選択したウォッチを削除してもよいですか?

    この操作は元に戻せません。

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "キューのサイズ" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "検索中" @@ -4354,6 +4350,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "新しいバージョンが利用可能です" diff --git a/changedetectionio/translations/ko/LC_MESSAGES/messages.mo b/changedetectionio/translations/ko/LC_MESSAGES/messages.mo index 9413c9e0..2b17c935 100644 Binary files a/changedetectionio/translations/ko/LC_MESSAGES/messages.mo and b/changedetectionio/translations/ko/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/ko/LC_MESSAGES/messages.po b/changedetectionio/translations/ko/LC_MESSAGES/messages.po index 0d9656ca..df2a8a62 100644 --- a/changedetectionio/translations/ko/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/ko/LC_MESSAGES/messages.po @@ -2356,10 +2356,6 @@ msgstr "모니터링을 삭제하시겠습니까?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    선택한 모니터링을 삭제하시겠습니까?

    이 작업은 되돌릴 수 없습니다.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "대기열 크기" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "검색 중" @@ -4331,6 +4327,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "새 버전이 있습니다" diff --git a/changedetectionio/translations/messages.pot b/changedetectionio/translations/messages.pot index e9ed39de..f75ee1c9 100644 --- a/changedetectionio/translations/messages.pot +++ b/changedetectionio/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: changedetection.io 0.55.6\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-05-28 14:59+0200\n" +"POT-Creation-Date: 2026-05-28 15:42+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2345,10 +2345,6 @@ msgstr "" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "" -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "" @@ -4310,6 +4306,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo index 2d445ed3..c1883cf6 100644 Binary files a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo and b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po index 7bed294d..0ab4dc8d 100644 --- a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po @@ -2396,10 +2396,6 @@ msgstr "" "

    Tem certeza que deseja excluir os monitoramentos selecionados?

    Esta ação não pode ser " "desfeita.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Tamanho da fila" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Pesquisando" @@ -4369,6 +4365,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/tr/LC_MESSAGES/messages.mo b/changedetectionio/translations/tr/LC_MESSAGES/messages.mo index b80bb5e0..c1ce1645 100644 Binary files a/changedetectionio/translations/tr/LC_MESSAGES/messages.mo and b/changedetectionio/translations/tr/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/tr/LC_MESSAGES/messages.po b/changedetectionio/translations/tr/LC_MESSAGES/messages.po index f56dedc6..8622a5e3 100644 --- a/changedetectionio/translations/tr/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/tr/LC_MESSAGES/messages.po @@ -2399,10 +2399,6 @@ msgstr "İzleyiciler Silinsin mi?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    Seçili izleyicileri silmek istediğinizden emin misiniz?

    Bu işlem geri alınamaz.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Sıraya alınmış boyut" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Aranıyor" @@ -4372,6 +4368,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/uk/LC_MESSAGES/messages.mo b/changedetectionio/translations/uk/LC_MESSAGES/messages.mo index 61bc6b8c..c8eb3af6 100644 Binary files a/changedetectionio/translations/uk/LC_MESSAGES/messages.mo and b/changedetectionio/translations/uk/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/uk/LC_MESSAGES/messages.po b/changedetectionio/translations/uk/LC_MESSAGES/messages.po index 17e22c90..1e6651f3 100644 --- a/changedetectionio/translations/uk/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/uk/LC_MESSAGES/messages.po @@ -2378,10 +2378,6 @@ msgstr "Видалити завдання?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    Ви впевнені, що хочете видалити вибрані завдання?

    Цю дію неможливо скасувати.

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "Розмір черги" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "Пошук" @@ -4349,6 +4345,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/zh/LC_MESSAGES/messages.mo b/changedetectionio/translations/zh/LC_MESSAGES/messages.mo index e3ef8856..01b7d9b5 100644 Binary files a/changedetectionio/translations/zh/LC_MESSAGES/messages.mo and b/changedetectionio/translations/zh/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/zh/LC_MESSAGES/messages.po b/changedetectionio/translations/zh/LC_MESSAGES/messages.po index 64228ae1..73634555 100644 --- a/changedetectionio/translations/zh/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/zh/LC_MESSAGES/messages.po @@ -2351,10 +2351,6 @@ msgstr "删除监控项?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    确定要删除所选监控项吗?

    此操作不可撤销。

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "队列大小" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "搜索中" @@ -4317,6 +4313,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr "" diff --git a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo index c90932d2..23201006 100644 Binary files a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo and b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po index e0b16219..0529565c 100644 --- a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po @@ -2350,10 +2350,6 @@ msgstr "刪除監測任務?" msgid "

    Are you sure you want to delete the selected watches?

    This action cannot be undone.

    " msgstr "

    您確定要刪除所選的監測任務嗎?

    此動作無法復原。

    " -#: changedetectionio/blueprint/watchlist/templates/watch-overview.html -msgid "Queued size" -msgstr "佇列大小" - #: changedetectionio/blueprint/watchlist/templates/watch-overview.html msgid "Searching" msgstr "搜尋中" @@ -4315,6 +4311,10 @@ msgstr "" msgid "Settings" msgstr "" +#: changedetectionio/templates/sidebar-nav.html +msgid "In queue" +msgstr "" + #: changedetectionio/templates/sidebar-nav.html msgid "A new version is available" msgstr ""