summaryrefslogtreecommitdiffstats
path: root/templates/show_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_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_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index cafa4c4e..d0d4d0f2 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -45,17 +45,17 @@ $ajax_url = Config::get('ajax_url');
<col id="col_action" />
</colgroup>
<tr class="th-top">
- <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_add"><?php echo T_('Add'); ?></th>
<?php if (Art::is_enabled()) { ?>
- <th class="cel_cover"><?php echo _('Cover'); ?></th>
+ <th class="cel_cover"><?php echo T_('Cover'); ?></th>
<?php } ?>
- <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name',_('Album'),'album_sort_name'); ?></th>
- <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=artist',_('Artist'),'album_sort_artist'); ?></th>
- <th class="cel_songs"><?php echo _('Songs'); ?></th>
- <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year',_('Year'),'album_sort_year'); ?></th>
- <th class="cel_tags"><?php echo _('Tags'); ?></th>
- <th class="col_rating"><?php echo _('Rating'); ?></th>
- <th class="cel_action"><?php echo _('Actions'); ?></th>
+ <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name', T_('Album'),'album_sort_name'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=artist', T_('Artist'),'album_sort_artist'); ?></th>
+ <th class="cel_songs"><?php echo T_('Songs'); ?></th>
+ <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year', T_('Year'),'album_sort_year'); ?></th>
+ <th class="cel_tags"><?php echo T_('Tags'); ?></th>
+ <th class="col_rating"><?php echo T_('Rating'); ?></th>
+ <th class="cel_action"><?php echo T_('Actions'); ?></th>
</tr>
<?php
if (Config::get('ratings')) {
@@ -72,21 +72,21 @@ $ajax_url = Config::get('ajax_url');
<?php } //end foreach ($albums as $album) ?>
<?php if (!count($object_ids)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="7"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
+ <td colspan="7"><span class="fatalerror"><?php echo T_('Not Enough Data'); ?></span></td>
</tr>
<?php } ?>
<tr class="th-bottom">
- <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_add"><?php echo T_('Add'); ?></th>
<?php if (Art::is_enabled()) { ?>
- <th class="cel_cover"><?php echo _('Cover'); ?></th>
+ <th class="cel_cover"><?php echo T_('Cover'); ?></th>
<?php } ?>
- <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name',_('Album'),'album_sort_name_bottom'); ?></th>
- <th class="cel_artist"><?php echo _('Artist'); ?></th>
- <th class="cel_songs"><?php echo _('Songs'); ?></th>
- <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year',_('Year'),'album_sort_year_bottom'); ?></th>
- <th class="cel_tags"><?php echo _('Tags'); ?></th>
- <th class="col_rating"><?php echo _('Rating'); ?></th>
- <th class="cel_action"><?php echo _('Actions'); ?></th>
+ <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name', T_('Album'),'album_sort_name_bottom'); ?></th>
+ <th class="cel_artist"><?php echo T_('Artist'); ?></th>
+ <th class="cel_songs"><?php echo T_('Songs'); ?></th>
+ <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year', T_('Year'),'album_sort_year_bottom'); ?></th>
+ <th class="cel_tags"><?php echo T_('Tags'); ?></th>
+ <th class="col_rating"><?php echo T_('Rating'); ?></th>
+ <th class="cel_action"><?php echo T_('Actions'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>