diff --git a/changedetectionio/async_update_worker.py b/changedetectionio/async_update_worker.py index ca2987335..e8b8ebd5a 100644 --- a/changedetectionio/async_update_worker.py +++ b/changedetectionio/async_update_worker.py @@ -1,5 +1,4 @@ from blinker import signal - from .processors.exceptions import ProcessorException import changedetectionio.content_fetchers.exceptions as content_fetchers_exceptions from changedetectionio.processors.text_json_diff.processor import FilterNotFoundInResponse @@ -9,7 +8,6 @@ from changedetectionio.flask_app import watch_check_update import asyncio import importlib import os -import queue import time from loguru import logger diff --git a/changedetectionio/languages.py b/changedetectionio/languages.py index ffc118678..e6552d716 100644 --- a/changedetectionio/languages.py +++ b/changedetectionio/languages.py @@ -29,6 +29,7 @@ def get_timeago_locale(flask_locale): """ locale_map = { 'zh': 'zh_CN', # Chinese Simplified + 'zh_Hant_TW': 'zh_TW', # Flask-Babel normalizes zh_TW to zh_Hant_TW 'pt': 'pt_PT', # Portuguese (Portugal) 'sv': 'sv_SE', # Swedish 'no': 'nb_NO', # Norwegian Bokmål