[Jifty-commit] r6574 - jifty/trunk/lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Tue Mar 10 06:17:53 EDT 2009
Author: clkao
Date: Tue Mar 10 06:17:53 2009
New Revision: 6574
Modified:
jifty/trunk/lib/Jifty/I18N.pm
Log:
Don't reload the default maketext handler.
Modified: jifty/trunk/lib/Jifty/I18N.pm
==============================================================================
--- jifty/trunk/lib/Jifty/I18N.pm (original)
+++ jifty/trunk/lib/Jifty/I18N.pm Tue Mar 10 06:17:53 2009
@@ -215,8 +215,10 @@
require Locale::Maketext::Lexicon;
my $lh = __PACKAGE__->get_handle;
my $orig = Jifty::I18N::en->can('maketext');
+ no warnings 'redefine';
*Jifty::I18N::en::maketext = Locale::Maketext::Lexicon->_style_gettext($orig);
__PACKAGE__->install_global_loc(\$lh);
+ ++$loaded;
return;
}
More information about the Jifty-commit
mailing list