summaryrefslogtreecommitdiffstats
path: root/lib/class/random.class.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/class/random.class.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/class/random.class.php')
-rw-r--r--lib/class/random.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/class/random.class.php b/lib/class/random.class.php
index ef6c3037..5dc8b47b 100644
--- a/lib/class/random.class.php
+++ b/lib/class/random.class.php
@@ -368,16 +368,16 @@ class Random implements media {
switch ($type) {
case 'album':
- return _('Related Album');
+ return T_('Related Album');
break;
case 'genre':
- return _('Related Genre');
+ return T_('Related Genre');
break;
case 'artist':
- return _('Related Artist');
+ return T_('Related Artist');
break;
default:
- return _('Pure Random');
+ return T_('Pure Random');
break;
} // end switch