We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Trying to extract the multine comment that goes as this:
/* TRANSLATORS: Line 1 Line 2 */ pgettext('context', 'key')
Using the following options for comments:
comments
{ // take the comment from the preceding line otherLineLeading: true, // run the comment through regex regex: /TRANSLATORS\:\s*(.*)/m };
It works for single line comments but not for multiline ones. Any idea how to tackle this?
Same happens if I remove the regex option and only leave the otherLineLeading: true
regex
otherLineLeading: true
The text was updated successfully, but these errors were encountered:
Hi, as stated in the wiki, multiline comments are currently not supported. I will look into adding this feature with the next release.
In the meantime, as a workaround you could use multiple single line comments:
// TRANSLATORS: Line 1 // TRANSLATORS: Line 2 pgettext('context', 'key')
Sorry, something went wrong.
Hi, as stated in the wiki, multiline comments are currently not supported.
Ugh my bad, it seems that I've missed this mention.
No branches or pull requests
Hi,
Trying to extract the multine comment that goes as this:
Using the following options for
comments
:It works for single line comments but not for multiline ones. Any idea how to tackle this?
Same happens if I remove the
regex
option and only leave theotherLineLeading: true
The text was updated successfully, but these errors were encountered: