From 85896e0c263aa4372d87d8371325c8b6c0619fc3 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 10 May 2010 18:42:12 +0200 Subject: [PATCH] Use date span instead of week number as week view title. --- kronolith/js/kronolith.js | 2 +- kronolith/lib/Kronolith.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index d5ff3b868..9cc8630b2 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -558,7 +558,7 @@ KronolithCore = { $('kronolithViewWeek') .down('caption span') - .update(this.setTitle(Kronolith.text.week.interpolate({ week: date.getRealWeek() }))); + .update(this.setTitle(dates[0].toString('d') + ' - ' + dates[1].toString('d'))); for (i = 0; i < 24; i++) { day = dates[0].clone(); diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index cd527b77c..28db1dfc1 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -349,7 +349,6 @@ class Kronolith 'noalerts' => _("No Notifications"), 'alerts' => sprintf(_("%s notifications"), '#{count}'), 'hidelog' => _("Hide Notifications"), - 'week' => sprintf(_("Week %s"), '#{week}'), 'agenda' => _("Agenda"), 'searching' => sprintf(_("Events matching \"%s\""), '#{term}'), 'allday' => _("All day"), -- 2.11.0