示例#1
0
    static string GetStringFromDefinition(LocalizableString localizable)
    {
        if (localizable.IsPlural() == false)
        {
            return("");
        }

        return(String.Format("\t\tCatalog.GetPluralString (\"{0}\",\n\t\t\t\"{1}\",\n\t\t\t{2});\n",
                             localizable.String,
                             localizable.PluralString,
                             "0"));
    }