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