[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm
raeburn
raeburn@source.lon-capa.org
Mon, 15 Nov 2010 18:06:15 -0000
raeburn Mon Nov 15 18:06:15 2010 EDT
Modified files:
/loncom/interface lonuserutils.pm
Log:
- Do not apply &mt() to already translated word.
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.132 loncom/interface/lonuserutils.pm:1.133
--- loncom/interface/lonuserutils.pm:1.132 Sun Nov 14 20:34:47 2010
+++ loncom/interface/lonuserutils.pm Mon Nov 15 18:06:15 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.132 2010/11/14 20:34:47 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.133 2010/11/15 18:06:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4190,7 +4190,7 @@
unless ($cancreate{$usertype}) {
my $showtype = $longtypes{$usertype};
$r->print('<br />'.
- &mt("[_1]: The user does not exist, and you are not permitted to create users of type: $showtype.",'<b>'.$username.'</b>'));
+ &mt('[_1]: The user does not exist, and you are not permitted to create users of type: [_2].','<b>'.$username.'</b>',$showtype));
next;
}
} else {