Skip to content

Adapt the percentage script to print per-file#78

Closed
humitos wants to merge 1 commit into
3.7from
percentage-per-file
Closed

Adapt the percentage script to print per-file#78
humitos wants to merge 1 commit into
3.7from
percentage-per-file

Conversation

@humitos

@humitos humitos commented May 6, 2020

Copy link
Copy Markdown
Collaborator

When an argument is passed, the script print percentage per-file.

▶ python scripts/print_percentage.py library/http.po 
library/http.po ::: 0%

When an argument is passed, the script print percentage per-file.
@humitos humitos requested a review from gilgamezh May 6, 2020 12:21
@humitos humitos mentioned this pull request May 6, 2020
@raulcd

raulcd commented May 6, 2020

Copy link
Copy Markdown
Collaborator

Creo que deberíamos usar potodo en vez de nuestro propio script:

$ potodo -o -p tutorial/


# tutorial (97.06% done)

- appendix.po                     18 /  20 ( 90.0% translated)
- errors.po                       40 /  46 ( 86.0% translated)
- stdlib.po                       39 /  44 ( 88.0% translated)
- stdlib2.po                      39 /  45 ( 86.0% translated)

@raulcd

raulcd commented May 6, 2020

Copy link
Copy Markdown
Collaborator

Lo anterior era con la rama 3.7 y con la 3.8 sale lo siguiente, el output es perfecto:

$ potodo -o -p tutorial/


# tutorial (92.24% done)

- appendix.po                     18 /  20 ( 90.0% translated)
- classes.po                     112 / 115 ( 97.0% translated), 2 fuzzy
- controlflow.po                  85 / 124 ( 68.0% translated), 12 fuzzy
- datastructures.po               86 /  89 ( 96.0% translated), 1 fuzzy
- errors.po                       45 /  52 ( 86.0% translated)
- inputoutput.po                  64 /  66 ( 96.0% translated), 2 fuzzy
- interpreter.po                  24 /  27 ( 88.0% translated), 2 fuzzy
- introduction.po                 72 /  73 ( 98.0% translated), 1 fuzzy
- stdlib.po                       38 /  45 ( 84.0% translated)
- stdlib2.po                      39 /  45 ( 86.0% translated)
- venv.po                         27 /  28 ( 96.0% translated)
- whatnow.po                      15 /  18 ( 83.0% translated), 1 fuzzy

@humitos

humitos commented May 6, 2020

Copy link
Copy Markdown
Collaborator Author

Waaaa! Re copado! Si

@raulcd raulcd closed this in #91 May 6, 2020
@humitos humitos deleted the percentage-per-file branch May 6, 2020 17:02
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