1
Vote

msgctxt is not parsed correctly while importing .po files.

description

The regular expression at line 34 of PoResourceImporter.cs does not contain a capture group set of parenthesis, so the usage of rgxContext at line 187 will never contain a Groups[1].
 
Please change line 34 to:
 
              rgxContext = new Regex("msgctxt \"(.*)\"");
 
To enable proper msgctxt parsing from .po files during import. A patch is attached to this report.
 
Thanks.

file attachments

comments