예제 #1
0
 public static string FormatString(int formatId, params object[] args)
 {
     return(string.Format(GUILocalizeStrings.Get(formatId), args));
 }
예제 #2
0
 public static string FormatString(int formatId, object arg0, object arg1, object arg2)
 {
     return(string.Format(GUILocalizeStrings.Get(formatId), arg0, arg1, arg2));
 }
예제 #3
0
 public static string LocalizeString(string Id)
 {
     return(GUILocalizeStrings.Get(int.Parse(Id)));
 }
예제 #4
0
 public static string LocalizeString(int Id)
 {
     return(GUILocalizeStrings.Get(Id));
 }
예제 #5
0
        public static string FormatStringSingularPlural(string value, int multiFormatId)
        {
            int intValue = int.Parse(value);

            return(FormatStringSingularPlural(intValue, GUILocalizeStrings.Get(multiFormatId)));
        }
예제 #6
0
 public static string FormatStringSingularPlural(int value, int multiFormatId)
 {
     return(FormatStringSingularPlural(value, GUILocalizeStrings.Get(multiFormatId)));
 }