Beispiel #1
0
            public override string GetLocalizedString(ReportStringId id)
            {
                int k = id.GetHashCode();

                if (hash.Contains(k))
                {
                    return(hash[k].ToString());
                }
                else
                {
                    return(base.GetLocalizedString(id));
                }
            }
Beispiel #2
0
            public override string GetLocalizedString(ReportStringId id)
            {
                int k = id.GetHashCode();

                if (hash.Contains(k))
                {
                    return(hash[k].ToString());
                }
                else
                {
                    Translation.updateDictionary("UDRPT", k.ToString(), base.GetLocalizedString(id).Replace("'", "`"));
                    hash.Add(k, base.GetLocalizedString(id));
                    return(base.GetLocalizedString(id));
                }
            }