MFB: Gettext improvment.
authorJan Schneider <jan@horde.org>
Sat, 12 Sep 2009 11:00:59 +0000 (13:00 +0200)
committerJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 16:34:13 +0000 (18:34 +0200)
ansel/lib/Ajax/Imple/ImageSaveGeotag.php

index 11a3bfa..3ed59fb 100644 (file)
@@ -80,9 +80,9 @@ class Ansel_Ajax_Imple_ImageSaveGeotag extends Horde_Ajax_Imple_Base
                     $imgsrc .= Horde::link($addurl, $title, '', '', "setLocation('" . $data['image_latitude'] . "', '" . $data['image_longitude'] . "');return false") . '<img src="' . Ansel::getImageUrl($id, 'mini', true) . '" alt="[image]" /></a>';
                 }
                 $imgsrc .= '</div>';
-                $content = sprintf(_("No location data present. Place using %s map %s or click on image to place at the same location."), $addLink, '</a>') . $imgsrc;
+                $content = sprintf(_("No location data present. Place using %smap%s or click on image to place at the same location."), $addLink, '</a>') . $imgsrc;
             } else {
-                $content = _("No location data present. You may add some ") . $addLink . _("here") . '</a>';
+                $content = sprintf(_("No location data present. You may add some %s."), $addLink . _("here") . '</a>');
             }
 
             return array('response' => 1, 'message' => $content);