summaryrefslogtreecommitdiffstats
path: root/templates/show_user_stats.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_stats.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_stats.inc.php')
-rw-r--r--templates/show_user_stats.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_user_stats.inc.php b/templates/show_user_stats.inc.php
index 9d812672..10ca28f5 100644
--- a/templates/show_user_stats.inc.php
+++ b/templates/show_user_stats.inc.php
@@ -35,11 +35,11 @@
if (count($favorite_artists)) {
$items = $working_user->format_favorites($favorite_artists);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=artist">' .
- get_user_icon('all', _('Favorite Artists')) . '</a>&nbsp;' . _('Favorite Artists');
+ get_user_icon('all', T_('Favorite Artists')) . '</a>&nbsp;' . T_('Favorite Artists');
show_info_box($title,'artist',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>
@@ -48,11 +48,11 @@
if (count($favorite_albums)) {
$items = $working_user->format_favorites($favorite_albums);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=album">' .
- get_user_icon('all', _('Favorite Albums')) . '</a>&nbsp;' . _('Favorite Albums');
+ get_user_icon('all', T_('Favorite Albums')) . '</a>&nbsp;' . T_('Favorite Albums');
show_info_box($title,'album',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>
@@ -61,11 +61,11 @@
if (count($favorite_songs)) {
$items = $working_user->format_favorites($favorite_songs);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=song">' .
- get_user_icon('all', _('Favorite Songs')) . '</a>&nbsp;' . _('Favorite Songs');
+ get_user_icon('all', T_('Favorite Songs')) . '</a>&nbsp;' . T_('Favorite Songs');
show_info_box($title,'your_song',$items);
}
else {
- echo "<span class=\"error\">" . _('Not Enough Data') . "</span>";
+ echo "<span class=\"error\">" . T_('Not Enough Data') . "</span>";
}
?>
</td>