From: Jan Schneider Date: Sat, 1 Jan 2011 21:38:26 +0000 (+0100) Subject: Use sprintf(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40ceac82135198ee48a910df26eb459055ce9301;p=horde.git Use sprintf(). --- diff --git a/ansel/lib/Widget/Geotag.php b/ansel/lib/Widget/Geotag.php index 26d973475..a9346f4ae 100644 --- a/ansel/lib/Widget/Geotag.php +++ b/ansel/lib/Widget/Geotag.php @@ -154,7 +154,7 @@ class Ansel_Widget_Geotag extends Ansel_Widget_Base $imgsrc .= ''; $content .= sprintf(_("No location data present. Place using %s map %s or click on image to place at the same location."), $addLink, '') . $imgsrc; } else { - $content .= _("No location data present. You may add some ") . $addLink . _("here") . ''; + $content .= sprintf(_("No location data present. You may add some %s."), $addLink . _("here") . ''); } } else { // For now, just put up a notice. In future, maybe provide a link