From: Jan Schneider Date: Mon, 10 May 2010 16:42:12 +0000 (+0200) Subject: Use date span instead of week number as week view title. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=85896e0c263aa4372d87d8371325c8b6c0619fc3;p=horde.git Use date span instead of week number as week view title. --- 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"),