summaryrefslogtreecommitdiffstats
path: root/bin/write_playlists.inc
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 /bin/write_playlists.inc
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 'bin/write_playlists.inc')
-rw-r--r--bin/write_playlists.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/write_playlists.inc b/bin/write_playlists.inc
index 8ee857fb..b62a217c 100644
--- a/bin/write_playlists.inc
+++ b/bin/write_playlists.inc
@@ -45,7 +45,7 @@ else {
// Make sure the output dir is valid and writeable
if (!is_writeable($dirname)) {
- printf (_('Error: Directory %s not writeable'), $dirname);
+ printf (T_('Error: Directory %s not writeable'), $dirname);
echo "\n";
}
@@ -66,11 +66,11 @@ switch ($type) {
/* FUNCTIONS */
function usage() {
-$desc1 = _("This will dump a collection of m3u playlists based on type");
-$desc2 = _("Types:");
-$desc3 = _("Dumps all Albums as individual playlists");
-$desc4 = _("Dumps all of your Playlists as m3u's");
-$desc5 = _("Dumps all Artists as individual playlists");
+$desc1 = T_("This will dump a collection of m3u playlists based on type");
+$desc2 = T_("Types:");
+$desc3 = T_("Dumps all Albums as individual playlists");
+$desc4 = T_("Dumps all of your Playlists as m3u's");
+$desc5 = T_("Dumps all Artists as individual playlists");
$string = "write_playlists.php.inc [-h] <DIRNAME> <TYPE>