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

9 Commits

Author SHA1 Message Date
Martin Geisler
e82516f874
bn: refresh translation for January 2024 (#1743)
This is a clean refresh, requires only a syntactical review.
2024-01-29 10:52:47 +01:00
Martin Geisler
4560ee8484
Format all PO files with dprint (#1359)
This enforces a consistent formatting for the PO files. The goal of this
is to avoid large diffs due to random and unnecessary reformatting.

We use the format of `msgcat`: this is also waht `msgmerge` produces and
it’s easy to replicate for people by installing Gettext and running
`dprint fmt`.

This is a follow-up to #1351 which started enforcing that the `msgid`
fields don’t change due to reformatting in a PR.

If this turns out to be cumbersome, then we can disable it again.
2023-10-14 12:53:18 +02: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
Md. Rasel Mandol
4c08d2c399
bn: Refresh most strings (#1162)
After PR #1124 , many source strings have been changed. Fixed most of
them.
2023-09-05 18:50:42 +01:00
Henri Fontana
2d5a121c0e
bn: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1124)
Part of #330
2023-08-26 16:26:36 +02:00
Martin Geisler
7b97f5bcc6
bn: normalize with mdbook-i18n-helpers 0.2.2 (#1112)
Before, po/bn.po had these statistics:

328 translated messages, 35 fuzzy translations, 1418 untranslated
messages.

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

351 translated messages, 42 fuzzy translations, 2074 untranslated
messages.

The number of translated messages changed from 18% to 14%.

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:09:33 -07:00
Md. Rasel Mandol
8d33b7c7ac
bn: Fixed and removed some translations. (#740) 2023-06-04 18:03:10 +01:00
Md. Rasel Mandol
b6be5bca16
bn: Fixed some translations and added more (#685)
* Add files via upload

Added Bengali translation (bn.po) file
2023-05-30 14:31:38 +01:00
Md. Rasel Mandol
d73de18c2b
bn: Add Bengali file with ~150 translations (#662) 2023-05-24 15:04:44 +01:00