[LON-CAPA-cvs] cvs: rat / lonsequence.pm
raeburn
raeburn at source.lon-capa.org
Sun Dec 16 12:48:39 EST 2012
raeburn Sun Dec 16 17:48:39 2012 EDT
Modified files:
/rat lonsequence.pm
Log:
- Localization - use complete sentences to assist translators.
Index: rat/lonsequence.pm
diff -u rat/lonsequence.pm:1.41 rat/lonsequence.pm:1.42
--- rat/lonsequence.pm:1.41 Mon Jul 4 09:25:17 2011
+++ rat/lonsequence.pm Sun Dec 16 17:48:39 2012
@@ -2,7 +2,7 @@
#
# Sequence Handler
#
-# $Id: lonsequence.pm,v 1.41 2011/07/04 09:25:17 foxr Exp $
+# $Id: lonsequence.pm,v 1.42 2012/12/16 17:48:39 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -303,19 +303,20 @@
$r->send_http_header;
if ($exitdisid eq '' && $arrow_dir ne '') {
my %lt =&Apache::lonlocal::texthash(
- 'back' => 'beginning',
- 'forward' => 'end',
'nere' => 'Next resource could not be displayed',
'goba' => 'Go Back',
'nacc' => 'Navigate Course Content',
);
- my $warnmsg = &mt('As all folders and sequences ');
+ my $warnmsg;
if ($arrow_dir eq 'forward') {
- $warnmsg .= &mt('following the current resource were empty').',';
+ $warnmsg = &mt('As all folders and sequences '
+ .'following the current resource were empty, '
+ .'you have now reached the end of the course.');
} elsif ($arrow_dir eq 'back') {
- $warnmsg .= &mt('preceding the current resource were empty').',';
+ $warnmsg = &mt('As all folders and sequences '.
+ .'preceding the current resource were empty, '
+ .'you have now reached the beginning of the course.');
}
- $warnmsg .= &mt('you have now reached the').' '.$lt{$arrow_dir}.' '.&mt('of the course.');
my $start_page=
&Apache::loncommon::start_page('Empty Folder/Sequence');
my $end_page=
More information about the LON-CAPA-cvs
mailing list