[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5569] trunk/bin/io.pl



Revision: 5569
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5569&view=rev
Author:   einhverfr
Date:     2013-01-14 14:56:33 +0000 (Mon, 14 Jan 2013)
Log Message:
-----------
Removing problematic empty checks for new shiptos on old code screens

Modified Paths:
--------------
    trunk/bin/io.pl

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2013-01-14 13:37:49 UTC (rev 5568)
+++ trunk/bin/io.pl	2013-01-14 14:56:33 UTC (rev 5569)
@@ -2347,10 +2347,10 @@
 sub validatelocation
 {
 
-   	my @Newlocation=("shiptoaddress1_new","shiptoaddress2_new","shiptoaddress3_new","shiptocity_new","shiptostate_new","shiptozipcode_new","shiptocountry_new");
+   	my @Newlocation=("shiptoaddress1_new","shiptocity_new","shiptostate_new","shiptocountry_new");
         foreach(@Newlocation)
 	{
-		$form->error( " Don not keep field empty $_") unless($form->{"$_"});
+		$form->error( $locale->text("Do not keep field empty [_1]", $_)) unless($form->{"$_"});
 	}
 
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.