summaryrefslogtreecommitdiffstats
path: root/song.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 /song.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 'song.php')
-rw-r--r--song.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/song.php b/song.php
index 5fceb2a4..669773c7 100644
--- a/song.php
+++ b/song.php
@@ -46,7 +46,7 @@ switch ($_REQUEST['action']) {
$return = $lyric->get_song_lyrics($song->id, ucwords($song->f_artist), ucwords($song->title));
$link = '<a href="http://lyricwiki.org/' . rawurlencode(ucwords($song->f_artist)) . ':' . rawurlencode(ucwords($song->title)) . '" target="_blank">';
/* HINT: Artist, Song Title */
- $link .= sprintf(_('%1$s - %2$s Lyrics Detail'), ucwords($song->f_artist), ucwords($song->title));
+ $link .= sprintf(T_('%1$s - %2$s Lyrics Detail'), ucwords($song->f_artist), ucwords($song->title));
$link .= "</a><br /><br />";
require_once Config::get('prefix') . '/templates/show_lyrics.inc.php';
}
@@ -64,7 +64,7 @@ switch ($_REQUEST['action']) {
$return = $lyric->get_song_lyrics($song->id, ucwords($song->f_artist), ucwords($song->title));
$link = '<a href="http://lyricwiki.org/' . rawurlencode(ucwords($song->f_artist)) . ':' . rawurlencode(ucwords($song->title)) . '" target="_blank">';
/* HINT: Artist, Song Title */
- $link .= sprintf(_('%1$s - %2$s Lyrics Detail'), ucwords($song->f_artist), ucwords($song->title));
+ $link .= sprintf(T_('%1$s - %2$s Lyrics Detail'), ucwords($song->f_artist), ucwords($song->title));
$link .= "</a><br /><br />";
require_once Config::get('prefix') . '/templates/show_lyrics.inc.php';
}