Adopt `potodo` in Makefile
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- documentation, tooling
調査の方向性
リポジトリの Makefile にある todo、fuzzy、progress 用のコマンドから始め、それらの出力をこの issue に記載されている potodo の例と比較します。Makefile で potodo をどのように呼び出すか、またその出力をコマンドの結果として残すべきか、ファイルとして保存すべきかを確認します。選択した翻訳ステータス用コマンドが、意図した potodo 形式の結果を提供すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I found a tool named potodo that provides same functionalities with part of our current Makefile commands but has better format. We can consider adopting this tool in our Makefile (or even storing the output as a file and updating it whenever a PR is merged).
-
Listing untranslated files
-
make todo> make todo for file in *.po */*.po; do echo $(msgattrib --untranslated $file | grep ^msgid | sed 1d | wc -l ) $file; done | grep -v ^0 | sort -gr 929 library/stdtypes.po 790 library/os.po 660 whatsnew/3.3.po 633 library/curses.po 577 c-api/typeobj.po 555 whatsnew/3.7.po 554 library/datetime.po 539 whatsnew/3.5.po 539 whatsnew/2.6.po 518 whatsnew/3.2.po 517 whatsnew/3.6.po ... -
potodo> potodo # extending (3.17% done) - building.po 0 / 23 ( 0.0% translated) - embedding.po 1 / 45 ( 2.0% translated) - extending.po 2 / 158 ( 1.0% translated) - newtypes.po 0 / 91 ( 0.0% translated) - newtypes_tutorial.po 0 / 123 ( 0.0% translated) - windows.po 0 / 21 ( 0.0% translated) # faq (10.27% done) - design.po 13 / 141 ( 9.0% translated), 2 fuzzy - extending.po 0 / 60 ( 0.0% translated) - general.po 33 / 91 ( 36.0% translated) - gui.po 2 / 17 ( 11.0% translated) - library.po 11 / 142 ( 7.0% translated) - programming.po 13 / 372 ( 3.0% translated) - windows.po 3 / 47 ( 6.0% translated) ...
-
-
Listing fuzzy entries
-
make fuzzy> make fuzzy for file in *.po */*.po; do echo $(msgattrib --only-fuzzy --no-obsolete "$file" | grep -c '#, fuzzy') $file; done | grep -v ^0 | sort -gr 163 library/functions.po 8 library/statistics.po 5 c-api/function.po 5 c-api/datetime.po 4 library/unittest.po 3 library/heapq.po ... -
potodo --only-fuzzy> potodo -f # c-api (5.20% done) - datetime.po 8 / 41 ( 19.0% translated), 5 fuzzy - dict.po 5 / 30 ( 16.0% translated), 1 fuzzy - function.po 4 / 18 ( 22.0% translated), 5 fuzzy - unicode.po 5 / 334 ( 1.0% translated), 1 fuzzy # distutils (0.00% done) - examples.po 0 / 46 ( 0.0% translated), 1 fuzzy # faq (9.22% done) - design.po 13 / 141 ( 9.0% translated), 2 fuzzy ...
-
-
Get overall progress
-
make progress> make progress 4.4% -
potodo | tail -n2 | head -n1 | cut -c 10- | sed 's/[%].*$/%/g'> potodo | tail -n2 | head -n1 | cut -c 10- | sed 's/[%].*$/%/g' 4.31%
-
- 主要言語
- Python
- スター
- 282
- フォーク
- 226
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/python-docs-zh-tw のほかの issue
-
難易度 2/5 半日 初心者へのやさしさ 68/100
python/python-docs-zh-tw#1241 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
python/python-docs-zh-tw#829 ·
-
Support GEMINI.md オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
python/python-docs-zh-tw#1218 · リアクション 1 件 ·
-
python/python-docs-zh-tw#1216 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
python/python-docs-zh-tw#1082 · コメント 3 件 · リアクション 3 件 ·
python/python-docs-zh-tw の issue をすべて見る
似ている issue
-
fix: inaccuracy ⚠️
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
uabrc/uabrc.github.io#1255 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ethereum-optimism/factory#64 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
duckdb/duckdb-python#627 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Qiskit/qiskit-addon-sqd#376 ·