diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 18:08:56 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | 774e53db7d9abdba72a0b7c49829dcdbdb2e0e1a (patch) | |
tree | 2d938b4c7d3dd2252e43cbc68b4739d9e15c854d /lib/class/catalog.class.php | |
parent | f65076b93d91fe9718cf9bef37638d64290b9f28 (diff) | |
download | ampache-774e53db7d9abdba72a0b7c49829dcdbdb2e0e1a.tar.gz ampache-774e53db7d9abdba72a0b7c49829dcdbdb2e0e1a.tar.bz2 ampache-774e53db7d9abdba72a0b7c49829dcdbdb2e0e1a.zip |
Switch from ngettext() to T_ngettext()
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r-- | lib/class/catalog.class.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 0de562d2..753f7477 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -234,9 +234,9 @@ class Catalog extends database_object { $hours = $hours % 24; $time_text = "$days "; - $time_text .= ngettext('day','days',$days); + $time_text .= T_ngettext('day','days',$days); $time_text .= ", $hours "; - $time_text .= ngettext('hour','hours',$hours); + $time_text .= T_ngettext('hour','hours',$hours); $results['time_text'] = $time_text; @@ -1426,7 +1426,7 @@ class Catalog extends database_object { show_box_top(); echo "<strong>"; - printf (ngettext('Catalog Clean Done. %d file removed.', 'Catalog Clean Done. %d files removed.', $dead_total), $dead_total); + printf (T_ngettext('Catalog Clean Done. %d file removed.', 'Catalog Clean Done. %d files removed.', $dead_total), $dead_total); echo "</strong><br />\n"; show_box_bottom(); ob_flush(); @@ -2321,13 +2321,13 @@ class Catalog extends database_object { /* Recreate the Playlist */ $playlist = new Playlist($playlist_id); $playlist->add_songs($songs); - $reason = sprintf(ngettext('Playlist Import and Recreate Successful. Total: %d Song', + $reason = sprintf(T_ngettext('Playlist Import and Recreate Successful. Total: %d Song', 'Playlist Import and Recreate Successful. Total: %d Songs', count($songs)), count($songs)); return true; } /* HINT: filename */ - $reason = sprintf(ngettext('Parsing %s - Not Found: %d Song. Please check your m3u file.', + $reason = sprintf(T_ngettext('Parsing %s - Not Found: %d Song. Please check your m3u file.', 'Parsing %s - Not Found: %d Songs. Please check your m3u file.', count($songs)), $filename, count($songs)); return false; |