google / comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
https://google.github.io/comprehensive-rust/
Apache License 2.0
27.52k stars 1.64k forks source link

Chinese Simplified (zh-CN): Catch-up with EN version #2122

Open henrif75 opened 3 months ago

henrif75 commented 3 months ago

Translate remaining messages and review fuzzy translations. As of 6/5/24, current translation stats are:

zh-CN.po
2619 translated messages, 731 fuzzy translations, 423 untranslated messages.

Steps:

  1. Sync your branch with main.
  2. Recreate messages.pot:
    MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot", "granularity": 0}}' \
    mdbook build -d po
  3. Merge with the zh-CN.po file:
    msgmerge --update po/zh-CN.po po/messages.pot
  4. Edit the zh-CN.po file with your favorite PO editor.
mgeisler commented 2 weeks ago

The live translation delta can be seen in the synced translation report.