public override void WriteEntry(KeywordMatchGroup match) { _writer.WriteStartElement("data"); _writer.WriteAttributeString("name", match.Singular); _writer.WriteAttributeString("xml", "space", null, "preserve"); _writer.WriteStartElement("value"); _writer.WriteEndElement(); _writer.WriteEndElement(); }
public override void WriteEntry(KeywordMatchGroup match) { _writer.WriteStartElement("data"); _writer.WriteAttributeString("name", match.Singular); _writer.WriteAttributeString("xml", "space", null, "preserve"); _writer.WriteStartElement("value"); _writer.WriteEndElement(); _writer.WriteEndElement(); }
public override void WriteEntry(KeywordMatchGroup match) { foreach (var source in match.Sources) { _writer.WriteLine("#: {0}:{1}", source.FileName, source.LineIndex + 1); } if (match.Context != null) _writer.WriteLine("msgctxt \"{0}\"", match.Context); _writer.WriteLine("msgid \"{0}\"", match.Singular); if (match.Plural != null) { _writer.WriteLine("msgid_plural \"{0}\"", match.Plural); _writer.WriteLine("msgstr[0] \"\""); _writer.WriteLine("msgstr[1] \"\""); } else { _writer.WriteLine("msgstr \"\""); } _writer.WriteLine(); }
public override void WriteEntry(KeywordMatchGroup match) { foreach (var source in match.Sources) { _writer.WriteLine("#: {0}:{1}", source.FileName, source.LineIndex + 1); } if (match.Context != null) { _writer.WriteLine("msgctxt \"{0}\"", match.Context); } _writer.WriteLine("msgid \"{0}\"", match.Singular); if (match.Plural != null) { _writer.WriteLine("msgid_plural \"{0}\"", match.Plural); _writer.WriteLine("msgstr[0] \"\""); _writer.WriteLine("msgstr[1] \"\""); } else { _writer.WriteLine("msgstr \"\""); } _writer.WriteLine(); }
public abstract void WriteEntry(KeywordMatchGroup match);
public abstract void WriteEntry(KeywordMatchGroup match);