public string GetString_NORMAL(string key) { foreach (string locale in GetLocaleOrder()) { LocaleTable locale_table = GetLocaleTable(locale); if (null != locale_table) { string content = null; if (locale_table.TryGetValue(key, out content)) { return(content); } } } return(null); }
public string GetString_TIP(string key) { StringBuilder sb = new StringBuilder(); foreach (string locale in GetLocaleOrder()) { LocaleTable locale_table = GetLocaleTable(locale); if (null != locale_table) { string content = null; if (locale_table.TryGetValue(key, out content)) { sb.AppendLine(content); sb.AppendLine(); } } } return(sb.ToString().TrimEnd()); }