public override string GetLocalizedString(PreviewStringId id) { int k = id.GetHashCode(); if (hash.Contains(k)) { return(hash[k].ToString()); } else { return(base.GetLocalizedString(id)); } }
public override string GetLocalizedString(PreviewStringId id) { int k = id.GetHashCode(); if (hash.Contains(k)) { return(hash[k].ToString()); } else { Translation.updateDictionary("PRV", k.ToString(), base.GetLocalizedString(id).Replace("'", "`")); hash.Add(k, base.GetLocalizedString(id)); return(base.GetLocalizedString(id)); } }