public LocalizedEntry(LocalizationFile.DataEntry locaEntry, LocalizationDB db) { var finalText = locaEntry.Value; //the space after <n> is intended, otherwise there is an empty space after new line (dunno why) Text = finalText.Replace("<n> ", "\n").Trim(); RawText = locaEntry.Value; }
private LocalizedEntry CreateLocalizedData(LocalizationFile.DataEntry data) { return(new LocalizedEntry(data, this)); }