Example #1
0
 public static string LocalizeString(int Id)
 {
     return(GUILocalizeStrings.Get(Id));
 }
Example #2
0
 public static string LocalizeString(string Id)
 {
     return(GUILocalizeStrings.Get(int.Parse(Id)));
 }
Example #3
0
        public static string FormatStringSingularPlural(string value, int multiFormatId)
        {
            int intValue = int.Parse(value);

            return(FormatStringSingularPlural(intValue, GUILocalizeStrings.Get(multiFormatId)));
        }
Example #4
0
 public static string FormatStringSingularPlural(int value, int multiFormatId)
 {
     return(FormatStringSingularPlural(value, GUILocalizeStrings.Get(multiFormatId)));
 }
Example #5
0
 public static string FormatString(int formatId, params object[] args)
 {
     return(string.Format(GUILocalizeStrings.Get(formatId), args));
 }
Example #6
0
 public static string FormatString(int formatId, object arg0, object arg1, object arg2)
 {
     return(string.Format(GUILocalizeStrings.Get(formatId), arg0, arg1, arg2));
 }
Example #7
0
 public override string GetModuleName()
 {
     return(GUILocalizeStrings.Get(100000 + GetID));
 }