Base progress calculations on external file structure #4

Open
opened 2023-03-28 08:15:17 +00:00 by maciek · 0 comments

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)

Migrated from https://github.com/AFPy/Potodo/issues/132.

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) ``` Migrated from https://github.com/AFPy/Potodo/issues/132.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AFPy/potodo#4
No description provided.