diff options
author | Johnny A. Solbu <johnny@solbu.net> | 2023-01-14 19:41:17 +0100 |
---|---|---|
committer | Johnny A. Solbu <johnny@solbu.net> | 2023-01-14 19:41:17 +0100 |
commit | 7576711520529ba7881da849a2ce661a59100670 (patch) | |
tree | 6ed78f8b724f1ca66abb4e24399905b722bf2205 /mk-pot | |
parent | bd4a8d6e58da63d140bcfa85771e2737f60da9bb (diff) | |
download | remove-old-kernels-7576711520529ba7881da849a2ce661a59100670.tar remove-old-kernels-7576711520529ba7881da849a2ce661a59100670.tar.gz remove-old-kernels-7576711520529ba7881da849a2ce661a59100670.tar.bz2 remove-old-kernels-7576711520529ba7881da849a2ce661a59100670.tar.xz remove-old-kernels-7576711520529ba7881da849a2ce661a59100670.zip |
mk-pot: Update po-files at the same time
Diffstat (limited to 'mk-pot')
-rwxr-xr-x | mk-pot | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -56,3 +56,12 @@ cat pot_header.txt > po/remove-old-kernels.pot cat pot-temp2 >> po/remove-old-kernels.pot # Delete all tmp files rm -f pot-temp* + +# Add date and time for last pot file change +sed -i "s/POT-Creation-Date: /&$(date '+%F %R%z')/" po/remove-old-kernels.pot + +# Update po files with any string changes from the pot file +echo "Updating *.po files with any string changes" +pushd po +make update-po +popd |