// Localise a comma-separated days string. I don't think this is the right way to do it. Really // the data structures should keep the days as an array of bools or list of ints or something and // only translate on input and output, but that would require too much rewriting now. (CA-51612) public static string L10NDays(string days, DaysMode mode) { DaysWeekCheckboxes dwc = new DaysWeekCheckboxes(); dwc.Days = days; return(dwc.DaysToString(mode)); }
// Localise a comma-separated days string. I don't think this is the right way to do it. Really // the data structures should keep the days as an array of bools or list of ints or something and // only translate on input and output, but that would require too much rewriting now. (CA-51612) public static string L10NDays(string days, DaysMode mode) { DaysWeekCheckboxes dwc = new DaysWeekCheckboxes(); dwc.Days = days; return dwc.DaysToString(mode); }