[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm
raeburn
raeburn at source.lon-capa.org
Tue Sep 8 14:08:29 EDT 2020
raeburn Tue Sep 8 18:08:29 2020 EDT
Modified files:
/loncom/interface createaccount.pm
Log:
- Use complete sentence to facilitate internationalization.
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.79 loncom/interface/createaccount.pm:1.80
--- loncom/interface/createaccount.pm:1.79 Sun Aug 25 02:42:56 2019
+++ loncom/interface/createaccount.pm Tue Sep 8 18:08:29 2020
@@ -4,7 +4,7 @@
# kerberos, or SSO) or an e-mail address. Requests to use an e-mail address as
# username may be processed automatically, or may be queued for approval.
#
-# $Id: createaccount.pm,v 1.79 2019/08/25 02:42:56 raeburn Exp $
+# $Id: createaccount.pm,v 1.80 2020/09/08 18:08:29 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -570,8 +570,7 @@
my %js_lt = &Apache::lonlocal::texthash (
email => 'The e-mail address you entered',
notv => 'is not a valid e-mail address',
- avae => 'A valid e-mail address is not formed when the value you entered',
- isco => 'is combined with the required domain',
+ avae => 'A valid e-mail address is not formed when the value you entered is combined with the required domain',
);
my $output = "\n".'<script type="text/javascript">'."\n".
'// <![CDATA['."\n".
@@ -583,7 +582,7 @@
var condition = '$condition';
if (validmail(field,condition) == false) {
if ((condition != undefined) && (condition != '')) {
- alert("$js_lt{'avae'}: "+field.value+" $js_lt{'isco'}: "+condition);
+ alert("$js_lt{'avae'}: "+condition);
} else {
alert("$js_lt{'email'}: "+field.value+" $js_lt{'notv'}.");
}
More information about the LON-CAPA-cvs
mailing list