8000 Implementing potodo command as a replacement for make todo by Seluj78 · Pull Request #500 · python/python-docs-fr · GitHub
[go: up one dir, main page]

Skip to content

Implementing potodo command as a replacement for make todo #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 21, 2018
Merged

Implementing potodo command as a replacement for make todo #500

merged 2 commits into from
Dec 21, 2018

Conversation

Seluj78
Copy link
Collaborator
@Seluj78 Seluj78 commented Dec 18, 2018

The make todo command now launches potodo.

You can find the source code of potodo here

Please install the script with pip install potodo and test the features and report any bugs you find (or make pull requests)

@Seluj78
Copy link
Collaborator Author
Seluj78 commented Dec 18, 2018

Added make fuzzy:
Before:

➜  python-docs-fr git:(implement-potodo) make fuzzy
Alias tip: mak fuzzy
for file in *.po */*.po; do echo $(msgattrib --only-fuzzy --no-obsolete "$file" | grep -c '#, fuzzy') $file; done | grep -v ^0 | sort -gr
4 glossary.po
3 sphinx.po
3 library/sys.po
3 library/string.po
2 library/stdtypes.po
2 library/hashlib.po
2 library/functools.po
2 library/copy.po
2 library/abc.po
2 distutils/apiref.po
1 reference/datamodel.po
1 library/xml.sax.po
1 library/unittest.po
1 library/termios.po
1 library/queue.po
1 library/os.po
1 library/functions.po
1 library/fnmatch.po
1 library/datetime.po
1 library/constants.po
1 library/collections.po
1 installing/index.po
1 howto/logging.po
1 faq/windows.po
1 faq/design.po
1 distutils/builtdist.po
➜  python-docs-fr git:(implement-potodo) potodo --github python/python-docs-fr -f


#  (99.00% done)

- glossary.po                    304 / 313 ( 98.0% translated), 4 fuzzy
- sphinx.po                       64 /  68 ( 95.0% translated), 3 fuzzy


# distutils (99.71% done)

- apiref.po                      404 / 406 ( 99.0% translated), 2 fuzzy
- builtdist.po                   145 / 146 ( 99.0% translated), 1 fuzzy


# faq (90.00% done)

- design.po                      133 / 144 ( 92.0% translated), 1 fuzzy
- windows.po                      31 /  59 ( 58.0% translated), 1 fuzzy


# howto (94.71% done)

- logging.po                     138 / 218 ( 63.0% translated), 1 fuzzy


# installing (98.00% done)

- index.po                        53 /  54 ( 98.0% translated), 1 fuzzy


# library (97.20% done)

- __future__.po                   36 /  53 ( 69.0% translated), 1 fuzzy, réservé par Seluj78
- abc.po                          43 /  45 ( 95.0% translated), 2 fuzzy
- collections.po                 189 / 190 ( 99.0% translated), 1 fuzzy
- constants.po                    16 /  17 ( 94.0% translated), 1 fuzzy
- copy.po                         20 /  22 ( 90.0% translated), 2 fuzzy
- datetime.po                    455 / 456 ( 99.0% translated), 1 fuzzy
- fnmatch.po                      22 /  23 ( 95.0% translated), 1 fuzzy
- functions.po                   342 / 350 ( 99.0% translated), 1 fuzzy
- functools.po                    58 /  60 ( 96.0% translated), 2 fuzzy
- hashlib.po                     114 / 137 ( 83.0% translated), 2 fuzzy
- optparse.po                     33 / 409 (  8.0% translated), 2 fuzzy
- os.po                          674 / 679 ( 99.0% translated), 1 fuzzy
- queue.po                        40 /  41 ( 97.0% translated), 1 fuzzy
- stdtypes.po                    835 / 847 ( 99.0% translated), 2 fuzzy
- string.po                      169 / 174 ( 98.0% translated), 3 fuzzy
- sunau.po                         5 /  72 (  7.0% translated), 2 fuzzy
- sys.po                         323 / 343 ( 94.0% translated), 3 fuzzy
- termios.po                      14 /  15 ( 93.0% translated), 1 fuzzy
- unittest.po                    116 / 479 ( 24.0% translated), 1 fuzzy
- xml.sax.po                      29 /  31 ( 93.0% translated), 1 fuzzy, réservé par Seluj78


# reference (99.91% done)

- datamodel.po                   442 / 444 ( 99.0% translated), 2 fuzzy, réservé par Seluj78


# using (82.20% done)

- windows.po                      32 / 290 ( 11.0% translated), 4 fuzzy


# whatsnew (35.43% done)

- 2.1.po                          30 / 140 ( 21.0% translated), 1 fuzzy
- 2.2.po                          17 / 194 (  8.0% translated), 2 fuzzy
- 2.3.po                          12 / 325 (  3.0% translated), 1 fuzzy
- 2.5.po                          41 / 388 ( 10.0% translated), 2 fuzzy
- 2.6.po                          37 / 540 (  6.0% translated), 1 fuzzy

After:

➜  python-docs-fr git:(implement-potodo) ✗ make fuzzy
Alias tip: mak fuzzy
potodo --github python/python-docs-fr -f


#  (99.00% done)

- glossary.po                    304 / 313 ( 98.0% translated), 4 fuzzy
- sphinx.po                       64 /  68 ( 95.0% translated), 3 fuzzy


# distutils (99.71% done)

- apiref.po                      404 / 406 ( 99.0% translated), 2 fuzzy
- builtdist.po                   145 / 146 ( 99.0% translated), 1 fuzzy


# faq (90.00% done)

- design.po                      133 / 144 ( 92.0% translated), 1 fuzzy
- windows.po                      31 /  59 ( 58.0% translated), 1 fuzzy


# howto (94.71% done)

- logging.po                     138 / 218 ( 63.0% translated), 1 fuzzy


# installing (98.00% done)

- index.po                        53 /  54 ( 98.0% translated), 1 fuzzy


# library (97.20% done)

- __future__.po                   36 /  53 ( 69.0% translated), 1 fuzzy, réservé par Seluj78
- abc.po                          43 /  45 ( 95.0% translated), 2 fuzzy
- collections.po                 189 / 190 ( 99.0% translated), 1 fuzzy
- constants.po                    16 /  17 ( 94.0% translated), 1 fuzzy
- copy.po                         20 /  22 ( 90.0% translated), 2 fuzzy
- datetime.po                    455 / 456 ( 99.0% translated), 1 fuzzy
- fnmatch.po                      22 /  23 ( 95.0% translated), 1 fuzzy
- functions.po                   342 / 350 ( 99.0% translated), 1 fuzzy
- functools.po                    58 /  60 ( 96.0% translated), 2 fuzzy
- hashlib.po                     114 / 137 ( 83.0% translated), 2 fuzzy
- optparse.po                     33 / 409 (  8.0% translated), 2 fuzzy
- os.po                          674 / 679 ( 99.0% translated), 1 fuzzy
- queue.po                        40 /  41 ( 97.0% translated), 1 fuzzy
- stdtypes.po                    835 / 847 ( 99.0% translated), 2 fuzzy
- string.po                      169 / 174 ( 98.0% translated), 3 fuzzy
- sunau.po                         5 /  72 (  7.0% translated), 2 fuzzy
- sys.po                         323 / 343 ( 94.0% translated), 3 fuzzy
- termios.po                      14 /  15 ( 93.0% translated), 1 fuzzy
- unittest.po                    116 / 479 ( 24.0% translated), 1 fuzzy
- xml.sax.po                      29 /  31 ( 93.0% translated), 1 fuzzy, réservé par Seluj78


# reference (99.91% done)

- datamodel.po                   442 / 444 ( 99.0% translated), 2 fuzzy, réservé par Seluj78


# using (82.20% done)

- windows.po                      32 / 290 ( 11.0% translated), 4 fuzzy


# whatsnew (35.43% done)

- 2.1.po                          30 / 140 ( 21.0% translated), 1 fuzzy
- 2.2.po                          17 / 194 (  8.0% translated), 2 fuzzy
- 2.3.po                          12 / 325 (  3.0% translated), 1 fuzzy
- 2.5.po                          41 / 388 ( 10.0% translated), 2 fuzzy
- 2.6.po                          37 / 540 (  6.0% translated), 1 fuzzy

@Seluj78
Copy link
Collaborator Author
Seluj78 commented Dec 18, 2018

Oh and #500 Internal Server Error

@JulienPalard JulienPalard merged commit 906bc21 into python:3.7 Dec 21, 2018
@Seluj78 Seluj78 deleted the implement-potodo branch March 28, 2019 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0