[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm /localize/localize de.pm

droeschl droeschl@source.lon-capa.org
Mon, 01 Dec 2008 18:13:56 -0000


This is a MIME encoded message

--droeschl1228155236
Content-Type: text/plain

droeschl		Mon Dec  1 18:13:56 2008 EDT

  Modified files:              
    /loncom/localize/localize	de.pm 
    /loncom/interface	lonparmset.pm 
  Log:
  Changes related to LON-CAPA redesign project.
  Changed the look and feel of Parameter Manager menu.
  Added translations.
  
  
--droeschl1228155236
Content-Type: text/plain
Content-Disposition: attachment; filename="droeschl-20081201181356.txt"

Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.165 loncom/localize/localize/de.pm:1.166
--- loncom/localize/localize/de.pm:1.165	Sat Nov 29 23:28:10 2008
+++ loncom/localize/localize/de.pm	Mon Dec  1 18:13:51 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.165 2008/11/29 23:28:10 schafran Exp $
+# $Id: de.pm,v 1.166 2008/12/01 18:13:51 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6966,7 +6966,8 @@
 => 'Auswahl der anzuzeigenden Aufgabenteile',
 
    'Set Parameter Setting Default Actions'
-=> 'Setze Parameter-Einstellungen für Default-Aktionen',
+#SD => 'Setze Parameter-Einstellungen für Default-Aktionen', 
+=> 'Standardaktionen für Parametereinstellungen',
 
    'Set Portfolio Metadata'
 => 'Portfolio-Metadaten',
@@ -16265,12 +16266,82 @@
    'Problem Type'
 => 'Aufgabentyp',
 
+   'not in this course'
+=> 'nicht in diesem Kurs',
+#Start: redesigned menus
+#lonparmset.pm
+   'Edit environment settings for this course.'
+=> 'Einstellungen der Kursumgebung ändern.',
+
+   'Portfolio Metadata'
+=> 'Portfolio-Metadaten',
+
+   'Settings for this Course'
+=> 'Einstellungen für diesen Kurs',
+
+   'New and Existing Parameter Settings for Resources'
+=> 'Neue und bestehende Parameter-Einstellungen für die Ressourcen',
+
+   'Edit Resource Parameters - Helper Mode'
+=> 'Parameter zur Kursbeurteilung - Hilfsmodus',
+
+   'Edit Resource Parameters - Overview Mode'
+=> 'Parameter zur Kursbeurteilung - Übersichtsmodus',
+
+   'Edit Resource Parameters - Table Mode'
+=> 'Parameter zur Kursbeurteilung - Tabellenmodus',
+
+   'Existing Parameter Settings for Resources'
+=> 'Bestehende Parameter-Einstellungen für Ressourcen',
+
+   'Change Log'
+=> 'Änderungsprotokoll',
+
+   'Restrict metadata for this course.'
+=> 'Metadaten für diesen Kurs einschränken.',
+
+   'Manage slots for this course.'
+=> 'Slots für diesen Kurs vewalten.',
+
+   'Reset access times for folders/maps, resources or the course.'
+=> 'Zugriffszeiten für Verzeichnisse, Ressou-rcen oder den Kurs zurücksetzen.',
+
+   'Set default actions for parameters.'
+=> 'Standardaktionen für Parameter festlegen.',
+
+   'Set/Modify resource parameters in helper mode.'
+=> 'Festlegen/Ändern von Parametern zur Kursbeurteilung im Hilfsmodus.',
+
+   'Set/Modify resource parameters in table mode.'
+=> 'Festlegen/Ändern von Parametern zur Kursbeurteilung im Tabellenmodus.',
+
+   'Set/Modify resource parameters in overview mode.'
+=> 'Festlegen/Ändern von Parametern zur Kursbeurteilung im Übersichtsmodus.',
+
+   'Set/Modify existing resource parameters in overview mode.'
+=> 'Festlegen/Ändern von Parametern zur Kursbeurteilung im Übersichtsmodus.',
+
+   'View parameter and course blog posting/user notification change log.'
+=> 'Anzeigen des Änderungsprotokolls.',
+
    ''
 => '',
 
-   'not in this course'
-=> 'nicht in diesem Kurs',
+   ''
+=> '',
+
+   ''
+=> '',
+
+   ''
+=> '',
 
+   ''
+=> '',
+#End: redesigned menus
+
+   ''
+=> '',
 #SYNCMARKER
 );
 1;
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.416 loncom/interface/lonparmset.pm:1.417
--- loncom/interface/lonparmset.pm:1.416	Wed Nov 19 21:14:42 2008
+++ loncom/interface/lonparmset.pm	Mon Dec  1 18:13:55 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.416 2008/11/19 21:14:42 jms Exp $
+# $Id: lonparmset.pm,v 1.417 2008/12/01 18:13:55 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3756,85 +3756,81 @@
     my $vgr  = &Apache::lonnet::allowed('vgr',$env{'request.course.id'});
     my $mgr  = &Apache::lonnet::allowed('mgr',$env{'request.course.id'});
 
+
     my @menu =
