[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 23 Jun 2008 14:13:50 -0000
bisitz Mon Jun 23 10:13:50 2008 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
Optimized wording
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.243 loncom/interface/loncreateuser.pm:1.244
--- loncom/interface/loncreateuser.pm:1.243 Thu Jun 5 08:55:04 2008
+++ loncom/interface/loncreateuser.pm Mon Jun 23 10:13:50 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.243 2008/06/05 12:55:04 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.244 2008/06/23 14:13:50 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3245,7 +3245,7 @@
}
my $add_domtitle = &mt('Additional domain:');
if ($curr_types eq '*') {
- $add_domtitle = &mt('Specific Domain:');
+ $add_domtitle = &mt('Specific domain:');
} elsif ($curr_types eq '') {
$add_domtitle = &mt('Other domain:');
}
@@ -3266,10 +3266,10 @@
$regoff = ' checked="checked" ';
}
$output .= '<label>'.
- '<input type="radio" name="registered" value="0"'.$regoff.'/>'.
- &mt('No').'</label> <label>'.
'<input type="radio" name="registered" value="1"'.$regon.'/>'.
- &mt('Yes').'</label>';
+ &mt('Yes').'</label> <label>'.
+ '<input type="radio" name="registered" value="0"'.$regoff.'/>'.
+ &mt('No').'</label>';
} elsif ($item eq 'enroll_dates') {
my $starttime = $env{'course.'.$env{'request.course.id'}.'.internal.selfenroll_start_date'};
my $endtime = $env{'course.'.$env{'request.course.id'}.'.internal.selfenroll_end_date'};
@@ -3396,11 +3396,11 @@
sub selfenroll_date_forms {
my ($startform,$endform) = @_;
my $output .= &Apache::lonhtmlcommon::start_pick_box()."\n".
- &Apache::lonhtmlcommon::row_title(&mt('Starts'),
+ &Apache::lonhtmlcommon::row_title(&mt('Start date'),
'LC_oddrow_value')."\n".
$startform."\n".
&Apache::lonhtmlcommon::row_closure(1).
- &Apache::lonhtmlcommon::row_title(&mt('Ends'),
+ &Apache::lonhtmlcommon::row_title(&mt('End date'),
'LC_oddrow_value')."\n".
$endform."\n".
&Apache::lonhtmlcommon::row_closure(1).
@@ -4387,7 +4387,7 @@
foreach my $type ('start','end') {
if (exists($changes{'internal.selfenroll_'.$type.'_date'})) {
my $newdate = &Apache::lonlocal::locallocaltime($changes{'internal.selfenroll_'.$type.'_date'});
- $r->print('<li>'.&mt('[_1]: [_2] set to "[_3]".',
+ $r->print('<li>'.&mt('[_1]: "[_2]" set to "[_3]".',
$title,$type,$newdate).'</li>');
}
}
@@ -4395,7 +4395,7 @@
foreach my $type ('start','end') {
if (exists($changes{'internal.selfenroll_'.$type.'_access'})) {
my $newdate = &Apache::lonlocal::locallocaltime($changes{'internal.selfenroll_'.$type.'_access'});
- $r->print('<li>'.&mt('[_1]: [_2] set to "[_3]".',
+ $r->print('<li>'.&mt('[_1]: "[_2]" set to "[_3]".',
$title,$type,$newdate).'</li>');
}
}
@@ -4409,7 +4409,7 @@
$newval = &mt('Any user in any domain');
}
}
- $r->print('<li>'.&mt('[_1] set to "[_2]".',$title,$newval).'</li>'."\n");
+ $r->print('<li>'.&mt('"[_1]" set to "[_2]".',$title,$newval).'</li>'."\n");
}
}
}
@@ -4438,9 +4438,9 @@
my @row = ('types','registered','enroll_dates','access_dates','section');
my %lt = &Apache::lonlocal::texthash (
types => 'Users allowed to self-enroll in this course',
- registered => 'Restrict self-enrollment to registered students?',
+ registered => 'Restrict self-enrollment to registered students',
enroll_dates => 'Dates self-enrollment available',
- access_dates => 'Access dates for self-enrolled users',
+ access_dates => 'Course access dates for self-enrolled users',
section => 'Section assigned to self-enrolled users',
);
return (\@row,\%lt);