summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.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/artist.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/artist.class.php')
-rw-r--r--lib/class/artist.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index 583cab8c..78459e24 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -376,7 +376,7 @@ class Artist extends database_object {
// check for fault
if ($client->fault) {
debug_event("lyrics", "Can't get lyrics", "1");
- return $results = "<h2>" . _('Fault') . "</h2>" . print_r($result);
+ return $results = "<h2>" . T_('Fault') . "</h2>" . print_r($result);
}
else {
// check for errors
@@ -384,12 +384,12 @@ class Artist extends database_object {
if ($err) {
debug_event("lyrics", "Getting error: $err", "1");
- return $results = "<h2>" . _('Error') . "</h2>" . $err;
+ return $results = "<h2>" . T_('Error') . "</h2>" . $err;
}
else {
// if returned "Not found" do not add
if($result['lyrics'] == "Not found") {
- $sorry = _('Sorry Lyrics Not Found.');
+ $sorry = T_('Sorry Lyrics Not Found.');
return $sorry;
}
else {