Bug 941425 - Yearly rule "Last day of a month" can't be set with the UI and is wrongly displayed in the views. r=philipp, a=Paenglab
authorDecathlon <bv1578@gmail.com>
Sun, 07 Dec 2014 22:47:27 +0100
changeset 8379 d8f0379fbef3f1d3b12810b835a7ab5960e4ee5d
parent 8378 c18fbd874c2dc46e6bc986fd27b0fec2ee2c1921
child 8380 5f5f85e1fccade8289c4b745a46131e8e4fe4cfb
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersphilipp, Paenglab
bugs941425
Bug 941425 - Yearly rule "Last day of a month" can't be set with the UI and is wrongly displayed in the views. r=philipp, a=Paenglab X-Channel-Repo: comm-central X-Channel-Converted-Revision: aa932bf6d9abbe6ab4856dfc07332a21beac4df3
calendar/chrome/calendar/calendar-event-dialog.dtd
calendar/chrome/calendar/calendar-event-dialog.properties
--- a/calendar/chrome/calendar/calendar-event-dialog.dtd
+++ b/calendar/chrome/calendar/calendar-event-dialog.dtd
@@ -301,16 +301,17 @@
 <!ENTITY event.recurrence.yearly.last.label                  "The Last">
 <!ENTITY event.recurrence.pattern.yearly.week.1.label        "Sunday" >
 <!ENTITY event.recurrence.pattern.yearly.week.2.label        "Monday" >
 <!ENTITY event.recurrence.pattern.yearly.week.3.label        "Tuesday" >
 <!ENTITY event.recurrence.pattern.yearly.week.4.label        "Wednesday" >
 <!ENTITY event.recurrence.pattern.yearly.week.5.label        "Thursday" >
 <!ENTITY event.recurrence.pattern.yearly.week.6.label        "Friday" >
 <!ENTITY event.recurrence.pattern.yearly.week.7.label        "Saturday" >
+<!ENTITY event.recurrence.pattern.yearly.day.label           "day" >
 <!ENTITY event.recurrence.of.label                           "of" >
 <!ENTITY event.recurrence.pattern.yearly.month2.1.label      "January" >
 <!ENTITY event.recurrence.pattern.yearly.month2.2.label      "February" >
 <!ENTITY event.recurrence.pattern.yearly.month2.3.label      "March" >
 <!ENTITY event.recurrence.pattern.yearly.month2.4.label      "April" >
 <!ENTITY event.recurrence.pattern.yearly.month2.5.label      "May" >
 <!ENTITY event.recurrence.pattern.yearly.month2.6.label      "June" >
 <!ENTITY event.recurrence.pattern.yearly.month2.7.label      "July" >
--- a/calendar/chrome/calendar/calendar-event-dialog.properties
+++ b/calendar/chrome/calendar/calendar-event-dialog.properties
@@ -118,17 +118,17 @@ monthlyEveryOfEveryNounclass2=every %1$S
 # Edit recurrence window -> Recurrence pattern -> Monthly repeat rules
 # %1$S - day of month or a sequence of days of month, possibly followed by an ordinal symbol
 #        (depending on the string dayOrdinalSymbol in dateFormat.properties) separated with commas;
 # e.g. "days 3, 6 and 9" or "days 3rd, 6th and 9th"
 monthlyDaysOfNth_day=day %1$S;days %1$S
 
 # LOCALIZATION NOTE (monthlyDaysOfNth):
 # Edit recurrence window -> Recurrence pattern -> Monthly repeat rules
-# %1$S - it's the strig monthlyDaysOfNth_day: day of month or a sequence of days
+# %1$S - it's the string monthlyDaysOfNth_day: day of month or a sequence of days
 #        of month, possibly followed by an ordinal symbol, separated with commas;
 # #2   - monthly interval
 # e.g. "days 3, 6, 9 and 12 of every 3 months"
 monthlyDaysOfNth=%1$S of every month;%1$S of every #2 months
 
 # LOCALIZATION NOTE (monthlyLastDayOfNth):
 # Edit recurrence window -> Recurrence pattern -> Monthly repeat rules
 # %1$S - day of month
@@ -188,33 +188,42 @@ yearlyNthOn=every %1$S %2$S;every #3 yea
 # %2$S - weekday
 # %3$S - month
 # #4 - yearly interval
 # e.g. "the second Monday of every March"
 # e.g  "every 3 years the second Monday of March"
 yearlyNthOnNthOfNounclass1=%1$S %2$S of every %3$S;every #4 years on %1$S %2$S of %3$S
 yearlyNthOnNthOfNounclass2=%1$S %2$S of every %3$S;every #4 years on %1$S %2$S of %3$S
 
-# LOCALIZATION NOTE (yearlyOnEveryNthOfNthNounclass1):
+# LOCALIZATION NOTE (yearlyOnEveryNthOfNthNounclass...):
 # Edit recurrence window -> Recurrence pattern -> Yearly repeat rules
 # Translate these strings according to noun class/gender of weekday (%1$S)
 # set in 'repeadDetailsDay...Nounclass' strings.
 # Nounclass1 <-> Masculine gender; Nounclass2 <-> Feminine gender.
 # Add others strings with suffix 3, 4,... for others noun classes if your
 # language need them. In this case, corresponding strings must be added for
 # others rule strings with 'Nounclass...' suffix and corresponding values
 # "nounclass..." must be written in 'repeatDetailsDayxNounclass' strings.
 # %1$S - weekday
 # %2$S - month
 # #3 - yearly interval
 # e.g. "every Thursday of March"
 # e.g  "every 3 years on every Thursday of March"
 yearlyOnEveryNthOfNthNounclass1=every %1$S of %2$S;every #3 years on every %1$S of %2$S
 yearlyOnEveryNthOfNthNounclass2=every %1$S of %2$S;every #3 years on every %1$S of %2$S
 
+#LOCALIZATION NOTE (yearlyEveryDayOf):
+# Edit recurrence window -> Recurrence pattern -> Yearly repeat rules
+# This string describes part of a yearly rule which includes every day of a month.
+# %1$S - month
+# #2   - yearly interval
+# e.g. "every day of December"
+# e.g. "every 3 years every day of December"
+yearlyEveryDayOf=every day of %1$S;every #2 years every day of %1$S
+
 repeatDetailsMonth1=January
 repeatDetailsMonth2=February
 repeatDetailsMonth3=March
 repeatDetailsMonth4=April
 repeatDetailsMonth5=May
 repeatDetailsMonth6=June
 repeatDetailsMonth7=July
 repeatDetailsMonth8=August