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
javad-jafari
09b565f62b
feat:add fa line of tans (#1396)
Co-authored-by: danny <danykhosravi@gmail.com>
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-21 12:08:02 +03:30
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
Martin Geisler
a0f2499bb8
fa: normalize with mdbook-i18n-helpers 0.2.2 (#1108)
Before, po/fa.po had these statistics:

300 translated messages, 4 fuzzy translations, 1477 untranslated
messages.

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

291 translated messages, 6 fuzzy translations, 2170 untranslated
messages.

The number of translated messages changed from 17% to 12%.

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:12:12 -07:00
Danny Khosravi
c674d392a4
fa: Add Persian/Farsi language (#1042)
* A partial translation into Farsi
2023-08-09 10:01:02 +01:00