Parse message context from gettext.
This commit is contained in:
@@ -207,6 +207,12 @@ namespace Claunia.Localization.Parsers
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(line.StartsWith("msgctxt ", StringComparison.Ordinal))
|
||||||
|
{
|
||||||
|
currentContext = line.Substring(7, line.Length - 8);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(line[0] == '"')
|
if(line[0] == '"')
|
||||||
{
|
{
|
||||||
if(currentMsgId != string.Empty)
|
if(currentMsgId != string.Empty)
|
||||||
|
|||||||
Reference in New Issue
Block a user