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

6 Commits

Author SHA1 Message Date
Martin Geisler
98f5f9a88f
Revert "Fix typo: missing n in unknown" (#1347)
Reverts google/comprehensive-rust#1344.

The edit to the Markdown file has been kept since we _do_ want to fix
the typo!
2023-10-11 11:47:04 +00:00
Noam Zaks
4eebe43f3b
Fix typo: missing n in unknown (#1344) 2023-10-11 11:30:19 +01:00
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
00b8b969e0
id: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1127)
Part of #330, #282, #439
2023-08-26 16:29:24 +02:00
Martin Geisler
d856820869
id: normalize with mdbook-i18n-helpers 0.2.2 (#1106)
Before, po/id.po had these statistics:

32 translated messages, 4 fuzzy translations, 1745 untranslated
messages.

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

32 translated messages, 3 fuzzy translations, 2432 untranslated
messages.

The number of translated messages changed from 2% to 1%.

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:13:08 -07:00
Arsile
617599e617
id: Working on SUMMARY.md translations (#780) 2023-06-08 10:49:18 +02:00