Changeset 249


Ignore:
Timestamp:
3/11/2008 3:07:52 PM (6 years ago)
Author:
lowjoel
Message:

Use separate strings for singular and plural forms. This is more translatable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Manager/Schedule.cs

    r241 r249  
    133133                            result += "Sunday, "; 
    134134 
    135                         result += string.Format("once every {0} week{1}.", frequency, 
    136                             frequency == 1 ? "s" : ""); 
     135                        result += frequency == 1 ? 
     136                            string.Format("once every {0} week.", frequency) : 
     137                            string.Format("once every {0} weeks.", frequency); 
    137138                        break; 
    138139                    case ScheduleUnit.MONTHLY: 
Note: See TracChangeset for help on using the changeset viewer.