ref: refs/heads/master
commit 05b41202c22833f9df88728ca1059d43f444179f
Author: Jiri Suchomel
Date: Thu Nov 12 09:37:24 2009 +0100
use same string as for administrator's dialog
---
.../app/views/mail_settings/index.html.erb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/plugins/mail_settings/app/views/mail_settings/index.html.erb b/plugins/mail_settings/app/views/mail_settings/index.html.erb
index b7c2dc1..c48d63f 100644
--- a/plugins/mail_settings/app/views/mail_settings/index.html.erb
+++ b/plugins/mail_settings/app/views/mail_settings/index.html.erb
@@ -18,6 +18,13 @@
}, "<%= _("Enter a valid domain name or an IP address.") -%>");
+ $(document).ready(function() {
+ // make the error message translatable - override the default messsage
+ $.extend($.validator.messages, {
+ equalTo: "<%= _("The passwords do not match.") -%>"
+ });
+ });
+
</script>
<script type="text/javascript">
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org