[LON-CAPA-cvs] cvs: loncom /interface lonpopulate.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 04 Jun 2008 21:33:54 -0000
bisitz Wed Jun 4 17:33:54 2008 EDT
Modified files:
/loncom/interface lonpopulate.pm
Log:
Wording: Automated Enrollment Manager (without "Student")
Localization: Added a few of many missing &mt() calls
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.55 loncom/interface/lonpopulate.pm:1.56
--- loncom/interface/lonpopulate.pm:1.55 Wed Apr 30 19:54:59 2008
+++ loncom/interface/lonpopulate.pm Wed Jun 4 17:33:54 2008
@@ -1,5 +1,5 @@
# automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.55 2008/04/30 23:54:59 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.56 2008/06/04 21:33:54 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -208,9 +208,9 @@
}
my $page = '';
if ($action eq "information") {
- $page = "<b>Automated Student Enrollment</b>";
+ $page = "<b>".&mt("Automated Enrollment")."</b>";
} else {
- $page = '<a href="/adm/populate">Automated Student Enrollment</a>';
+ $page = '<a href="/adm/populate">'.&mt('Automated Enrollment').'</a>';
if ($reply) {
if ($action eq "newcross") {
$action = "crosslist";
@@ -222,14 +222,16 @@
$page .= " -> <b>".$$tasklongref{$action}."</b>";
}
}
+ my $usrmang = &mt('User Management');
+ my $autenrl = &mt('Automated Enrollment Manager');
$r->print(<<ENDTHIS);
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#CCCCFF">
- <font size="2"><a href="/adm/menu">$realm</a> -> <a href="/adm/createuser">User Management</a> -> $page</font><br/>
+ <font size="2"><a href="/adm/menu">$realm</a> -> <a href="/adm/createuser">$usrmang</a> -> $page</font><br/>
</td>
<td align="right" bgcolor="#CCCCFF" valign="top">
- <font size="+1">Automated Student Enrollment Manager </font>
+ <font size="+1">$autenrl </font>
</td>
</tr>
</table>
@@ -1000,8 +1002,11 @@
}
$r->print('
<tr>
- <td>'.
-&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr).'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" />
+ <td>'
+ .&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername)
+ .'<br /><br />'
+ .&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr)
+ .'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" />
</td>
</tr>
</form>
@@ -1089,7 +1094,8 @@
<input type ="hidden" name="state" value="process" />
</form>');
} else {
- $r->print(&mt('Update of photos via the Automated Student Enrollment Manager is unavailable in this domain.').'<br /><br /><input type="button" name=mainmenu" value="Go back" onclick="javascript:history.go(-1);" />');
+ $r->print(&mt('Update of photos via the Automated Enrollment Manager is unavailable in this domain.')
+ .'<br /><br /><input type="button" name=mainmenu" value="'.&mt('Go back').'" onclick="javascript:history.go(-1);" />');
}
} else {
$r->print('Update of photos is unavailable, as import of student photos is currently disabled.<br />Enable this first via: <a href="/adm/populate?action=photos">'.$$tasktitleref{'photos'}.'</a>');
@@ -2419,7 +2425,9 @@
if ($owneremail) {
$emailstr = "(e-mail: $owneremail)";
}
- $response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use',$emailstr);
+ $response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername)
+ .'<br /><br />'
+ .&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr);
}
&print_reply($r,$response,$$tasktitleref{$action});
}