summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_playlist.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_localplay_playlist.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_localplay_playlist.inc.php')
-rw-r--r--templates/show_localplay_playlist.inc.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php
index ea42800c..7572cf95 100644
--- a/templates/show_localplay_playlist.inc.php
+++ b/templates/show_localplay_playlist.inc.php
@@ -38,9 +38,9 @@ $status = $localplay->status();
<col id="col_action" />
</colgroup>
<tr class="th-top">
- <th class="cel_track"><?php echo _('Track'); ?></th>
- <th class="cel_name"><?php echo _('Name'); ?></th>
- <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_track"><?php echo T_('Track'); ?></th>
+ <th class="cel_name"><?php echo T_('Name'); ?></th>
+ <th class="cel_action"><?php echo T_('Action'); ?></th>
</tr>
<?php
foreach ($object_ids as $object) {
@@ -55,18 +55,18 @@ foreach ($object_ids as $object) {
<?php echo $localplay->format_name($object['name'],$object['id']); ?>
</td>
<td class="cel_action">
- <?php echo Ajax::button('?page=localplay&action=delete_track&id=' . intval($object['id']),'delete',_('Delete'),'localplay_delete_' . intval($object['id'])); ?>
+ <?php echo Ajax::button('?page=localplay&action=delete_track&id=' . intval($object['id']),'delete', T_('Delete'),'localplay_delete_' . intval($object['id'])); ?>
</td>
</tr>
<?php } if (!count($object_ids)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="3"><span class="error"><?php echo _('No Records Found'); ?></span></td>
+ <td colspan="3"><span class="error"><?php echo T_('No Records Found'); ?></span></td>
</tr>
<?php } ?>
<tr class="th-bottom">
- <th class="cel_track"><?php echo _('Track'); ?></th>
- <th class="cel_name"><?php echo _('Name'); ?></th>
- <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_track"><?php echo T_('Track'); ?></th>
+ <th class="cel_name"><?php echo T_('Name'); ?></th>
+ <th class="cel_action"><?php echo T_('Action'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>