Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Base progress calculations on external file structure #132

Open
m-aciek opened this issue Mar 4, 2023 · 2 comments
Open

Base progress calculations on external file structure #132

m-aciek opened this issue Mar 4, 2023 · 2 comments

Comments

@m-aciek
Copy link

m-aciek commented Mar 4, 2023

I'd like to propose a feature of comparing the PO files in local directory to POT files in external directory. It could be helpful in calculating the progress in situations where resources with not started translation are missing in the local directory.

Example:

% potodo --base ../cpython/Doc/_build/gettext
# c-api (10.53% done)

- (missing) abstract.pot           0 /   3 (  0.0% translated)
- allocation.po                    2 /   9 ( 22.0% translated)
- apiabiversion.po                 4 /  38 ( 10.0% translated)
- arg.po                          23 / 195 ( 11.0% translated)
- buffer.po                        2 / 105 (  1.0% translated)
- bytes.po                         3 /  60 (  5.0% translated)
- call.po                          1 /  95 (  1.0% translated)

…

# TOTAL (9.45% done)
@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 5, 2023

That definitely could be done. Would you have time to work on it and open a pull request ? I'd review it with pleasure

@m-aciek
Copy link
Author

m-aciek commented Mar 6, 2023

I have the intention, but I am not sure if I'll find the time for it soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants