示例#1
0
 /// <summary>
 /// 将字符串本地化(扩展方法)
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static string ToLocalized(this string str)
 {
     return(LocalizedDict.Localized(str));
 }
示例#2
0
 public static string t(this string str, params object[] p)
 {
     return(LocalizedDict.Localized(str, p));
 }