--- loncom/interface/lonpopulate.pm 2008/04/30 23:54:59 1.55 +++ loncom/interface/lonpopulate.pm 2008/06/04 21:33:54 1.56 @@ -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 @@ sub print_mainbox { } my $page = ''; if ($action eq "information") { - $page = "Automated Student Enrollment"; + $page = "".&mt("Automated Enrollment").""; } else { - $page = 'Automated Student Enrollment'; + $page = ''.&mt('Automated Enrollment').''; if ($reply) { if ($action eq "newcross") { $action = "crosslist"; @@ -222,14 +222,16 @@ sub print_mainbox { $page .= " -> ".$$tasklongref{$action}.""; } } + my $usrmang = &mt('User Management'); + my $autenrl = &mt('Automated Enrollment Manager'); $r->print(< - $realm -> User Management -> $page
+ $realm -> $usrmang -> $page
- Automated Student Enrollment Manager  + $autenrl  @@ -1000,8 +1002,11 @@ ENDTWO } $r->print(' - '. -&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).'

'.&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).'

+ ' + .&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) + .'

' + .&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) + .'

@@ -1089,7 +1094,8 @@ onclick="javascript:document.photoupdate '); } else { - $r->print(&mt('Update of photos via the Automated Student Enrollment Manager is unavailable in this domain.').'

'); + $r->print(&mt('Update of photos via the Automated Enrollment Manager is unavailable in this domain.') + .'

'); } } else { $r->print('Update of photos is unavailable, as import of student photos is currently disabled.
Enable this first via: '.$$tasktitleref{'photos'}.''); @@ -2419,7 +2425,9 @@ function agreement_result(caller) { 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).'

'.&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) + .'

' + .&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}); }