[LON-CAPA-cvs] cvs: loncom(version_2_6_X) /auth lonroles.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Sat, 22 Mar 2008 03:52:09 -0000
raeburn Fri Mar 21 23:52:09 2008 EDT
Modified files: (Branch: version_2_6_X)
/loncom/auth lonroles.pm
Log:
- backport 1.187
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.181.2.1 loncom/auth/lonroles.pm:1.181.2.2
--- loncom/auth/lonroles.pm:1.181.2.1 Fri Mar 21 23:40:58 2008
+++ loncom/auth/lonroles.pm Fri Mar 21 23:52:04 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.181.2.1 2008/03/22 03:40:58 raeburn Exp $
+# $Id: lonroles.pm,v 1.181.2.2 2008/03/22 03:52:04 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -410,16 +410,16 @@
# -------------------------------------------------------- Generate Page Output
# --------------------------------------------------------------- Error Header?
if ($error) {
- $r->print("<h1>LON-CAPA Access Control</h1>");
+ $r->print("<h1>".&mt('LON-CAPA Access Control')."</h1>");
$r->print("<!-- LONCAPAACCESSCONTROLERRORSCREEN --><hr /><pre>");
if ($priv ne '') {
- $r->print("Access : ".&Apache::lonnet::plaintext($priv)."\n");
+ $r->print(&mt('Access : ').&Apache::lonnet::plaintext($priv)."\n");
}
if ($fn ne '') {
- $r->print("Resource: ".&Apache::lonenc::check_encrypt($fn)."\n");
+ $r->print(&mt('Resource: ').&Apache::lonenc::check_encrypt($fn)."\n");
}
if ($msg ne '') {
- $r->print("Action : $msg\n");
+ $r->print(&mt('Action : ').$msg."\n");
}
$r->print("</pre><hr />");
my $url=$fn;