summaryrefslogtreecommitdiffstats
path: root/lib/rating.lib.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 /lib/rating.lib.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 'lib/rating.lib.php')
-rw-r--r--lib/rating.lib.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rating.lib.php b/lib/rating.lib.php
index 42bd8d59..3323f6e5 100644
--- a/lib/rating.lib.php
+++ b/lib/rating.lib.php
@@ -55,26 +55,26 @@ function get_rating_name($score) {
switch ($score) {
case '0':
- return _("Don't Play");
+ return T_("Don't Play");
break;
case '1':
- return _("It's Pretty Bad");
+ return T_("It's Pretty Bad");
break;
case '2':
- return _("It's Ok");
+ return T_("It's Ok");
break;
case '3':
- return _("It's Pretty Good");
+ return T_("It's Pretty Good");
break;
case '4':
- return _("I Love It!");
+ return T_("I Love It!");
break;
case '5':
- return _("It's Insane");
+ return T_("It's Insane");
break;
// I'm fired
default:
- return _("Off the Charts!");
+ return T_("Off the Charts!");
break;
} // end switch