summaryrefslogtreecommitdiffstats
path: root/artists.php
diff options
context:
space:
mode:
authormomo-i <webmaster@momo-i.org>2011-12-27 15:39:53 +0900
committermomo-i <webmaster@momo-i.org>2011-12-27 15:39:53 +0900
commit6a31888666518b73c3b3f8e7658c79f76eb5775d (patch)
tree8fdfe07d08469ace8c1ef0f1bc95425f94508f5c /artists.php
parent077f55fba44d8da19ba93113f0fb0652e14f838f (diff)
downloadampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.tar.gz
ampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.tar.bz2
ampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.zip
Fixed messages translatable.
Diffstat (limited to 'artists.php')
-rw-r--r--artists.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/artists.php b/artists.php
index f43c91dc..83e91427 100644
--- a/artists.php
+++ b/artists.php
@@ -75,15 +75,15 @@ switch($_REQUEST['action']) {
$that_artist->merge($artist->id);
$count++;
} else
- $GLOBALS['error']->add_error('general',"Error: No such artist '$artist_id'");
+ $GLOBALS['error']->add_error('general', sprintf(_('Error: No such artist \'%s\''), $artist_id));
} else {
- $GLOBALS['error']->add_error('general',"Error: '$artist_id' is not a valid ID");
+ $GLOBALS['error']->add_error('general', sprintf(_('Error: \'%s\' is not a valid ID'), $artist_id));
}
}
else
- $GLOBALS['error']->add_error('general',"Error: No such artist '" . $_REQUEST['artist'] . "'");
+ $GLOBALS['error']->add_error('general', sprintf(_('Error: No such artist \'%s\''), $_REQUEST['artist']));
} else {
- $GLOBALS['error']->add_error('general',"Error: Errenous request");
+ $GLOBALS['error']->add_error('general',_("Error: Errenous request"));
}
if ($count > 0) {
show_confirmation (