[Jifty-commit] r4291 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Oct 22 13:03:43 EDT 2007
Author: audreyt
Date: Mon Oct 22 13:03:43 2007
New Revision: 4291
Modified:
jifty/trunk/lib/Jifty/I18N.pm
Log:
* Jifty::I18N - POD fixup.
Modified: jifty/trunk/lib/Jifty/I18N.pm
==============================================================================
--- jifty/trunk/lib/Jifty/I18N.pm (original)
+++ jifty/trunk/lib/Jifty/I18N.pm Mon Oct 22 13:03:43 2007
@@ -162,7 +162,7 @@
=head2 get_language_handle
-Get the lanauge language for this request.
+Get the language handle for this request.
=cut
@@ -173,6 +173,13 @@
$$DynamicLH = $self->get_handle($lang ? $lang : ()) if $DynamicLH;
}
+=head2 get_current_language
+
+Get the current language for this request, formatted as a Locale::Maketext
+subclass string (i.e., C<zh_tw> instead of C<zh-TW>).
+
+=cut
+
sub get_current_language {
return unless $DynamicLH;
More information about the Jifty-commit
mailing list