summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_controllers.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_controllers.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_controllers.inc.php')
-rw-r--r--templates/show_localplay_controllers.inc.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/show_localplay_controllers.inc.php b/templates/show_localplay_controllers.inc.php
index 8b3cda94..c6494266 100644
--- a/templates/show_localplay_controllers.inc.php
+++ b/templates/show_localplay_controllers.inc.php
@@ -37,10 +37,10 @@ $web_path = Config::get('web_path');
<col id="col_action" />
</colgroup>
<tr class="th-top">
- <th class="cel_name"><?php echo _('Name'); ?></th>
- <th class="cel_description"><?php echo _('Description'); ?></th>
- <th class="cel_version"><?php echo _('Version'); ?></th>
- <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_name"><?php echo T_('Name'); ?></th>
+ <th class="cel_description"><?php echo T_('Description'); ?></th>
+ <th class="cel_version"><?php echo T_('Version'); ?></th>
+ <th class="cel_action"><?php echo T_('Action'); ?></th>
</tr>
<?php
foreach ($controllers as $controller) {
@@ -49,11 +49,11 @@ foreach ($controllers as $controller) {
$localplay->format();
if (Localplay::is_enabled($controller)) {
$action = 'confirm_uninstall_localplay';
- $action_txt = _('Disable');
+ $action_txt = T_('Disable');
}
else {
$action = 'install_localplay';
- $action_txt = _('Activate');
+ $action_txt = T_('Activate');
}
?>
<tr class="<?php echo flip_class(); ?>">
@@ -64,14 +64,14 @@ foreach ($controllers as $controller) {
</tr>
<?php } if (!count($controllers)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="4"><span class="error"><?php echo _('No Records Found'); ?></span></td>
+ <td colspan="4"><span class="error"><?php echo T_('No Records Found'); ?></span></td>
</tr>
<?php } ?>
<tr class="th-bottom">
- <th class="cel_name"><?php echo _('Name'); ?></th>
- <th class="cel_description"><?php echo _('Description'); ?></th>
- <th class="cel_version"><?php echo _('Version'); ?></th>
- <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_name"><?php echo T_('Name'); ?></th>
+ <th class="cel_description"><?php echo T_('Description'); ?></th>
+ <th class="cel_version"><?php echo T_('Version'); ?></th>
+ <th class="cel_action"><?php echo T_('Action'); ?></th>
</tr>
</table>
<br />