[Vtigercrm-commits] [vtiger-commits] r10733 - in /vtigercrm/branches/5.0.3: include/js/en_us.lang.js modules/Webmails/Webmails.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 19 09:04:16 EDT 2007


Author: richie
Date: Thu Apr 19 07:03:59 2007
New Revision: 10733

Log:
fix for i18n issue: untranslatable or missing alt= and title= in *.js files. Fixes #3078 --minnie

Modified:
    vtigercrm/branches/5.0.3/include/js/en_us.lang.js
    vtigercrm/branches/5.0.3/modules/Webmails/Webmails.js

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 Thu Apr 19 07:03:59 2007
@@ -111,5 +111,6 @@
                                 NO_SPECIAL:'Special Characters are not allowed',
                                 VALID_TAX_PERCENT:'Enter a valid Tax percentage',
                                 VALID_SH_TAX:'Enter valid Taxes for shipping and handling ',
-				ROLE_DRAG_ERR_MSG:'You cannot move a Parent Node under a Child Node'
+				ROLE_DRAG_ERR_MSG:'You cannot move a Parent Node under a Child Node',
+				LBL_DEL:'del'
                        };

Modified: vtigercrm/branches/5.0.3/modules/Webmails/Webmails.js
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/Webmails.js (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/Webmails.js Thu Apr 19 07:03:59 2007
@@ -536,7 +536,7 @@
                                         	);
 
 					try {
-                                        	$("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'undelete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-full.png" border="0" width="14" height="14" alt="del"></a>';
+                                        	$("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'undelete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-full.png" border="0" width="14" height="14" alt="'+alert_arr.LBL_DEL+'" title="'+alert_arr.LBL_DEL+'"></a>';
 
                                         	new Effect.Fade(row,{queue: {position: 'end', scope: 'effect'},duration: '0.5'});
                                         	tmp = document.getElementsByClassName("previewWindow");
@@ -573,7 +573,7 @@
 						}
                                         );
 
-                                        $("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'undelete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-full.png" border="0" width="14" height="14" alt="del"></a>';
+                                        $("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'undelete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-full.png" border="0" width="14" height="14" alt="'+alert_arr.LBL_DEL+'" title="'+alert_arr.LBL_DEL+'"></a>';
 
                                         new Effect.Fade(row,{queue: {position: 'end', scope: 'effect'},duration: '1.0'});
                                         tmp = document.getElementsByClassName("previewWindow");
@@ -591,7 +591,7 @@
                                         node.style.display = '';
                                         var newhtml = remove(remove(node.innerHTML,'<s>'),'</s>');
                                         node.innerHTML=newhtml;
-                                        $("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'delete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-empty.png" border="0" width="14" height="14" alt="del"></a>';
+                                        $("del_link_"+id).innerHTML = '<a href="javascript:void(0);" onclick="runEmailCommand(\'delete_msg\','+id+');"><img src="modules/Webmails/images/gnome-fs-trash-empty.png" border="0" width="14" height="14" alt="'+alert_arr.LBL_DEL+'" title="'+alert_arr.LBL_DEL+'"></a>';
                                 	$("status").style.display="none";
                                     break;
                                     case 'clear_flag':





More information about the vtigercrm-commits mailing list