1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-17 07:11:27 +02:00
comprehensive-rust/src/exercises
Martin Geisler d0e0e5c1af
Skip some untranslatable code blocks (#1258)
This builds on the work of @dyoo in
https://github.com/google/mdbook-i18n-helpers/pull/69: by adding a
special `<!-- mdbook-xgettext: skip -->` comment, we can skip the
following code block.

I also modified a few code blocks to remove translatable text: variable
names are not expected to be translated, so it’s fine to have a line
with `println!("foo: {foo}")` in the code block.

This PR removes 36 messages from the POT file. The number of lines drop
by 633 (3%).

Part of #1257.
2023-09-26 17:04:46 +02:00
..
android Cleanup references to "Day 4" (#603) 2023-05-02 08:02:28 +02:00
bare-metal Italic filenames formatted accordingly (#1259) 2023-09-26 15:15:41 +02:00
concurrency Italic filenames formatted accordingly (#1259) 2023-09-26 15:15:41 +02:00
day-1 Skip some untranslatable code blocks (#1258) 2023-09-26 17:04:46 +02:00
day-2 Add solution for Health Statistics exercise (#1172) 2023-09-26 09:29:00 +02:00
day-3 Trim off licenses when showing solutions (#1212) 2023-09-18 11:56:55 +02:00
Cargo.toml Add solution for Health Statistics exercise (#1172) 2023-09-26 09:29:00 +02:00
solutions.md Trim off licenses when showing solutions (#1212) 2023-09-18 11:56:55 +02:00