--- loncom/interface/loncreateuser.pm 2014/02/10 18:39:29 1.389
+++ loncom/interface/loncreateuser.pm 2014/02/11 17:34:41 1.390
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.389 2014/02/10 18:39:29 bisitz Exp $
+# $Id: loncreateuser.pm,v 1.390 2014/02/11 17:34:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -126,9 +126,7 @@ sub user_quotas {
my ($ccuname,$ccdomain) = @_;
my %lt = &Apache::lonlocal::texthash(
'usrt' => "User Tools",
- 'cuqu' => "Current quota",
'cust' => "Custom quota",
- 'defa' => "Default",
'chqu' => "Change quota",
);
@@ -211,8 +209,8 @@ END_SCRIPT
'
'.$titles{$name}.' | '."\n".
' '."\n".
&Apache::loncommon::start_data_table_row()."\n".
- ' '.$lt{'cuqu'}.': '.
- $currquota.' MB. '.
+ ' | '.
+ &mt('Current quota: [_1] MB',$currquota).' '.
$defaultinfo.' | '."\n".
&Apache::loncommon::end_data_table_row()."\n".
&Apache::loncommon::start_data_table_row()."\n".
@@ -220,13 +218,14 @@ END_SCRIPT
': '.
+ ' />'.
+ &mt('Default ([_1] MB)',$defquota).' '.
' '.
' MB'."\n".
+ ' /> '.&mt('MB').''."\n".
&Apache::loncommon::end_data_table_row()."\n";
}
}
@@ -2962,8 +2961,8 @@ sub update_user_data {
}
}
foreach my $name ('portfolio','author') {
- $oldsettings{'quota'}{$name} = $oldquota{$name}.' MB';
- $newsettings{'quota'}{$name} = $newquota{$name}.' MB';
+ $oldsettings{'quota'}{$name} = &mt('[_1] MB',$oldquota{$name});
+ $newsettings{'quota'}{$name} = &mt('[_1] MB',$newquota{$name});
}
if ((keys(%namechanged) > 0) || (keys(%changed) > 0)) {
my ($chgresult,$namechgresult);