[california] Fix translations for plural day/week/months: Bug #737040
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Fix translations for plural day/week/months: Bug #737040
- Date: Tue, 23 Sep 2014 22:07:09 +0000 (UTC)
commit ae7d4f9e11a219acf56732d087a17fa127b8b35c
Author: Jim Nelson <jim yorba org>
Date: Tue Sep 23 15:06:41 2014 -0700
Fix translations for plural day/week/months: Bug #737040
Similar to commit 2dc65a.
src/component/component-recurrence-rule.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/component/component-recurrence-rule.vala b/src/component/component-recurrence-rule.vala
index 153a4d2..abfffed 100644
--- a/src/component/component-recurrence-rule.vala
+++ b/src/component/component-recurrence-rule.vala
@@ -594,10 +594,10 @@ public class RecurrenceRule : BaseObject {
public string? explain(Calendar.Date start_date) {
switch (freq) {
case iCal.icalrecurrencetype_frequency.DAILY_RECURRENCE:
- return explain_daily(ngettext("day", "%d days", interval).printf(interval));
+ return explain_daily(ngettext("%d day", "%d days", interval).printf(interval));
case iCal.icalrecurrencetype_frequency.WEEKLY_RECURRENCE:
- return explain_weekly(ngettext("week", "%d weeks", interval).printf(interval));
+ return explain_weekly(ngettext("%d week", "%d weeks", interval).printf(interval));
case iCal.icalrecurrencetype_frequency.MONTHLY_RECURRENCE:
Gee.Set<ByRule> byrules = get_active_by_rules();
@@ -616,7 +616,7 @@ public class RecurrenceRule : BaseObject {
return explain_monthly_bymonthday(unit);
case iCal.icalrecurrencetype_frequency.YEARLY_RECURRENCE:
- return explain_yearly(ngettext("year", "%d years", interval).printf(interval), start_date);
+ return explain_yearly(ngettext("%d year", "%d years", interval).printf(interval),
start_date);
default:
return null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]