Browse Source

Remove cv-cached class

pull/71/head
Nemoralis 4 months ago
committed by Ben Kurtovic
parent
commit
e235e48688
3 changed files with 3 additions and 26 deletions
  1. +1
    -1
      .github/workflows/build.yml
  2. +2
    -2
      i18n/en.json
  3. +0
    -23
      src/copyvios/static/css/style.css

+ 1
- 1
.github/workflows/build.yml View File

@@ -19,4 +19,4 @@ jobs:
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd

- name: Run translation checks
run: uv run pytest
run: uv run python -m pytest

+ 2
- 2
i18n/en.json View File

@@ -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 <a id=\"cv-cached\" href=\"#\"><abbr title=\"$1\">cached</abbr></a> from $2. Originally generated in $3 seconds.",
"cached-line-search": "Results <a id=\"cv-cached\" href=\"#\"><abbr title=\"$1\">cached</abbr></a> from $2. Originally generated in $3 seconds using {{PLURAL:$4|$4 query|$4 queries}}.",
"cached-line": "Results <abbr title=\"$1\">cached</abbr> from $2. Originally generated in $3 seconds.",
"cached-line-search": "Results <abbr title=\"$1\">cached</abbr> 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}}.",


+ 0
- 23
src/copyvios/static/css/style.css View File

@@ -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; }


Loading…
Cancel
Save