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

13 Commits

Author SHA1 Message Date
Martin Geisler
e55361233e
da: refresh translation (#1118)
Clean update of the file, no new translations.

Part of #286.
2023-08-24 15:06:27 -07:00
Martin Geisler
cc9a672baf
da: normalize with mdbook-i18n-helpers 0.2.2 (#1111)
Before, po/da.po had these statistics:

279 translated messages, 26 fuzzy translations, 1476 untranslated
messages.

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

244 translated messages, 22 fuzzy translations, 2201 untranslated
messages.

The number of translated messages changed from 16% to 10%.

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:10:04 -07:00
Per Larsen
2f77996d0f
da: Complete translations for SUMMARY.md (#923)
* da: Complete translations for SUMMARY.md

* Apply suggestions from code review

---------

Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-07-10 08:30:58 +00:00
Martin Geisler
6920a4787b
da: Sync translation (#714)
* da: Sync translation

This resulted in some rewrapped strings due to how `msgmerge` wraps
the strings compared to how `mdbook-xgettext` extracts them.

I also translated a few strings.

* Apply suggestions from code review
2023-05-30 14:34:35 +00:00
Martin Geisler
de5f796da4
da: Small fixes from #646 (#648) 2023-05-22 19:44:53 +02:00
Martin Geisler
06e4f7843f
da: Translate pages about threads (#649) 2023-05-22 14:47:35 +02:00
Martin Geisler
98f3e6bf81
da: Translate most small messages (#646)
This copies a bunch of untranslatable page titles (such as crate
names) to the translation. I also translated a lot of small and fuzzy
entries. We should now be at 200 translated entries.
2023-05-19 07:44:51 -07:00
Per Larsen
add35bab8c
da: Additional translations (#644) 2023-05-19 14:23:49 +00:00
Martin Geisler
6e9b02e5f4
da: Sync translation with c45b350 (#616)
da: sync with c45b350

This is the result of running

    MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
    msgmerge --update po/da.po po/messages.pot
2023-05-18 06:59:45 -07:00
Per Larsen
c45b35011c
da: Update translation (#632)
A few more translations in order for me to get my feet wet.
2023-05-15 11:46:33 +00:00
Dustin J. Mitchell
ba28dd2d4c
Parse Markdown in mdbook-xgettext (#449)
* Parse Markdown to support translation.

This upgrades from just splitting Markdown files on double-newlines, to
using a Markdown parser to break them into more appropriate chunks. The
upshot is that code samples are all in one message, lists are bundled
together, and generally it should be easier to translate.

* [WIP] helper to update po files for new translation

* process synthetic input file-by-file

* review comments

* remove temporary code

* fix msgfmt lints
2023-03-07 18:07:07 +00:00
Jooyung Han
7bddf5e6d6
Remove Last-* properties in po/ko.po (#468)
* Remove Last-* properties in po/ko.po

* Remove Last* properties in other po files

---------

Co-authored-by: Jooyung Han <jooyung@google.com>
2023-03-01 20:57:47 +09:00
Martin Geisler
2de9c0dae8 Start a Danish translation 2023-01-18 16:12:53 +01:00