1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-16 14:53:28 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Martin Geisler
b3bcaacb70
Set POT-Creation-Date field in PO files (#1252)
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.
2023-09-25 16:38:03 +02:00
Henri Fontana
e6c1974000
pl: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1129)
Part of #330, #282, #399
2023-08-26 16:34:23 +02:00
Martin Geisler
0f0e29bef3
pl: normalize with mdbook-i18n-helpers 0.2.2 (#1103)
Before, po/pl.po had these statistics:

441 translated messages, 713 fuzzy translations, 627 untranslated
messages.

Afterwards, the statistics for po/pl.po is:

666 translated messages, 882 fuzzy translations, 919 untranslated
messages.

The number of translated messages changed from 25% to 27%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
2023-08-23 11:15:04 -07:00
Kuba
4ed75d6b65
pl: Add mostly-machine-translated Polish translation (#688) 2023-06-22 10:18:29 +02:00