/**
- DECRYPT_ERROR.JS
- -----------------
- Some client-side form-checks. Trivial stuff.
- **/
+ * decrypt_error.js
+ *
+ * Some client-side form-checks. Trivial stuff.
+ *
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright 2001-2012 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ */
function AYS(){
if (document.forms[0].delete_words.checked && document.forms[0].old_key.value){
- alert ("You can either delete your dictionary or type in the old password. Not both.");
+ alert (ui_candel);
return false;
}
-
+
if (!document.forms[0].delete_words.checked && !document.forms[0].old_key.value){
- alert("First make a choice.");
+ alert(ui_choice);
return false;
}
if (document.forms[0].delete_words.checked)
- return confirm("This will delete your personal dictionary file. Proceed?");
+ return confirm(ui_willdel);
return true;
-}
-
+}
\ No newline at end of file