~ubuntu-branches/ubuntu/utopic/unity-place-files/utopic

« back to all changes in this revision

Viewing changes to src/utils.vala

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-24 11:43:09 UTC
  • Revision ID: james.westby@ubuntu.com-20100824114309-m7wfhzokn8yo41jq
Tags: 0.5.16-0ubuntu2
Backport the i18n support so the place can be translated

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
      switch (month)
99
99
        {
100
100
          case DateMonth.BAD_MONTH:
101
 
            return "Invalid Month";
 
101
            return _("Invalid Month");
102
102
          case DateMonth.JANUARY:
103
 
            return "January";
 
103
            return _("January");
104
104
          case DateMonth.FEBRUARY:
105
 
            return "February";
 
105
            return _("February");
106
106
          case DateMonth.MARCH:
107
 
            return "March";
 
107
            return _("March");
108
108
          case DateMonth.APRIL:
109
 
            return "April";
 
109
            return _("April");
110
110
          case DateMonth.MAY:
111
 
            return "May";
 
111
            return _("May");
112
112
          case DateMonth.JUNE:
113
 
            return "June";
 
113
            return _("June");
114
114
          case DateMonth.JULY:
115
 
            return "July";
 
115
            return _("July");
116
116
          case DateMonth.AUGUST:
117
 
            return "August";
 
117
            return _("August");
118
118
          case DateMonth.SEPTEMBER:
119
 
            return "September";
 
119
            return _("September");
120
120
          case DateMonth.OCTOBER:
121
 
            return "October";
 
121
            return _("October");
122
122
          case DateMonth.NOVEMBER:
123
 
            return "November";
 
123
            return _("November");
124
124
          case DateMonth.DECEMBER:
125
 
            return "December";
 
125
            return _("December");
126
126
        }
127
127
        
128
128
      return "Internal Error";