diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 17:01:04 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | f65076b93d91fe9718cf9bef37638d64290b9f28 (patch) | |
tree | 40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_album_row.inc.php | |
parent | 15457b16f17a141fa76a3b9882892362b601787c (diff) | |
download | ampache-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_album_row.inc.php')
-rw-r--r-- | templates/show_album_row.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_album_row.inc.php b/templates/show_album_row.inc.php index 5ba7e560..9c93c5c1 100644 --- a/templates/show_album_row.inc.php +++ b/templates/show_album_row.inc.php @@ -28,8 +28,8 @@ ?> <td class="cel_add"> - <?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add',_('Add'),'add_album_' . $album->id); ?> - <?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random',_('Random'),'random_album_' . $album->id); ?> + <?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add', T_('Add'),'add_album_' . $album->id); ?> + <?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random', T_('Random'),'random_album_' . $album->id); ?> </td> <?php if (Art::is_enabled()) { @@ -50,15 +50,15 @@ if (Art::is_enabled()) { <td class="cel_action"> <?php if (Config::get('sociable')) { ?> <a href="<?php echo Config::get('web_path'); ?>/shout.php?action=show_add_shout&type=album&id=<?php echo $album->id; ?>"> - <?php echo get_user_icon('comment',_('Post Shout')); ?> + <?php echo get_user_icon('comment', T_('Post Shout')); ?> </a> <?php } ?> <?php if (Access::check_function('batch_download')) { ?> <a href="<?php echo Config::get('web_path'); ?>/batch.php?action=album&id=<?php echo $album->id; ?>"> - <?php echo get_user_icon('batch_download',_('Batch Download')); ?> + <?php echo get_user_icon('batch_download', T_('Batch Download')); ?> </a> <?php } ?> <?php if (Access::check('interface','50')) { ?> - <?php echo Ajax::button('?action=show_edit_object&type=album_row&id=' . $album->id,'edit',_('Edit'),'edit_album_' . $album->id); ?> + <?php echo Ajax::button('?action=show_edit_object&type=album_row&id=' . $album->id,'edit', T_('Edit'),'edit_album_' . $album->id); ?> <?php } ?> </td> |