summaryrefslogtreecommitdiffstats
path: root/templates/show_artists.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_artists.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_artists.inc.php')
-rw-r--r--templates/show_artists.inc.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php
index 2d7b2d02..eba96932 100644
--- a/templates/show_artists.inc.php
+++ b/templates/show_artists.inc.php
@@ -43,14 +43,14 @@ $web_path = Config::get('web_path');
<col id="col_action" />
</colgroup>
<tr class="th-top">
- <th class="cel_add"><?php echo _('Add'); ?></th>
- <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name',_('Artist'),'artist_sort_name'); ?></th>
- <th class="cel_songs"><?php echo _('Songs'); ?></th>
- <th class="cel_albums"><?php echo _('Albums'); ?></th>
- <th class="cel_time"><?php echo _('Time'); ?></th>
- <th class="cel_tags"><?php echo _('Tags'); ?></th>
- <th class="cel_rating"> <?php echo _('Rating'); ?> </th>
- <th class="cel_action"> <?php echo _('Action'); ?> </th>
+ <th class="cel_add"><?php echo T_('Add'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name', T_('Artist'),'artist_sort_name'); ?></th>
+ <th class="cel_songs"><?php echo T_('Songs'); ?></th>
+ <th class="cel_albums"><?php echo T_('Albums'); ?></th>
+ <th class="cel_time"><?php echo T_('Time'); ?></th>
+ <th class="cel_tags"><?php echo T_('Tags'); ?></th>
+ <th class="cel_rating"> <?php echo T_('Rating'); ?> </th>
+ <th class="cel_action"> <?php echo T_('Action'); ?> </th>
</tr>
<?php
// Cache the ratings we are going to use
@@ -67,18 +67,18 @@ foreach ($object_ids as $artist_id) {
<?php } //end foreach ($artists as $artist) ?>
<?php if (!count($object_ids)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="5"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
+ <td colspan="5"><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_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name',_('Artist'),'artist_sort_name_bottom'); ?></th>
- <th class="cel_songs"> <?php echo _('Songs'); ?> </th>
- <th class="cel_albums"> <?php echo _('Albums'); ?> </th>
- <th class="cel_time"> <?php echo _('Time'); ?> </th>
- <th class="cel_tags"><?php echo _('Tags'); ?></th>
- <th class="cel_rating"> <?php echo _('Rating'); ?> </th>
- <th class="cel_action"> <?php echo _('Action'); ?> </th>
+ <th class="cel_add"><?php echo T_('Add'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name', T_('Artist'),'artist_sort_name_bottom'); ?></th>
+ <th class="cel_songs"> <?php echo T_('Songs'); ?> </th>
+ <th class="cel_albums"> <?php echo T_('Albums'); ?> </th>
+ <th class="cel_time"> <?php echo T_('Time'); ?> </th>
+ <th class="cel_tags"><?php echo T_('Tags'); ?></th>
+ <th class="cel_rating"> <?php echo T_('Rating'); ?> </th>
+ <th class="cel_action"> <?php echo T_('Action'); ?> </th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>