]> dev.renevier.net Git - syp.git/blobdiff - inc/html/admin.php
removes hardcoded "cancel" string
[syp.git] / inc / html / admin.php
index 7702b949b7408fd720eaf0f140b042af2e7e3fb1..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.')?>",
@@ -69,6 +70,7 @@ if (!$usrtblexists || !$itemstblexists) {
             UnconsistentError: "<?php ptrans('Server reply was inconsistent.')?>",
             DelSucces: "<?php ptrans('Removal took place correctly.')?>",
             UpdateSucces: "<?php ptrans('Save took place correctly.')?>",
+            emptyPasswordError: "<?php ptrans('Password cannot be empty')?>",
             userPasswordmatchError: "<?php ptrans('Passwords do not match.')?>",
             changeSamePass: "<?php ptrans('New password is the same as old password.')?>",
             changePassBadPass: "<?php ptrans('Bad password.')?>",