--- loncom/interface/lonmsgdisplay.pm 2012/11/30 14:57:17 1.162
+++ loncom/interface/lonmsgdisplay.pm 2014/10/26 13:10:38 1.177
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.162 2012/11/30 14:57:17 bisitz Exp $
+# $Id: lonmsgdisplay.pm,v 1.177 2014/10/26 13:10:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -128,11 +128,8 @@ sub folderlist {
go => 'Go',
nnff => 'New Name for Folder',
newn => 'New Name',
- thfm => 'The folder may not be renamed',
- fmnb => 'folder may not be renamed as it is a folder provided by the system.',
- asth => 'as this name is already in use for a system-provided or user-defined folder.',
- the => 'The',
- tnfm => 'The new folder may not be named',
+ fmnb => 'Folder may not be renamed as it is a folder provided by the system.',
+ asth => 'Requested name already in use for a system-provided or user-defined folder.',
);
@@ -182,7 +179,7 @@ function folder_choice(targetform,caller
if (targetform.folderaction.options[targetform.folderaction.selectedIndex].value == 'rename') {
for (var i=0; i
'."\n".
&Apache::loncommon::select_form($msgstatus,'msgstatus',\%statushash).'
- '.$lt{'actn'}.'
'."\n".'
+
+ '.$lt{'actn'}.'
-
-
'."\n".'
'.
&Apache::loncommon::select_form('view','folderaction',\%actions).
'
- '.&mt('New Folder').'
'."\n".'
+
+ '.&mt('New Folder').' ');
}
# Description and Status
my $showstatus;
@@ -1257,7 +1262,7 @@ ENDDISHEADER
$r->print(' '."\n");
}
if ($msgstatus ne 'read') {
- $r->print(' ."\n"');
+ $r->print(' '."\n");
}
if ($msgstatus ne 'unread') {
$r->print(' '."\n");
@@ -1665,8 +1670,8 @@ ENDREPSCRIPT
$r->print(&additional_rec_row(\%lt));
$r->print('
'."\n".'
'
- .'
';
if (ref($statushash) eq 'HASH') {
$statushash->{'active'} = 1;
@@ -569,7 +566,7 @@ sub discourse {
$result .= '
';
if (ref($statushash) eq 'HASH') {
$statushash->{'previous'} = 1;
@@ -592,7 +589,7 @@ sub discourse {
$result .= '';
if (ref($statushash) eq 'HASH') {
$statushash->{'future'} = 1;
@@ -667,7 +664,7 @@ sub disgroup {
}
$r->print(' ');
+ &mt("The subject in each forwarded message will be [_1]'Forwarding:'[_2] followed by the original subject.",'','').''.
&mt('Unless you choose otherwise:').'
-'.&mt('The messages will be assembled from all lines with the respective'."\n".'username:domain, and appended to the general message text.'));
+'.&mt('The messages will be assembled from all lines with the respective [_1][_2]username:domain[_3], and appended to the general message text.','
@@ -1895,7 +1900,7 @@ sub disfacetoface {
$env{'course.'.$env{'request.course.id'}.'.domain'},
$env{'course.'.$env{'request.course.id'}.'.num'},
'%255b'.$user.'%253a'.$domain.'%255d');
- my $result=' ".&mt('No notes, face-to-face discussion records, critical messages, or broadcast messages in this [_1].',$lctype)." ".&mt('No notes, face-to-face discussion records, critical messages or broadcast messages in this '.$lctype.'.')."
','',''));
$r->print(<
'.&mt('Subject').': '.$content{'subject'}.'
'.
$content{'message'};
}
} else {
@@ -1957,15 +1961,15 @@ $content{'sendername'}.':'.
if ($result eq '') {
my $lctype = &mt(lc(&Apache::loncommon::course_type()));
if ($target ne 'tex') {
- $r->print("