[LON-CAPA-cvs] cvs: loncom /localize/localize de.pm /publisher lonpubdir.pm
bisitz
bisitz@source.lon-capa.org
Fri, 06 Nov 2009 18:01:55 -0000
bisitz Fri Nov 6 18:01:55 2009 EDT
Modified files:
/loncom/publisher lonpubdir.pm
/loncom/localize/localize de.pm
Log:
Optimized display of XML source publication status (open/closed):
- Allow proper translation
- Allow authors to understand
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.123 loncom/publisher/lonpubdir.pm:1.124
--- loncom/publisher/lonpubdir.pm:1.123 Tue Jul 14 12:27:57 2009
+++ loncom/publisher/lonpubdir.pm Fri Nov 6 18:01:44 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.123 2009/07/14 12:27:57 bisitz Exp $
+# $Id: lonpubdir.pm,v 1.124 2009/11/06 18:01:44 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -629,9 +629,17 @@
$meta_same = 0;
}
$publish_button=&mt('Re-publish');
- my $rights_status =
- &mt(&getCopyRightString($targetdir.'/'.$filename)).' '.
- &mt(&getSourceRightString($targetdir.'/'.$filename));
+
+ my $rights_status =
+ &mt(&getCopyRightString($targetdir.'/'.$filename)).', ';
+
+ my %lt_SourceRight = &Apache::lonlocal::texthash(
+ 'open' => 'Source: open',
+ 'closed' => 'Source: closed',
+ );
+ $rights_status .=
+ $lt_SourceRight{&getSourceRightString($targetdir.'/'.$filename)};
+
$title = '<a href="/res/'.$targetdir.'/'.$filename.
'.meta" target="cat">'.
&getTitleString($targetdir.'/'.$filename).'</a>';
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.336 loncom/localize/localize/de.pm:1.337
--- loncom/localize/localize/de.pm:1.336 Mon Nov 2 12:10:41 2009
+++ loncom/localize/localize/de.pm Fri Nov 6 18:01:54 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.336 2009/11/02 12:10:41 wenzelju Exp $
+# $Id: de.pm,v 1.337 2009/11/06 18:01:54 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5894,8 +5894,11 @@
'Which posts are displayed when you display a discussion board or resource, and'
=> 'welche Nachrichten angezeigt werden, wenn Sie ein Diskussionsforum bzw. eine Ressource anzeigen',
- 'closed'
-=> 'Quellcode gesperrt', # !
+ 'Source: closed'
+=> 'Quellcode: gesperrt',
+
+ 'Source: open'
+=> 'Quellcode: einsehbar',
'dir[_1]'
=> 'dir[_1]',
@@ -5903,9 +5906,6 @@
'list[_1]'
=> 'Liste[_1]',
- 'open'
-=> 'Quellcode öffentlich', # !
-
'(mark desired resources then click "next" button)'
=> '(markieren Sie gewünschte Ressourcen und klicken Sie dann auf "Weiter")',