From f65076b93d91fe9718cf9bef37638d64290b9f28 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sat, 31 Mar 2012 17:01:04 -0400 Subject: 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. --- flag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flag.php') diff --git a/flag.php b/flag.php index f56b033a..febdfe31 100644 --- a/flag.php +++ b/flag.php @@ -48,7 +48,7 @@ switch ($action) { $flag_type = scrub_in($_REQUEST['flag_type']); $comment = scrub_in($_REQUEST['comment']); $flag->add($id,$type,$flag_type,$comment); - show_confirmation(_('Item Flagged'),_('The specified item has been flagged'),$_SESSION['source_page']); + show_confirmation(T_('Item Flagged'), T_('The specified item has been flagged'),$_SESSION['source_page']); break; case 'show_flag': /* Store where they came from */ -- cgit