-
Notifications
You must be signed in to change notification settings - Fork 282
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
Add custom update-pot target #1907
Conversation
While working on a separate localization bug, I noticed that `po/exiv2.pot` hasn't been updated since 2017, and that with the removal of the autotools build system there's no longer any way to update it. Add a simple `update-pot` target to do so, and bring `po/POTFILES.in` up to date with the current source tree. I haven't updated `po/exiv2.pot` itself because that would be a large diff, though I've checked that the output looks reasonable. I suggest that maintainers do this.
Codecov Report
@@ Coverage Diff @@
## main #1907 +/- ##
==========================================
+ Coverage 60.87% 61.13% +0.26%
==========================================
Files 96 96
Lines 19041 19051 +10
Branches 9726 9729 +3
==========================================
+ Hits 11591 11647 +56
+ Misses 5138 5090 -48
- Partials 2312 2314 +2
Continue to review full report at Codecov.
|
@cjwatson: Thanks for this! I don't know anything about pot files, so please can you confirm that this is what you recommend we do: mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DEXIV2_ENABLE_NLS=ON ..
make
make update-pot Then check in the updated version of |
Update copyright and bug-address
@kevinbackhouse Yes, that all seems about right. (It probably doesn't need most of those options, though at least |
While working on a separate localization bug, I noticed that
po/exiv2.pot
hasn't been updated since 2017, and that with the removalof the autotools build system there's no longer any way to update it.
Add a simple
update-pot
target to do so, and bringpo/POTFILES.in
upto date with the current source tree.
I haven't updated
po/exiv2.pot
itself because that would be a largediff, though I've checked that the output looks reasonable. I suggest
that maintainers do this.