From 40ceac82135198ee48a910df26eb459055ce9301 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sat, 1 Jan 2011 22:38:26 +0100 Subject: [PATCH] Use sprintf(). --- ansel/lib/Widget/Geotag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0