diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 17:01:04 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | f65076b93d91fe9718cf9bef37638d64290b9f28 (patch) | |
tree | 40fbc65baffab34971d8c7b685ef9c99e0f4014f /bin/migrate_config.inc | |
parent | 15457b16f17a141fa76a3b9882892362b601787c (diff) | |
download | ampache-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/migrate_config.inc')
-rw-r--r-- | bin/migrate_config.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/migrate_config.inc b/bin/migrate_config.inc index 5f0ea5fe..fef439da 100644 --- a/bin/migrate_config.inc +++ b/bin/migrate_config.inc @@ -53,7 +53,7 @@ $old_config = file_get_contents($prefix . '/config/ampache.cfg.php'); $data = explode("\n",$old_config); -echo _("Parsing old config file..."); +echo T_("Parsing old config file..."); echo "\n"; foreach ($data as $line) { @@ -83,7 +83,7 @@ foreach ($data as $line) { } // end foreach lines -echo _("Parse complete, writing"); +echo T_("Parse complete, writing"); echo "\n"; $handle = fopen($prefix . '/config/ampache.cfg.php','w'); @@ -91,11 +91,11 @@ $handle = fopen($prefix . '/config/ampache.cfg.php','w'); $worked = fwrite($handle,$new_config); if ($worked) { - echo _("Write success, config migrated"); + echo T_("Write success, config migrated"); echo "\n"; } else { - echo _("Access Denied, config migration failed"); + echo T_("Access Denied, config migration failed"); echo "\n"; } |