[LON-CAPA-cvs] cvs: rat / lonpageflip.pm loncom/interface lonnavdisplay.pm lonquickgrades.pm
raeburn
raeburn at source.lon-capa.org
Thu Feb 18 09:48:02 EST 2021
raeburn Thu Feb 18 14:48:02 2021 EDT
Modified files:
/loncom/interface lonnavdisplay.pm lonquickgrades.pm
/rat lonpageflip.pm
Log:
- Change punctuation to allow reuse of existing localized phrases.
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.37 loncom/interface/lonnavdisplay.pm:1.38
--- loncom/interface/lonnavdisplay.pm:1.37 Sun Dec 30 15:58:20 2018
+++ loncom/interface/lonnavdisplay.pm Thu Feb 18 14:48:02 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Display Handler
#
-# $Id: lonnavdisplay.pm,v 1.37 2018/12/30 15:58:20 raeburn Exp $
+# $Id: lonnavdisplay.pm,v 1.38 2021/02/18 14:48:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -88,7 +88,7 @@
my $preamble = '<div id="LC_update_'.$cid.'" class="LC_info">'.
'<br />'.
&mt('Your course session is being updated because of recent changes by course personnel.').
- ' '.&mt('Please be patient.').'<br /></div>'.
+ ' '.&mt('Please be patient').'.<br /></div>'.
'<div style="padding:0;clear:both;margin:0;border:0"></div>';
$closure = <<ENDCLOSE;
<script type="text/javascript">
@@ -101,7 +101,7 @@
&Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Updating course'));
$r->rflush();
my ($furl,$ferr) = &Apache::lonuserstate::readmap("$cdom/$cnum",\%prog_state,$r);
- &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished'));
+ &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished!'));
if ($ferr) {
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
$r->print($closure.&Apache::loncommon::end_page());
Index: loncom/interface/lonquickgrades.pm
diff -u loncom/interface/lonquickgrades.pm:1.119 loncom/interface/lonquickgrades.pm:1.120
--- loncom/interface/lonquickgrades.pm:1.119 Tue Sep 1 03:39:38 2020
+++ loncom/interface/lonquickgrades.pm Thu Feb 18 14:48:02 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Quick Student Grades Display
#
-# $Id: lonquickgrades.pm,v 1.119 2020/09/01 03:39:38 raeburn Exp $
+# $Id: lonquickgrades.pm,v 1.120 2021/02/18 14:48:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -129,13 +129,13 @@
my $preamble = '<div id="LC_update_'.$cid.'" class="LC_info">'.
'<br />'.
&mt('Your course session is being updated because of recent changes by course personnel.').
- ' '.&mt('Please be patient.').'<br /></div>'.
+ ' '.&mt('Please be patient').'.<br /></div>'.
'<div style="padding:0;clear:both;margin:0;border:0"></div>';
%prog_state = &Apache::lonhtmlcommon::Create_PrgWin($r,undef,$preamble);
&Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Updating course'));
$r->rflush();
my ($furl,$ferr) = &Apache::lonuserstate::readmap("$cdom/$cnum");
- &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished'));
+ &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished!'));
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
my $closure = <<ENDCLOSE;
<script type="text/javascript">
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.101 rat/lonpageflip.pm:1.102
--- rat/lonpageflip.pm:1.101 Sun Dec 30 19:47:06 2018
+++ rat/lonpageflip.pm Thu Feb 18 14:48:02 2021
@@ -2,7 +2,7 @@
#
# Page flip handler
#
-# $Id: lonpageflip.pm,v 1.101 2018/12/30 19:47:06 raeburn Exp $
+# $Id: lonpageflip.pm,v 1.102 2021/02/18 14:48:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -431,12 +431,12 @@
my $preamble = '<div id="LC_update_'.$env{'request.course.id'}.'" class="LC_info">'.
'<br />'.
&mt('Your course session is being updated because of recent changes by course personnel.').
- ' '.&mt('Please be patient.').'<br /></div>'.
+ ' '.&mt('Please be patient').'.<br /></div>'.
'<div style="padding:0;clear:both;margin:0;border:0"></div>';
%prog_state = &Apache::lonhtmlcommon::Create_PrgWin($r,undef,$preamble);
&Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Updating course'));
my ($furl,$ferr) = &Apache::lonuserstate::readmap("$cdom/$cnum");
- &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished'));
+ &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished!'));
if ($ferr) {
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
my $requrl = $r->uri;
@@ -525,7 +525,6 @@
$last=$hash{'last_known'};
untie(%hash);
}
- my $newloc;
if ($last) {
$currenturl=&Apache::lonnet::clutter((&Apache::lonnet::decode_symb($last))[2]);
} else {
More information about the LON-CAPA-cvs
mailing list