]> dev.renevier.net Git - syp.git/commitdiff
removes hardcoded "cancel" string
authorarno <arenevier@fdn.fr>
Sun, 23 Aug 2009 22:04:04 +0000 (00:04 +0200)
committerarno <arenevier@fdn.fr>
Sun, 23 Aug 2009 22:04:04 +0000 (00:04 +0200)
inc/html/admin.php
inc/i10n/en/syp.php
inc/i10n/fr/syp.php
js/admin.js

index d6d876b105aa570631c4e02cff7105d9ba60d569..a96a4700db1a356d62f09804d1b3e45dff019fcd 100644 (file)
@@ -56,6 +56,7 @@ if (!$usrtblexists || !$itemstblexists) {
       <script type="text/javascript">
         var SypStrings = {
             AddItem: "<?php ptrans('add a place')?>",
+            Cancel: "<?php ptrans('cancel')?>",
             DragDropHowto: "<?php ptrans('You can move an item by drag & droping it.')?>",
             SelectHowto: "<?php ptrans('To modify an item data, select matching marker.')?>",
             AddHowto: "<?php ptrans('Click on the map to add a marker.')?>",
index de65072d0325ea8171070039e2312baca50715db..fab5ee90d3d44f2917d8a90f1f812c0be3589b30 100644 (file)
         "add a place"
           => "",
 
+        "cancel"
+          => "",
+
         "You can move an item by drag & droping it."
           => "",
 
index d4240b5a0e0266af0d4888d54ab1c9d029b12cd3..4501125703fd440d51e17f0e22359d5e6373b14b 100644 (file)
         "ajouter un emplacement"
           ,
 
+        "cancel"
+          =>
+        "annuler"
+          ,
+
         "You can move an item by drag & droping it."
           =>
         "Vous pouvez déplacer le marqueur en le glissant-déposant."
index 36c74069397145bde8909b5116ea1d529a62c6fc..abce8a52ef93ee15b24df7ed9f5702e383e852e4 100644 (file)
@@ -281,7 +281,7 @@ var Admin = {
             }
         });
 
-        $("#newfeature_button").val("annuler");
+        $("#newfeature_button").val(SypStrings.Cancel);
         $("#newfeature_button").unbind("click").click(cancel);
 
         $("#instructions").text(SypStrings.AddHowto);