Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit76758ea

Browse files
authored
Track core resources completion (#115)
1 parent5f1fa46 commit76758ea

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎README.en.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ Polish Translation of Python Documentation
44
from manage_translation import get_resource_language_stats, progress_from_resources, language_switcher
55
66
stats = get_resource_language_stats()
7+
core = progress_from_resources(filter(language_switcher, stats))
78
total_words, total_strings = progress_from_resources(stats)
89
910
print(
1011
f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
12+
![{core:.2f}% core](https://img.shields.io/badge/core-{core:.2f}%25-0.svg)
1113
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-{total_words:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/)
1214
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-{total_strings:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/)''')
1315
]]]-->

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
Polskie tłumaczenie dokumentacji Pythona
22
========================================
33
<!-- [[[cog
4-
from manage_translation import get_resource_language_stats, progress_from_resources
4+
from manage_translation import get_resource_language_stats, progress_from_resources, language_switcher
55
66
stats = get_resource_language_stats()
7+
core = progress_from_resources(filter(language_switcher, stats))
78
total_words, total_strings = progress_from_resources(stats)
89
910
print(
1011
f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
12+
![{core:.2f}% core](https://img.shields.io/badge/podstawowe_artykuły-{core:.2f}%25-0.svg)
1113
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-{total_words:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/)
1214
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-{total_strings:.2f}%25-0.svg)](https://python-docs-translations.github.io/dashboard/)''')
1315
]]]-->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp