[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 17 Mar 2008 14:38:31 -0000
bisitz Mon Mar 17 10:38:31 2008 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
Localization:
Added missing &mt() to Access Control screen
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.186 loncom/auth/lonroles.pm:1.187
--- loncom/auth/lonroles.pm:1.186 Tue Mar 11 22:47:34 2008
+++ loncom/auth/lonroles.pm Mon Mar 17 10:38:30 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.186 2008/03/12 02:47:34 raeburn Exp $
+# $Id: lonroles.pm,v 1.187 2008/03/17 14:38:30 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -447,16 +447,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;