--- loncom/interface/lonaboutme.pm 2006/08/18 13:49:34 1.53
+++ loncom/interface/lonaboutme.pm 2006/09/13 21:37:29 1.54
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "About Me" Personal Information
#
-# $Id: lonaboutme.pm,v 1.53 2006/08/18 13:49:34 raeburn Exp $
+# $Id: lonaboutme.pm,v 1.54 2006/09/13 21:37:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -281,21 +281,13 @@ sub print_portfiles_link {
if ($filecounts->{'both'} == 1) {
$output .= &mt('One portfolio file owned by [_2] is available.',$filecounts->{'both'},$name).'
';
} else {
- $output .= &mt('A total of [quant,_1,portfolio file] owned by [_2] are available.',$filecounts->{'both'},$name).'';
+ $output .= &mt('A total of [_1] portfolio files owned by [_2] are available.',$filecounts->{'both'},$name).'';
}
if ($filecounts->{'withoutpass'}) {
- if ($filecounts->{'withoutpass'} == 1) {
- $output .= '- '.&mt('[quant,_1,file] is publicly accessible.',$filecounts->{'withoutpass'}).'
';
- } else {
- $output .= '- '.&mt('[quant,_1,file] are publicly accessible.',$filecounts->{'withoutpass'}).'
';
- }
+ $output .= '- '.&mt('[quant,_1,file is,files are] publicly accessible.',$filecounts->{'withoutpass'}).'
';
}
if ($filecounts->{'withpass'}) {
- if ($filecounts->{'withpass'} == 1) {
- $output .= '- '.&mt('[quant,_1,file] requires a passphrase for access.',$filecounts->{'withpass'}).'
';
- } else {
- $output .= '- '.&mt('[quant,_1,file] require a passphrase for access.',$filecounts->{'withpass'}).'
';
- }
+ $output .= '- '.&mt('[quant,_1,file requires,files require] a passphrase for access.',$filecounts->{'withpass'}).'
';
}
$output .= '
';
}