summaryrefslogtreecommitdiffstats
path: root/lib/class/flag.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/flag.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/flag.class.php')
-rw-r--r--lib/class/flag.class.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/class/flag.class.php b/lib/class/flag.class.php
index b3791dbd..bbb3f4a0 100644
--- a/lib/class/flag.class.php
+++ b/lib/class/flag.class.php
@@ -322,8 +322,8 @@ class Flag extends database_object {
*/
public function print_status() {
- if ($this->approved) { echo _('Approved'); }
- else { echo _('Pending'); }
+ if ($this->approved) { echo T_('Approved'); }
+ else { echo T_('Pending'); }
} // print_status
@@ -335,19 +335,19 @@ class Flag extends database_object {
switch ($this->flag) {
case 'delete':
- $name = _('Delete');
+ $name = T_('Delete');
break;
case 'retag':
- $name = _('Re-Tag');
+ $name = T_('Re-Tag');
break;
case 'reencode':
- $name = _('Re-encode');
+ $name = T_('Re-encode');
break;
case 'other':
- $name = _('Other');
+ $name = T_('Other');
break;
default:
- $name = _('Unknown');
+ $name = T_('Unknown');
break;
} // end switch