mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-05 00:57:29 +02:00
This updates each PO file to the date when it was last touched: for po_file in po/*.po; do POT_DATE=$(git log -1 --date=short --format=%ad $po_file) sed -i -e 's/"POT-Creation-Date:.*"/"POT-Creation-Date: '$POT_DATE'\\n"/' $po_file done The dates will be updated with `msgmerge` in the future via https://github.com/google/mdbook-i18n-helpers/pull/87. The dates here can be adjusted by hand if needed — the starting point here only serves as a rough anchor to let us freeze the translations from further updates. So if you know that you ran `msgmerge` most recently on a given date, please update the file to that date in a later PR.