コード例 #1
0
            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;
            }
コード例 #2
0
 private LocalizedEntry CreateLocalizedData(LocalizationFile.DataEntry data)
 {
     return(new LocalizedEntry(data, this));
 }