fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-04-22 01:33 pm

[dw-free] Backed out changeset 204e47331314

[commit: http://hg.dwscoalition.org/dw-free/rev/21ed52de8ace]

Backed out changeset 204e47331314

Files modified:
  • bin/upgrading/s2layers/core2.s2
--------------------------------------------------------------------------------
diff -r 204e47331314 -r 21ed52de8ace bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2	Thu Apr 22 06:10:35 2010 -0700
+++ b/bin/upgrading/s2layers/core2.s2	Thu Apr 22 06:38:04 2010 -0700
@@ -2394,12 +2394,6 @@ property string text_nosubject {
     note = "This only appears in places where a subject line is required, such as on a month view.";
 }
 
-property string text_calendar_num_entries {
-    des = "Text to show how many entries were made on a particular day";
-    format = "plurals";
-    example = "1 entry // # entries";
-}
-
 set text_default_separator = " | ";
 set text_view_month = "View Subjects";
 set text_generated_on = "Page generated";
@@ -2408,7 +2402,6 @@ set text_layout_resources = "Resources:"
 set text_layout_resources = "Resources:";
 set text_posting_in = " posting in ";
 set text_nosubject = "(no subject)";
-set text_calendar_num_entries = "1 entry // # entries";
 
 property bool all_entrysubjects {
     des = "For all entries, display the replacement text when no subject is specified";
@@ -3765,11 +3758,10 @@ function print_module_calendar() {
         foreach var YearWeek week ($mon.weeks) {
             foreach var YearDay day ($week.days) {
                 if ($day.num_entries > 0) {
-                    var string entries = get_plural_phrase($day.num_entries, "text_calendar_num_entries");
-                    print """<span class="entry-day"> <a href="$day.url" title="$entries">$day.day</a></td>""";
+                    print """<span class="entry-day"> <a href="$day.url">$day.day</a> </span>""";
                 }
                 else {
-                    print """<span class="empty-day"> $day.day </span>""";
+                print """<span class="empty-day"> $day.day </span>""";
                 }
             }
         }
@@ -3794,12 +3786,11 @@ function print_module_calendar() {
             }
 
             foreach var YearDay day ($week.days) {
-                if ( $day.num_entries > 0) {
-                    var string entries = get_plural_phrase($day.num_entries, "text_calendar_num_entries");
-                    print """<td class="entry-day"> <a href="$day.url" title="$entries">$day.day</a></td>""";
+                if ($day.num_entries > 0) {
+                    print """<td class="entry-day"><a href="$day.url">$day.day</a></td>""";
                 }
                 else {
-                    print """<td class="empty-day">$day.day</td>""";
+                print """<td class="empty-day">$day.day</td>""";
                 }
             }
 
--------------------------------------------------------------------------------