[Bug 492] New - Javascript error due to an small typo in imp-2.2.3/locale/fr/message.lang

bugs@bugs.horde.org bugs@bugs.horde.org
Tue, 10 Oct 2000 11:58:44 -0300


http://bugs.horde.org/show_bug.cgi?id=492

*** shadow/492	Tue Oct 10 11:58:44 2000
--- shadow/492.tmp.29765	Tue Oct 10 11:58:44 2000
***************
*** 0 ****
--- 1,35 ----
+ Bug#: 492
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: Netscape 4.5
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: trivial
+ Priority: P4
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: benoit@proxad.net               
+ URL: 
+ Summary: Javascript error due to an small typo in imp-2.2.3/locale/fr/message.lang
+ 
+ In locale/fr/message.lang, the variable $lang->add_to_contacts is used in a
+ Javascript message so it must protect the single quote twice, for php AND for
+ Javascript.
+ The patch below correct this behaviour :
+ diff -uNr imp-2.2.3-vanilla/locale/fr/message.lang
+ imp-2.2.3/locale/fr/message.lang
+ --- imp-2.2.3-vanilla/locale/fr/message.lang    Fri Jul 14 19:48:04 2000
+ +++ imp-2.2.3/locale/fr/message.lang    Tue Oct 10 16:49:32 2000
+ @@ -58,7 +58,7 @@
+  $lang->saveas = 'enregistrer sous';
+  $lang->resume = 'Reprendre la rédaction';
+  $lang->compose = 'Nouveau message';
+ -$lang->add_to_contacts = 'ajouter au carnet d\'adresses';
+ +$lang->add_to_contacts = 'ajouter au carnet d\\\'adresses';
+  
+  $lang->delete_error = '<tr><th colspan=2>Suite à une erreur, votre message n\'a
+ pas été effacé.</td></tr>';
+  
+