-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip large code blocks in Bare-metal Rust #1327
Comments
Please sign me up for this one, I'd like to give it a go. |
Hi @0scvr, that's amazing! Thanks! |
Closes google#1327 Signed-off-by: 0scvr <[email protected]>
…1339) See #1327 Removes 280 lines from `messages.pot`. Signed-off-by: 0scvr <[email protected]>
Should we close this now? |
By replacing comments and strings inside the codeblocks we can probably improve this further but I don't think it's worth the effort, unless there's a real need. I think this can be closed for now. |
I have #531 as a long-shot approach for this: if we could get But I agree, let's close this one now that you've cleaned up most of the strings. Thanks a lot! |
I just remembered that we also have google/mdbook-i18n-helpers#95 which is a better long-term solution: we could only extract comments and literal strings from the code. |
As part of #1257, we should skip the large and mostly untranslatable code blocks found in Bare-metal Rust.
To do this, simply add
before the code block. Notice how the code disappears from
messages.pot
when you run@qwandor, fyi.
The text was updated successfully, but these errors were encountered: