Skip to content
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

update-po: Update/no changes report #333

Open
1 task done
strarsis opened this issue Jul 18, 2022 · 1 comment
Open
1 task done

update-po: Update/no changes report #333

strarsis opened this issue Jul 18, 2022 · 1 comment

Comments

@strarsis
Copy link
Contributor

strarsis commented Jul 18, 2022

Feature Request

Describe your use case and the problem you are facing
(Side note: The new update-po subcommand is awesome!)

Currently it will report that the PO files were updated, even they hadn't changed (because the POT file hadn't changed).

Describe the solution you'd like
update-po should either report updated files or files that didn't need an update/changing.

Some examples:

Success: Updated 0 files. 1 file unchanged.
Success: Updated 1 file.
Success: Updated 4 files. 2 files unchanged.

This also helps spotting the need for adding/updating translations without using something like a diff tool or inspecting the last modified date of the POT file(s).

@swissspidy
Copy link
Member

Thanks for sharing this suggestion 👍

Would need to check if it's easily possible to detect changes/modifications like that.

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

No branches or pull requests

2 participants