1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-26 07:52:20 +02:00
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
..
2023-09-05 20:21:59 +00:00
2023-03-30 13:25:34 +01:00
2023-05-23 12:57:38 +00:00
2023-07-18 13:32:45 +02:00
2023-04-24 14:46:38 -04:00
2023-07-17 22:38:48 -07:00
2023-05-03 12:00:58 +02:00
2023-04-14 14:06:50 +00:00
2022-12-21 16:38:28 +01:00
2023-07-12 09:43:02 -07:00
2022-12-21 16:38:28 +01:00
2022-12-21 16:38:28 +01:00
2023-07-25 08:54:41 +02:00
2023-01-23 12:44:07 +00:00
2022-12-21 16:38:28 +01:00
2022-12-21 16:38:28 +01:00
2023-03-30 13:25:34 +01:00
2023-01-30 13:12:51 +00:00
2022-12-21 16:38:28 +01:00
2023-01-17 11:42:31 +00:00