Skip to content
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

TRANSLATORS comments ignored in Texinfo input? #162

Closed
civodul opened this issue Nov 28, 2018 · 3 comments
Closed

TRANSLATORS comments ignored in Texinfo input? #162

civodul opened this issue Nov 28, 2018 · 3 comments

Comments

@civodul
Copy link

civodul commented Nov 28, 2018

Hello!

It seems that TRANSLATORS comments in Texinfo input do not show up in PO templates. Here's an example: https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi#n104 . Am I missing something?

Thanks,
Ludo'.

@rffontenelle
Copy link
Contributor

rffontenelle commented Oct 15, 2019

Same here. Before finding this report, I emailed help-guix mailing list about it.

I even tried this sample texinfo file to see whether the issue was on the Guix file mentioned by Ludo, but it failed as well.

It seems lib/Locale/Po4a/Texinfo.pm has comment extraction implemented, though.

@rffontenelle
Copy link
Contributor

rffontenelle commented Oct 16, 2019

After reading the code more carefully, it seems to me that comments are being found in line 208 of Texinfo.pm by comparing the $line with the regexp $RE_COMMENT, but no action is actually applied to it, so comment lines are being ignored.

@rffontenelle
Copy link
Contributor

@mquinson Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants