[Vtigercrm-commits] [vtiger-commits] r10588 - in /vtigercrm/branches/5.0.3: Smarty/templates/Settings/CustomInvoiceNo.tpl include/js/en_us.lang.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 9 02:52:02 EDT 2007


Author: richie
Date: Mon Apr  9 00:51:54 2007
New Revision: 10588

Log:
* Fixed i18n issues in script alert message

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/Settings/CustomInvoiceNo.tpl
    vtigercrm/branches/5.0.3/include/js/en_us.lang.js

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Settings/CustomInvoiceNo.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Settings/CustomInvoiceNo.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Settings/CustomInvoiceNo.tpl Mon Apr  9 00:51:54 2007
@@ -174,7 +174,7 @@
             {
                if (iChars.indexOf(invstring.charAt(i)) != -1)
                 {
-               alert ("Special Characters are not allowed in Invoice String.\n Please remove them and try again.");
+               alert (alert_arr.NO_SPECIAL_CHARS);
                return false;
                 }
 

Modified: vtigercrm/branches/5.0.3/include/js/en_us.lang.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/en_us.lang.js (original)
+++ vtigercrm/branches/5.0.3/include/js/en_us.lang.js Mon Apr  9 00:51:54 2007
@@ -103,5 +103,7 @@
 				LESS_THAN:'less than',
 				GREATER_THAN:'greater than',
 				LESS_OR_EQUALS:'less or equal',
-				GREATER_OR_EQUALS:'greater or equal'
+				GREATER_OR_EQUALS:'greater or equal',
+
+				NO_SPECIAL_CHARS:'Special Characters are not allowed in Invoice String'
                        };





More information about the vtigercrm-commits mailing list