summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/albums.php b/albums.php
index 933873e0..68f0ebd0 100644
--- a/albums.php
+++ b/albums.php
@@ -36,14 +36,14 @@ switch ($_REQUEST['action']) {
if (!$GLOBALS['user']->has_access('75')) { access_denied(); }
$art = new Art($_GET['album_id'],'album');
$art->reset();
- show_confirmation(_('Album Art Cleared'),_('Album Art information has been removed from the database'),"/albums.php?action=show&album=" . $art->uid);
+ show_confirmation(T_('Album Art Cleared'), T_('Album Art information has been removed from the database'),"/albums.php?action=show&album=" . $art->uid);
break;
// Upload album art
case 'upload_art':
// we didn't find anything
if (empty($_FILES['file']['tmp_name'])) {
- show_confirmation(_('Album Art Not Located'),_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
+ show_confirmation(T_('Album Art Not Located'), T_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
break;
}
@@ -56,11 +56,11 @@ switch ($_REQUEST['action']) {
if ($image_data) {
$art = new Art($album->id,'album');
$art->insert($image_data,$_FILES['file']['type']);
- show_confirmation(_('Album Art Inserted'),'',"/albums.php?action=show&album=" . $album->id);
+ show_confirmation(T_('Album Art Inserted'),'',"/albums.php?action=show&album=" . $album->id);
}
// Else it failed
else {
- show_confirmation(_('Album Art Not Located'),_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
+ show_confirmation(T_('Album Art Not Located'), T_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
}
break;
@@ -84,7 +84,7 @@ switch ($_REQUEST['action']) {
if ($image_data) {
$art->insert($image_data,$upload['0']['mime']);
- show_confirmation(_('Album Art Inserted'),'',"/albums.php?action=show&album=" . $_REQUEST['album_id']);
+ show_confirmation(T_('Album Art Inserted'),'',"/albums.php?action=show&album=" . $_REQUEST['album_id']);
break;
} // if image data
@@ -133,7 +133,7 @@ switch ($_REQUEST['action']) {
}
// Else nothing
else {
- show_confirmation(_('Album Art Not Located'),_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
+ show_confirmation(T_('Album Art Not Located'), T_('Album Art could not be located at this time. This may be due to write access error, or the file is not received correctly.'),"/albums.php?action=show&album=" . $album->id);
}
$albumname = $album->name;