diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 17:01:04 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | f65076b93d91fe9718cf9bef37638d64290b9f28 (patch) | |
tree | 40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_user_stats.inc.php | |
parent | 15457b16f17a141fa76a3b9882892362b601787c (diff) | |
download | ampache-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.php | 12 |
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&type=artist">' . - get_user_icon('all', _('Favorite Artists')) . '</a> ' . _('Favorite Artists'); + get_user_icon('all', T_('Favorite Artists')) . '</a> ' . 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&type=album">' . - get_user_icon('all', _('Favorite Albums')) . '</a> ' . _('Favorite Albums'); + get_user_icon('all', T_('Favorite Albums')) . '</a> ' . 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&type=song">' . - get_user_icon('all', _('Favorite Songs')) . '</a> ' . _('Favorite Songs'); + get_user_icon('all', T_('Favorite Songs')) . '</a> ' . 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> |