From: imap z. <zo...@pr...> - 2007-09-30 06:42:31
|
Hi the main problem is that french translation need to use single quote (') and sometime the variable are single quote too. What happen is that in the compose form of the felamimail the javascript doesn't work becouse of error du to single quote. To change this i' need to double quote thing like this var activityImagePath = "{ajax-loader}"; var fm_compose_langNoAddressSet = "{lang_no_address_set}"; and alert("{lang_no_recipient}"); one thing could be nice is to correct it on the svn and one question i have, is that when i modify the file nothing change. maybe i must reload something so if someone can tell me what to do when we change a file and want the change to be seen in egroupware hope it's clear cyril zorman <!-- BEGIN header --> <script language="JavaScript1.2"> var folderSelectURL ="{folder_select_url}"; var displayFileSelectorURL ="{file_selector_url}"; var composeID ="{compose_id}"; var activityImagePath = "{ajax-loader}"; var fm_compose_langNoAddressSet = "{lang_no_address_set}"; self.focus(); self.name="first_Window"; function addybook() { Window1=window.open('{link_addressbook}',"{lang_search}","width=800,height=600,toolbar=no,scrollbars=yes,status=yes,resizable=yes"); } function attach_window(url) { awin = window.open(url,"attach","width=500,height=400,toolbar=no,resizable=yes"); } function check_sender() { var tos = document.getElementsByName('address[]'); for(i=0; i < tos.length; ++i) { if (tos[i].value != '') break; } if (i >= tos.length) { alert("{lang_no_recipient}"); |