diff --git a/babel.cfg b/babel.cfg index d6b4a82c9..548eda75d 100644 --- a/babel.cfg +++ b/babel.cfg @@ -1,6 +1,6 @@ [python: **.py] -keywords = _ _l gettext pgettext:1c,2 +keywords = _ _l gettext pgettext:1c,2 lazy_pgettext:1c,2 [jinja2: **/templates/**.html] encoding = utf-8 -keywords = _ _l gettext pgettext:1c,2 +keywords = _ _l gettext pgettext:1c,2 lazy_pgettext:1c,2 diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index c7b7a5f63..69f64a817 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -2,7 +2,7 @@ import os import re from loguru import logger from wtforms.widgets.core import TimeInput -from flask_babel import lazy_gettext as _l, gettext +from flask_babel import gettext, lazy_gettext as _l, lazy_pgettext from changedetectionio.blueprint.menu_modes import MENU_SIDEBAR_ACTIONMODES, MENU_SIDEBAR_ACTIONMODES_DEFAULT from changedetectionio.blueprint.rss import RSS_FORMAT_TYPES, RSS_TEMPLATE_TYPE_OPTIONS, RSS_TEMPLATE_HTML_DEFAULT @@ -1015,7 +1015,8 @@ class processor_text_json_diff_form(commonSettingsForm): notification_muted = TernaryNoneBooleanField(_l('Notifications'), default=None, yes_text=_l("Muted"), no_text=_l("On")) notification_screenshot = BooleanField(_l('Attach screenshot to notification (where possible)'), default=False) - conditions_match_logic = RadioField(_l('Match'), choices=[('ALL', _l('Match all of the following')),('ANY', _l('Match any of the following'))], default='ALL') + # TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. + conditions_match_logic = RadioField(lazy_pgettext('condition', 'Match'), choices=[('ALL', _l('Match all of the following')),('ANY', _l('Match any of the following'))], default='ALL') conditions = FieldList(FormField(ConditionFormRow), min_entries=1) # Add rule logic here use_page_title_in_list = TernaryNoneBooleanField(_l('Use page in list'), default=None) diff --git a/changedetectionio/translations/cs/LC_MESSAGES/messages.mo b/changedetectionio/translations/cs/LC_MESSAGES/messages.mo index cbce8d871..b2b8c789e 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 7950b66fe..b863eaa46 100644 --- a/changedetectionio/translations/cs/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/cs/LC_MESSAGES/messages.po @@ -3463,7 +3463,9 @@ msgstr "Ztlumit" msgid "Attach screenshot to notification (where possible)" msgstr "Připojit snímek obrazovky k oznámení (pokud je to možné)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Shoda" diff --git a/changedetectionio/translations/de/LC_MESSAGES/messages.mo b/changedetectionio/translations/de/LC_MESSAGES/messages.mo index d67c42eff..21b4b1501 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 e49efe46e..155d29d1f 100644 --- a/changedetectionio/translations/de/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/de/LC_MESSAGES/messages.po @@ -3513,7 +3513,9 @@ msgstr "Stumm" msgid "Attach screenshot to notification (where possible)" msgstr "Screenshot an Benachrichtigung anhängen (sofern möglich)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Übereinstimmung" diff --git a/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po b/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po index dece2f545..34cc35ce6 100644 --- a/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/en_GB/LC_MESSAGES/messages.po @@ -3455,7 +3455,9 @@ msgstr "" msgid "Attach screenshot to notification (where possible)" msgstr "" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "" diff --git a/changedetectionio/translations/en_US/LC_MESSAGES/messages.po b/changedetectionio/translations/en_US/LC_MESSAGES/messages.po index 447ee4bb9..0911f8bc8 100644 --- a/changedetectionio/translations/en_US/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/en_US/LC_MESSAGES/messages.po @@ -3455,7 +3455,9 @@ msgstr "" msgid "Attach screenshot to notification (where possible)" msgstr "" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "" diff --git a/changedetectionio/translations/es/LC_MESSAGES/messages.mo b/changedetectionio/translations/es/LC_MESSAGES/messages.mo index d244adef0..a58ac2bbb 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 07ef42a71..4f85efd72 100644 --- a/changedetectionio/translations/es/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/es/LC_MESSAGES/messages.po @@ -3528,7 +3528,9 @@ msgstr "Silenciado" msgid "Attach screenshot to notification (where possible)" msgstr "Adjunte captura de pantalla a la notificación (cuando sea posible)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Coincidencia" diff --git a/changedetectionio/translations/fr/LC_MESSAGES/messages.mo b/changedetectionio/translations/fr/LC_MESSAGES/messages.mo index d95374f85..6a1fb128e 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 7f03bf910..ca604683f 100644 --- a/changedetectionio/translations/fr/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/fr/LC_MESSAGES/messages.po @@ -3468,7 +3468,9 @@ msgstr "Muet" msgid "Attach screenshot to notification (where possible)" msgstr "Joindre une capture d'écran à la notification (si possible)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Correspondance" diff --git a/changedetectionio/translations/id/LC_MESSAGES/messages.mo b/changedetectionio/translations/id/LC_MESSAGES/messages.mo index c7f398b55..309e43dd3 100644 Binary files a/changedetectionio/translations/id/LC_MESSAGES/messages.mo and b/changedetectionio/translations/id/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/id/LC_MESSAGES/messages.po b/changedetectionio/translations/id/LC_MESSAGES/messages.po index 9bed18990..96ccacd52 100644 --- a/changedetectionio/translations/id/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/id/LC_MESSAGES/messages.po @@ -3568,7 +3568,9 @@ msgstr "Dibisukan" msgid "Attach screenshot to notification (where possible)" msgstr "Lampirkan tangkapan layar ke notifikasi (jika memungkinkan)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Pencocokan" diff --git a/changedetectionio/translations/it/LC_MESSAGES/messages.mo b/changedetectionio/translations/it/LC_MESSAGES/messages.mo index 1dea70cdb..7c0981dcb 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 3a0713619..dcc9ff0ec 100644 --- a/changedetectionio/translations/it/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/it/LC_MESSAGES/messages.po @@ -3457,7 +3457,9 @@ msgstr "Disattivato" msgid "Attach screenshot to notification (where possible)" msgstr "Allega screenshot alla notifica (dove possibile)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Corrisponde" diff --git a/changedetectionio/translations/ja/LC_MESSAGES/messages.mo b/changedetectionio/translations/ja/LC_MESSAGES/messages.mo index 13cba9dc7..ed3a82a39 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 ca78cb043..d76056d0e 100644 --- a/changedetectionio/translations/ja/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/ja/LC_MESSAGES/messages.po @@ -3474,7 +3474,9 @@ msgstr "ミュート済み" msgid "Attach screenshot to notification (where possible)" msgstr "通知にスクリーンショットを添付(可能な場合)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "一致条件" diff --git a/changedetectionio/translations/ko/LC_MESSAGES/messages.mo b/changedetectionio/translations/ko/LC_MESSAGES/messages.mo index 5bb5bce65..6ba04d002 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 f8822368e..27f4056a0 100644 --- a/changedetectionio/translations/ko/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/ko/LC_MESSAGES/messages.po @@ -3465,7 +3465,9 @@ msgstr "음소거됨" msgid "Attach screenshot to notification (where possible)" msgstr "알림에 스크린샷 첨부(가능한 경우)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "일치 방식" diff --git a/changedetectionio/translations/messages.pot b/changedetectionio/translations/messages.pot index c296502ca..3f5a16d18 100644 --- a/changedetectionio/translations/messages.pot +++ b/changedetectionio/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: changedetection.io 0.60.7\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-09-20 19:44+0200\n" +"POT-Creation-Date: 2026-09-23 17:27+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -3454,7 +3454,9 @@ msgstr "" msgid "Attach screenshot to notification (where possible)" msgstr "" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "" diff --git a/changedetectionio/translations/pl/LC_MESSAGES/messages.mo b/changedetectionio/translations/pl/LC_MESSAGES/messages.mo index c6a1d4879..deaae91b7 100644 Binary files a/changedetectionio/translations/pl/LC_MESSAGES/messages.mo and b/changedetectionio/translations/pl/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/pl/LC_MESSAGES/messages.po b/changedetectionio/translations/pl/LC_MESSAGES/messages.po index d1a08c9ca..f059162c5 100644 --- a/changedetectionio/translations/pl/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/pl/LC_MESSAGES/messages.po @@ -3614,7 +3614,9 @@ msgstr "Wyciszone" msgid "Attach screenshot to notification (where possible)" msgstr "Dołącz zrzut ekranu do zgłoszenia (jeśli to możliwe)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Mecz" diff --git a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.mo index 3601f6e23..e96a1f309 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 394341bb4..bd7ddbc75 100644 --- a/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/pt_BR/LC_MESSAGES/messages.po @@ -3505,7 +3505,9 @@ msgstr "Silenciado" msgid "Attach screenshot to notification (where possible)" msgstr "Anexar screenshot à notificação (quando possível)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Corresponder" diff --git a/changedetectionio/translations/ru/LC_MESSAGES/messages.mo b/changedetectionio/translations/ru/LC_MESSAGES/messages.mo index 126a50b1d..0af2e8c0d 100644 Binary files a/changedetectionio/translations/ru/LC_MESSAGES/messages.mo and b/changedetectionio/translations/ru/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/ru/LC_MESSAGES/messages.po b/changedetectionio/translations/ru/LC_MESSAGES/messages.po index ad4c8d4e9..30f7f2320 100644 --- a/changedetectionio/translations/ru/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/ru/LC_MESSAGES/messages.po @@ -3573,7 +3573,9 @@ msgstr "Без звука" msgid "Attach screenshot to notification (where possible)" msgstr "Прикрепите скриншот к уведомлению (где это возможно)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Соответствовать" diff --git a/changedetectionio/translations/tr/LC_MESSAGES/messages.mo b/changedetectionio/translations/tr/LC_MESSAGES/messages.mo index c39c4ea51..e60942caf 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 309c3282e..d79028bd2 100644 --- a/changedetectionio/translations/tr/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/tr/LC_MESSAGES/messages.po @@ -3508,7 +3508,9 @@ msgstr "Sessize alındı" msgid "Attach screenshot to notification (where possible)" msgstr "Ekran görüntüsünü bildirime ekle (mümkün olan yerlerde)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Eşleştir" diff --git a/changedetectionio/translations/uk/LC_MESSAGES/messages.mo b/changedetectionio/translations/uk/LC_MESSAGES/messages.mo index b1cdd1871..e055c018b 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 2fa0800fc..72cd1dcad 100644 --- a/changedetectionio/translations/uk/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/uk/LC_MESSAGES/messages.po @@ -3487,7 +3487,9 @@ msgstr "Заглушено" msgid "Attach screenshot to notification (where possible)" msgstr "Прикріпити скріншот до сповіщення (де можливо)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "Збіг" diff --git a/changedetectionio/translations/zh/LC_MESSAGES/messages.mo b/changedetectionio/translations/zh/LC_MESSAGES/messages.mo index 3d6bc6ff3..f7f93cd60 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 57334f0c0..d158f43ea 100644 --- a/changedetectionio/translations/zh/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/zh/LC_MESSAGES/messages.po @@ -3461,7 +3461,9 @@ msgstr "静音" msgid "Attach screenshot to notification (where possible)" msgstr "(如可用)在通知中附加截图" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "匹配" diff --git a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.mo index 6757ca043..ba76eab4c 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 9755bc056..d80a40679 100644 --- a/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/zh_Hant_TW/LC_MESSAGES/messages.po @@ -3466,7 +3466,9 @@ msgstr "已靜音" msgid "Attach screenshot to notification (where possible)" msgstr "將截圖附加到通知中(如果支援)" +#. TRANSLATORS: Label for the setting combining condition rules with AND/OR. Noun; not the verb 'to match'. #: changedetectionio/forms.py +msgctxt "condition" msgid "Match" msgstr "符合" diff --git a/setup.cfg b/setup.cfg index 309d5d2f2..a750716d3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ mapping_file = babel.cfg output_file = changedetectionio/translations/messages.pot input_paths = changedetectionio -keywords = _ _l gettext pgettext:1c,2 +keywords = _ _l gettext pgettext:1c,2 lazy_pgettext:1c,2 add_comments = TRANSLATORS:,dennis-ignore: # Options to reduce unnecessary changes in .pot files sort_by_file = true