diff options
author | momo-i <webmaster@momo-i.org> | 2011-12-27 15:39:53 +0900 |
---|---|---|
committer | momo-i <webmaster@momo-i.org> | 2011-12-27 15:39:53 +0900 |
commit | 6a31888666518b73c3b3f8e7658c79f76eb5775d (patch) | |
tree | 8fdfe07d08469ace8c1ef0f1bc95425f94508f5c | |
parent | 077f55fba44d8da19ba93113f0fb0652e14f838f (diff) | |
download | ampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.tar.gz ampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.tar.bz2 ampache-6a31888666518b73c3b3f8e7658c79f76eb5775d.zip |
Fixed messages translatable.
-rw-r--r-- | artists.php | 8 |
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 ( |