[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm /localize/localize de.pm zh.pm
bisitz
bisitz@source.lon-capa.org
Mon, 06 Apr 2009 14:52:11 -0000
bisitz Mon Apr 6 14:52:11 2009 EDT
Modified files:
/loncom/interface loncreateuser.pm
/loncom/localize/localize de.pm zh.pm
Log:
Additional text to "Existing Roles" headline:
Display domain/course/author context in order to guard against misunderstandings
(Not all roles of the chosen user are shown in all contexts)
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.289 loncom/interface/loncreateuser.pm:1.290
--- loncom/interface/loncreateuser.pm:1.289 Sun Apr 5 17:04:56 2009
+++ loncom/interface/loncreateuser.pm Mon Apr 6 14:52:04 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.289 2009/04/05 17:04:56 droeschl Exp $
+# $Id: loncreateuser.pm,v 1.290 2009/04/06 14:52:04 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1230,8 +1230,17 @@
}
}
if ($rolesdisplay == 1) {
+ my $contextrole='';
+ if ($env{'request.course.id'}) {
+ $contextrole = 'Existing Roles in this Course';
+ } elsif ($env{'request.role'} =~ /^au\./) {
+ $contextrole = 'Existing Co-Author Roles in your Construction Space';
+ } else {
+ $contextrole = 'Existing Roles in this Domain';
+ }
$r->print('
<h3>'.$lt{'rer'}.'</h3>'.
+'<div>'.&mt($contextrole).'</div>'.
&Apache::loncommon::start_data_table("LC_createuser").
&Apache::loncommon::start_data_table_header_row().
'<th>'.$lt{'rev'}.'</th><th>'.$lt{'ren'}.'</th><th>'.$lt{'del'}.
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.271 loncom/localize/localize/de.pm:1.272
--- loncom/localize/localize/de.pm:1.271 Sun Apr 5 09:57:29 2009
+++ loncom/localize/localize/de.pm Mon Apr 6 14:52:10 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.271 2009/04/05 09:57:29 hauer Exp $
+# $Id: de.pm,v 1.272 2009/04/06 14:52:10 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -9659,9 +9659,6 @@
'Existing Role'
=> 'Bestehende Rolle',
- 'Exisiting Roles'
-=> 'Bestehende Rollen',
-
'Assigning Role to Self'
=> 'Assigning Role to Self', # ???
@@ -13442,6 +13439,15 @@
'Existing Roles'
=> 'Bestehende Rollen',
+ 'Existing Roles in this Course'
+=> 'Bestehende Rollen in diesem Kurs',
+
+ 'Existing Co-Author Roles in your Construction Space'
+=> 'Bestehende Co-Autoren-Rollen in Ihrem Konstruktionsbereich',
+
+ 'Existing Roles in this Domain'
+=> 'Bestehende Rollen in dieser Domäne',
+
'You are already logged in!'
=> 'Sie sind bereits angemeldet!',
Index: loncom/localize/localize/zh.pm
diff -u loncom/localize/localize/zh.pm:1.39 loncom/localize/localize/zh.pm:1.40
--- loncom/localize/localize/zh.pm:1.39 Fri Apr 3 16:41:19 2009
+++ loncom/localize/localize/zh.pm Mon Apr 6 14:52:10 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Chinese Simplified Localization Lexicon
#
-# $Id: zh.pm,v 1.39 2009/04/03 16:41:19 bisitz Exp $
+# $Id: zh.pm,v 1.40 2009/04/06 14:52:10 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -9755,9 +9755,6 @@
'Existing Role'
=> 'Bestehende Rolle',
- 'Exisiting Roles'
-=> 'Bestehende Rollen',
-
'Assigning Role to Self'
=> 'Assigning Role to Self', # ???
@@ -13527,6 +13524,15 @@
'Existing Roles'
=> 'Bestehende Rollen',
+ 'Existing Roles in this Course'
+=> 'Bestehende Rollen in diesem Kurs',
+
+ 'Existing Co-Author Roles in your Construction Space'
+=> 'Bestehende Co-Autoren-Rollen in Ihrem Konstruktionsbereich',
+
+ 'Existing Roles in this Domain'
+=> 'Bestehende Rollen in dieser Domäne',
+
'Text-based Interface Login'
=> 'Anmeldung für textbasierte Oberfläche',