[LON-CAPA-cvs] cvs: loncom /publisher lonrights.pm
bisitz
bisitz@source.lon-capa.org
Mon, 25 May 2009 14:31:00 -0000
bisitz Mon May 25 14:31:00 2009 EDT
Modified files:
/loncom/publisher lonrights.pm
Log:
Localization:
- Added missing &mt call to headline "Type"
- Removed trailing blanks from phrase "Insert rule below" to allow translation
Index: loncom/publisher/lonrights.pm
diff -u loncom/publisher/lonrights.pm:1.24 loncom/publisher/lonrights.pm:1.25
--- loncom/publisher/lonrights.pm:1.24 Fri Jul 13 18:35:28 2007
+++ loncom/publisher/lonrights.pm Mon May 25 14:31:00 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to show and edit custom distribution rights
#
-# $Id: lonrights.pm,v 1.24 2007/07/13 18:35:28 albertel Exp $
+# $Id: lonrights.pm,v 1.25 2009/05/25 14:31:00 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -174,7 +174,9 @@
my $token;
my $rulecounter=0;
my $colzero=&mt($constructmode?'Edit action':'Rule');
- my %lt=&Apache::lonlocal::texthash('ef' => 'Effect',
+ my %lt=&Apache::lonlocal::texthash(
+ 'ef' => 'Effect',
+ 'ty' => 'Type',
'do' => 'Domain',
'co' => 'Course / User',
'se' => 'Section',
@@ -182,7 +184,7 @@
# ---------------------------------------------------------- Start table output
$r->print(&Apache::loncommon::start_data_table().
&Apache::loncommon::start_data_table_header_row().
- "<th>$colzero</th><th>$lt{'ef'}</th><th>Type</th><th>$lt{'do'}</th>".
+ "<th>$colzero</th><th>$lt{'ef'}</th><th>$lt{'ty'}</th><th>$lt{'do'}</th>".
"<th>$lt{'co'}</th><th>$lt{'se'}</th><th>$lt{'ro'}</th>".
&Apache::loncommon::end_data_table_header_row());
# --------------------------------------------------------------------- Default
@@ -194,7 +196,7 @@
if ($constructmode) {
$r->print(&Apache::loncommon::select_form('','action_0',
('' => '',
- 'insertbelow' => 'Insert rule below ')));
+ 'insertbelow' => 'Insert rule below')));
} else {
$r->print(' ');
@@ -228,7 +230,7 @@
('' => '',
'delete' => 'Delete this rule',
'insertabove' => 'Insert rule above',
- 'insertbelow' => 'Insert rule below ',
+ 'insertbelow' => 'Insert rule below',
'moveup' => 'Move rule up',
'movedown' => 'Move rule down')));
}