Language correction V01.70
authorRaphael Velt <raph.velt@gmail.com>
Thu, 19 Apr 2012 15:08:40 +0200
changeset 591 4c8187b39d26
parent 590 dd5200b09f8e
child 592 fad33e1360e8
Language correction
web/res/js/live-polemic.js
--- a/web/res/js/live-polemic.js	Wed Apr 18 10:32:19 2012 +0200
+++ b/web/res/js/live-polemic.js	Thu Apr 19 15:08:40 2012 +0200
@@ -41,6 +41,10 @@
     }    
 }
 
+if (typeof l10n == "undefined") {
+    l10n = { "rechercher" : "Rechercher" }
+}
+
 if (typeof suggested_keywords == "undefined") {
     suggested_keywords = [ ];
 }
@@ -988,7 +992,7 @@
         if (twCx.filtre) {
             inpq.attr("class", "rechercheCourante").val(twCx.filtreTexte);
         } else {
-            inpq.attr("class", "greyed").val("Rechercher");
+            inpq.attr("class", "greyed").val(l10n.rechercher);
         }
     }
 }