summaryrefslogtreecommitdiffstats
path: root/templates/show_random_albums.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-03-31 17:01:04 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-12 21:13:29 -0400
commitf65076b93d91fe9718cf9bef37638d64290b9f28 (patch)
tree40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_random_albums.inc.php
parent15457b16f17a141fa76a3b9882892362b601787c (diff)
downloadampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.gz
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.bz2
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.zip
Switch from _() to T_()
Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function.
Diffstat (limited to 'templates/show_random_albums.inc.php')
-rw-r--r--templates/show_random_albums.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php
index be669f75..e5abaa23 100644
--- a/templates/show_random_albums.inc.php
+++ b/templates/show_random_albums.inc.php
@@ -27,9 +27,9 @@
*/
$web_path = Config::get('web_path');
-$button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'),'random_refresh');
+$button = Ajax::button('?page=index&action=random_albums','random', T_('Refresh'),'random_refresh');
?>
-<?php show_box_top(_('Albums of the Moment') . ' ' . $button, 'box box_random_albums'); ?>
+<?php show_box_top(T_('Albums of the Moment') . ' ' . $button, 'box box_random_albums'); ?>
<?php
if ($albums) {
@@ -53,7 +53,7 @@ $button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'),
echo "</div>";
}
?>
- <span class="play_album"><?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add',_('Play Album'),'play_full_' . $album->id); ?></span>
+ <span class="play_album"><?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add', T_('Play Album'),'play_full_' . $album->id); ?></span>
</div>
<?php } // end foreach ?>