From e235e4868862b49fbbd0cbac5cfb0c588115522f Mon Sep 17 00:00:00 2001 From: Nemoralis Date: Sun, 21 Jun 2026 04:38:20 +0400 Subject: [PATCH] Remove cv-cached class --- .github/workflows/build.yml | 2 +- i18n/en.json | 4 ++-- src/copyvios/static/css/style.css | 23 ----------------------- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6fe21d..3fabc23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,4 +19,4 @@ jobs: uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd - name: Run translation checks - run: uv run pytest + run: uv run python -m pytest diff --git a/i18n/en.json b/i18n/en.json index 3d1f326..d3e5361 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -78,8 +78,8 @@ "intro-paragraph-2": "Running a full check can take up to a minute if other websites are slow or if the tool is under heavy use. Please be patient. If you get a timeout, wait a moment and refresh the page.", "intro-paragraph-3": "Be aware that other websites can copy from Wikipedia, so check the results carefully, especially for older or well-developed articles. Specific websites can be skipped by adding them to the $1.", "intro-exclusions-list": "excluded URL list", - "cached-line": "Results cached from $2. Originally generated in $3 seconds.", - "cached-line-search": "Results cached from $2. Originally generated in $3 seconds using {{PLURAL:$4|$4 query|$4 queries}}.", + "cached-line": "Results cached from $2. Originally generated in $3 seconds.", + "cached-line-search": "Results cached from $2. Originally generated in $3 seconds using {{PLURAL:$4|$4 query|$4 queries}}.", "cached-tooltip": "To save time (and money), this tool will retain the results of checks for up to 72 hours. This includes the URLs of the checked sources, but neither their content nor the content of the article. Future checks on the same page (assuming it remains unchanged) will not involve additional search queries, but a fresh comparison against the source URL will be made. If the page is modified, a new check will be run.", "check-results-time": "Results generated in $1 seconds.", "check-results-time-search": "Results generated in $1 seconds using {{PLURAL:$2|$2 query|$2 queries}}.", diff --git a/src/copyvios/static/css/style.css b/src/copyvios/static/css/style.css index ec4134b..c13b508 100644 --- a/src/copyvios/static/css/style.css +++ b/src/copyvios/static/css/style.css @@ -301,25 +301,6 @@ h2 { font-weight: bold; } -#cv-cached { - position: relative; -} - -#cv-cached span { - display: none; - position: absolute; - top: 1.5em; - left: -5em; - width: 30em; - padding: 1em; - z-index: 1; - background: #f3f3f3; - border: 1px solid #aaa; - color: black; - font-style: normal; - text-align: left; -} - .green-box { background-color: #efe; border: 1px solid #7f7; @@ -429,10 +410,6 @@ header a:active { color: #333; } -#cv-cached:active { color: #040; text-decoration: none; } -#cv-cached:hover { text-decoration: none; } -#cv-cached:hover span { display: block; } - .source-url:link { color: #357; } .source-url:visited { color: #357; } .source-url:hover { color: #035; }