summaryrefslogtreecommitdiffstats
path: root/templates/show_user_recommendations.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_user_recommendations.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_user_recommendations.inc.php')
-rw-r--r--templates/show_user_recommendations.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_user_recommendations.inc.php b/templates/show_user_recommendations.inc.php
index 3d163ae5..6b2e761a 100644
--- a/templates/show_user_recommendations.inc.php
+++ b/templates/show_user_recommendations.inc.php
@@ -34,10 +34,10 @@
<?php
if (count($recommended_artists)) {
$items = $working_user->format_recommendations($recommended_artists,'artist');
- show_info_box(_('Recommended Artists'),'artist',$items);
+ show_info_box(T_('Recommended Artists'),'artist',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>
@@ -45,10 +45,10 @@
<?php
if (count($recommended_albums)) {
$items = $working_user->format_recommendations($recommended_albums,'album');
- show_info_box(_('Recommended Albums'),'album',$items);
+ show_info_box(T_('Recommended Albums'),'album',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>
@@ -56,10 +56,10 @@
<?php
if (count($recommended_songs)) {
$items = $working_user->format_recommendations($recommended_songs,'song');
- show_info_box(_('Recommended Songs'),'song',$items);
+ show_info_box(T_('Recommended Songs'),'song',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>