Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2cdb724

Browse filesBrowse files
Remove errors from readme (gh-55) (#56)
Closes #55 Co-authored-by: Maciej Olko <maciej.olko@gmail.com>
1 parent bd1ca66 commit 2cdb724
Copy full SHA for 2cdb724

File tree

Expand file treeCollapse file tree

3 files changed

+2
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+2
-5
lines changed

‎README.en.md

Copy file name to clipboardExpand all lines: README.en.md
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-l
1212
![Total Translation of Documentation](https://img.shields.io/badge/Total-{total:.3f}%25-0.svg)
1313
![{translators} Translators](https://img.shields.io/badge/Translators-{translators}-0.svg)''')
1414
]]] -->
15-
Stan Ulbrych and Stanislaw Ulbrych are similar (0.828). Deduplicating.
1615
![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)
1716
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.725%25-0.svg)
1817
![24 Translators](https://img.shields.io/badge/Translators-24-0.svg)

‎README.md

Copy file name to clipboardExpand all lines: README.md
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-l
1212
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-{total:.3f}%25-0.svg)
1313
![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''')
1414
]]] -->
15-
Stan Ulbrych and Stanislaw Ulbrych are similar (0.828). Deduplicating.
1615
![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)
1716
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.725%25-0.svg)
1817
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)

‎manage_translation.py

Copy file name to clipboardExpand all lines: manage_translation.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from contextlib import chdir
1818
from dataclasses import dataclass
1919
from difflib import SequenceMatcher
20+
from logging import info
2021
from pathlib import Path
2122
from subprocess import call
2223
import sys
@@ -174,9 +175,7 @@ def _eliminate_aliases(translators: set[str]) -> set[str]:
174175
for name in translators:
175176
for match in unique:
176177
if (ratio := SequenceMatcher(lambda x: x in '<>@', name, match).ratio()) > 0.64:
177-
print(
178-
f"{name} and {match} are similar ({ratio:.3f}). Deduplicating."
179-
)
178+
info(f"{name} and {match} are similar ({ratio:.3f}). Deduplicating.")
180179
break
181180
else:
182181
unique.add(name)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.