summaryrefslogtreecommitdiffstats
path: root/lib/class/update.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/update.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/update.class.php')
-rw-r--r--lib/class/update.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index c1a6c3fb..3401436b 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -417,7 +417,7 @@ class Update {
if (!$update_needed) {
if (!defined('CLI')) { echo '<p align="center">'; }
- echo _('No updates needed.');
+ echo T_('No updates needed.');
if (!defined('CLI')) {
echo '[<a href="', Config::get('web_path'), '">Return</a>]</p>';
}
@@ -446,7 +446,7 @@ class Update {
/* Verify that there are no plugins installed
//FIXME: provide a link to remove all plugins, otherwise this could turn into a catch 22
if (!$self::plugins_installed()) {
- $GLOBALS['error']->add_error('general',_('Plugins detected, please remove all Plugins and try again'));
+ $GLOBALS['error']->add_error('general', T_('Plugins detected, please remove all Plugins and try again'));
return false;
} */