[Jifty-commit] r7106 - jifty/trunk/lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue May 26 14:57:26 EDT 2009


Author: sartak
Date: Tue May 26 14:57:24 2009
New Revision: 7106

Modified:
   jifty/trunk/lib/Jifty/Action.pm

Log:
Improve localizability

Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm	(original)
+++ jifty/trunk/lib/Jifty/Action.pm	Tue May 26 14:57:24 2009
@@ -943,7 +943,7 @@
     # When it isn't even given, check if it's mandatory and whine about it
     if ( !defined $value || !length $value ) {
         if ( $field_info->{mandatory} and ($self->has_argument($field) or not defined $field_info->{default_value})) {
-            return $self->validation_error( $field => _("You need to fill in the '$field' field") );
+            return $self->validation_error( $field => _("You need to fill in the '%1' field", $field) );
         }
     }
 


More information about the Jifty-commit mailing list