Parse message context from gettext.

This commit is contained in:
2019-05-24 01:13:07 +01:00
parent 040e1fccf4
commit 8ab678166e

View File

@@ -207,6 +207,12 @@ namespace Claunia.Localization.Parsers
continue;
}
if(line.StartsWith("msgctxt ", StringComparison.Ordinal))
{
currentContext = line.Substring(7, line.Length - 8);
continue;
}
if(line[0] == '"')
{
if(currentMsgId != string.Empty)