From: Jan Schneider Date: Wed, 20 Jan 2010 18:36:31 +0000 (+0100) Subject: Use sprintf(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ccce4e22c1dde2473f12f5299e81f0e820d38beb;p=horde.git Use sprintf(). --- diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index d07f01af3..7c69420fc 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -303,11 +303,11 @@ class Kronolith 'ajax_recover' => _("The connection to the calendar server has been restored."), 'alarm' => _("Alarm:"), 'noalerts' => _("No Notifications"), - 'alerts' => str_replace('%d', '#{count}', _("%d notifications")), + 'alerts' => sprintf(_("%d notifications"), '#{count}'), 'hidelog' => _("Hide Notifications"), - 'week' => str_replace('%d', '#{week}', _("Week %d")), + 'week' => sprintf(_("Week %d"), '#{week}'), 'agenda' => _("Agenda"), - 'searching' => str_replace('%s', '#{term}', _("Events matching \"%s\"")), + 'searching' => sprintf(_("Events matching \"%s\""), '#{term}'), 'allday' => _("All day"), 'prefs' => _("Options"), 'no_url' => _("You must specify a URL."),