[LON-CAPA-cvs] cvs: loncom /interface lonaboutme.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 13 Sep 2006 21:37:31 -0000
albertel Wed Sep 13 17:37:31 2006 EDT
Modified files:
/loncom/interface lonaboutme.pm
Log:
- some fun with &mt
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.53 loncom/interface/lonaboutme.pm:1.54
--- loncom/interface/lonaboutme.pm:1.53 Fri Aug 18 09:49:34 2006
+++ loncom/interface/lonaboutme.pm Wed Sep 13 17:37:29 2006
@@ -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 @@
if ($filecounts->{'both'} == 1) {
$output .= &mt('One portfolio file owned by [_2] is available.',$filecounts->{'both'},$name).'<ul>';
} else {
- $output .= &mt('A total of [quant,_1,portfolio file] owned by [_2] are available.',$filecounts->{'both'},$name).'<ul>';
+ $output .= &mt('A total of [_1] portfolio files owned by [_2] are available.',$filecounts->{'both'},$name).'<ul>';
}
if ($filecounts->{'withoutpass'}) {
- if ($filecounts->{'withoutpass'} == 1) {
- $output .= '<li>'.&mt('[quant,_1,file] is publicly accessible.',$filecounts->{'withoutpass'}).'</li>';
- } else {
- $output .= '<li>'.&mt('[quant,_1,file] are publicly accessible.',$filecounts->{'withoutpass'}).'</li>';
- }
+ $output .= '<li>'.&mt('[quant,_1,file is,files are] publicly accessible.',$filecounts->{'withoutpass'}).'</li>';
}
if ($filecounts->{'withpass'}) {
- if ($filecounts->{'withpass'} == 1) {
- $output .= '<li>'.&mt('[quant,_1,file] requires a passphrase for access.',$filecounts->{'withpass'}).'</li>';
- } else {
- $output .= '<li>'.&mt('[quant,_1,file] require a passphrase for access.',$filecounts->{'withpass'}).'</li>';
- }
+ $output .= '<li>'.&mt('[quant,_1,file requires,files require] a passphrase for access.',$filecounts->{'withpass'}).'</li>';
}
$output .= '</ul>';
}