-        ( { categorytitle=>'Settings for Your Course',
+        ( { categorytitle=>'Settings for this Course',
 	    items => [
-		  { linktext => 'Set Course Environment',
+		  { linktext => 'Course Environment',
 		    url => '/adm/parmset?action=crsenv',
 		    permission => $parm_permission,
-		    help => 'Course_Environment',
+		    linktitle =>'Edit environment settings for this course.'  ,
+		    icon => 'preferences-desktop-remote-desktop.png'  ,
+		    #help => 'Course_Environment',
 		    },
-		  { linktext => 'Set Portfolio Metadata',
+		  { linktext => 'Portfolio Metadata',
 		    url => '/adm/parmset?action=setrestrictmeta',
 		    permission => $parm_permission,
+		    linktitle => 'Restrict metadata for this course.' ,
+		    icon =>'contact-new.png'   ,
 		    },
 		  { linktext => 'Manage Course Slots',
 		    url => '/adm/slotrequest?command=showslots',
 		    permission => $vgr,
+		    linktitle =>'Manage slots for this course.'  ,
+		    icon => 'format-justify-fill.png'  ,
 		    },
 		  { linktext => 'Reset Student Access Times',
 		    url => '/adm/helper/resettimes.helper',
 		    permission => $mgr,
+		    linktitle =>'Reset access times for folders/maps, resources or the course.'  ,
+		    icon => 'start-here.png'  ,
 		    },
 
 		  { linktext => 'Set Parameter Setting Default Actions',
 		    url => '/adm/parmset?action=setdefaults',
 		    permission => $parm_permission,
+		    linktitle =>'Set default actions for parameters.'  ,
+		    icon => 'folder-new.png'  ,
 		    }]},          
-	  { categorytitle => 'New and Existing Parameter Settings for Your Resources',
+	  { categorytitle => 'New and Existing Parameter Settings for Resources',
 	    items => [
-		  { linktext => 'Set/Modify Resource Parameters - Helper Mode',
+		  { linktext => 'Edit Resource Parameters - Helper Mode',
 		    url => '/adm/helper/parameter.helper',
 		    permission => $parm_permission,
-		    help => 'Parameter_Helper',
+		    linktitle =>'Set/Modify resource parameters in helper mode.'  ,
+		    icon => 'dialog-information.png'  ,
+		    #help => 'Parameter_Helper',
 		    },
-		  { linktext => 'Set/Modify Resource Parameters - Overview Mode',
+		  { linktext => 'Edit Resource Parameters - Overview Mode',
 		    url => '/adm/parmset?action=newoverview',
 		    permission => $parm_permission,
-		    help => 'Parameter_Overview',
+		    linktitle =>'Set/Modify resource parameters in overview mode.'  ,
+		    icon => 'edit-find.png'  ,
+		    #help => 'Parameter_Overview',
 		    },
-		  { linktext => 'Set/Modify Resource Parameters - Table Mode',
+		  { linktext => 'Edit Resource Parameters - Table Mode',
 		    url => '/adm/parmset?action=settable',
 		    permission => $parm_permission,
-		    help => 'Table_Mode',
+		    linktitle =>'Set/Modify resource parameters in table mode.'  ,
+		    icon => 'edit-copy.png'  ,
+		    #help => 'Table_Mode',
 		    }]},
-           { categorytitle => 'Existing Parameter Settings for Your Resources',
+           { categorytitle => 'Existing Parameter Settings for Resources',
 	     items => [
 		  { linktext => 'Modify Resource Parameters - Overview Mode',
 		    url => '/adm/parmset?action=setoverview',
 		    permission => $parm_permission,
-		    help => 'Parameter_Overview',
+		    linktitle =>'Set/Modify existing resource parameters in overview mode.'  ,
+		    icon => 'preferences-desktop-wallpaper.png'  ,
+		    #help => 'Parameter_Overview',
 		    },          
-		  { linktext => 'Parameter Change Log and Course Blog Posting/User Notification',
+		  { linktext => 'Change Log',
 		    url => '/adm/parmset?action=parameterchangelog',
 		    permission => $parm_permission,
+		    linktitle =>'View parameter and course blog posting/user notification change log.'  ,
+		    icon => 'emblem-system.png'   ,
 		    }]}
           );
-#---- Remove when done ----
-#    my $menu_html = '';
-#    foreach my $menu_item (@menu) {
-#	if ($menu_item->{'categorytitle'}) {
-#	    $menu_html .= '<h3>'.&mt($menu_item->{'categorytitle'}).'</h3>';
-#	    next;
-#	}
-#        next if (! $menu_item->{'permission'});
-#        $menu_html.='<p>';
-#        $menu_html.='<span class="LC_parm_menu_item">';
-#        if (exists($menu_item->{'url'})) {
-#            $menu_html.=qq{<a href="$menu_item->{'url'}">};
-#        } else {
-#            $menu_html.=
-#                qq{<a href="/adm/parmset?action=$menu_item->{'action'}">};
-#        }
-#        $menu_html.= &mt($menu_item->{'linktext'}).'</a></span>';
-#        if (exists($menu_item->{'help'})) {
-#            $menu_html.=
-#                &Apache::loncommon::help_open_topic($menu_item->{'help'});
-#        }
-#        $menu_html.='</p>'.$/;
-#    }
-# --------------------------
-
     $r->print(&Apache::lonhtmlcommon::generate_menu(@menu));
     return;
 }

--droeschl1228155236--