[LON-CAPA-cvs] cvs: loncom /interface loncourserespicker.pm londocs.pm /localize/localize de.pm
raeburn
raeburn at source.lon-capa.org
Tue Nov 12 20:40:42 EST 2013
raeburn Wed Nov 13 01:40:42 2013 EDT
Modified files:
/loncom/interface loncourserespicker.pm londocs.pm
/loncom/localize/localize de.pm
Log:
- Bug 5753. Copying Course Content to Authoring Space.
- Wording change: replace "Dump" with a more appropriate verb: Copy, now
that user can more easily control which items are copied.
Index: loncom/interface/loncourserespicker.pm
diff -u loncom/interface/loncourserespicker.pm:1.7 loncom/interface/loncourserespicker.pm:1.8
--- loncom/interface/loncourserespicker.pm:1.7 Tue Nov 12 14:36:07 2013
+++ loncom/interface/loncourserespicker.pm Wed Nov 13 01:40:07 2013
@@ -1,6 +1,6 @@
# The LearningOnline Network
#
-# $Id: loncourserespicker.pm,v 1.7 2013/11/12 14:36:07 raeburn Exp $
+# $Id: loncourserespicker.pm,v 1.8 2013/11/13 01:40:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -459,7 +459,7 @@
$display .= '</fieldset>'.
'</div><div style="padding:0;clear:both;margin:0;border:0"></div>'.
'<div>'.
- '<input type="submit" name="dumpcourse" value="'.&mt("Dump $crstype Content").'" />'.
+ '<input type="submit" name="dumpcourse" value="'.&mt("Copy $crstype Content").'" />'.
'</div>';
$numcount = $count + $startcount;
}
@@ -484,7 +484,7 @@
$output .= &Apache::lonhtmlcommon::breadcrumbs('IMS Export').
&Apache::londocs::startContentScreen('tools');
} elsif ($context eq 'dumpdocs') {
- $output .= &Apache::lonhtmlcommon::breadcrumbs('Dump to Authoring Space').
+ $output .= &Apache::lonhtmlcommon::breadcrumbs('Copying to Authoring Space').
&Apache::londocs::startContentScreen('tools');
}
$output .= $display;
@@ -730,7 +730,7 @@
undef,{'only_body' => 1,}).
'<h2>'.&mt('Resource Display Failed').'</h2>';
} elsif ($context eq 'dumpdocs') {
- $outcome = '<h2>'.&mt('Dump to Authoring Space unavilable');
+ $outcome = '<h2>'.&mt('Copying to Authoring Space unavilable');
}
$outcome .= '<div class="LC_error">';
if ($crstype eq 'Community') {
@@ -750,7 +750,7 @@
if ($context eq 'imsexport') {
&Apache::lonnet::logthis('IMS export failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'});
} else {
- &Apache::lonnet::logthis('Dump to Authoring Space failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'});
+ &Apache::lonnet::logthis('Copying to Authoring Space failed - could not create navmap object in '.lc($crstype).':'.$env{'request.course.id'});
}
} elsif ($context eq 'examblock') {
$outcome .= '<href="javascript:window.close();">'.&mt('Close window').'</a>';
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.567 loncom/interface/londocs.pm:1.568
--- loncom/interface/londocs.pm:1.567 Tue Nov 12 14:36:07 2013
+++ loncom/interface/londocs.pm Wed Nov 13 01:40:07 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.567 2013/11/12 14:36:07 raeburn Exp $
+# $Id: londocs.pm,v 1.568 2013/11/13 01:40:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -163,8 +163,8 @@
add_entries => {'onload' => "hide_searching();"},
};
}
- $r->print(&Apache::loncommon::start_page('Dump '.$crstype.' Content to Authoring Space',$js,$starthash)."\n".
- &Apache::lonhtmlcommon::breadcrumbs('Dump '.$crstype.' Content to Authoring Space')."\n");
+ $r->print(&Apache::loncommon::start_page('Copy '.$crstype.' Content to Authoring Space',$js,$starthash)."\n".
+ &Apache::lonhtmlcommon::breadcrumbs('Copy '.$crstype.' Content to Authoring Space')."\n");
$r->print(&startContentScreen('tools'));
my ($home,$other,%outhash)=&authorhosts();
unless ($home) {
@@ -4467,7 +4467,7 @@
&init_breadcrumbs('versions','Check/Set Resource Versions');
&checkversions($r);
} elsif ($allowed && $env{'form.dumpcourse'}) {
- &init_breadcrumbs('dumpcourse','Dump '.&Apache::loncommon::course_type().' Content to Authoring Space');
+ &init_breadcrumbs('dumpcourse','Copy '.&Apache::loncommon::course_type().' Content to Authoring Space');
&dumpcourse($r);
} elsif ($allowed && $env{'form.exportcourse'}) {
&init_breadcrumbs('exportcourse','IMS Export');
@@ -5499,7 +5499,7 @@
'cv' => 'Check/Set Resource Versions',
'ls' => 'List Resource Identifiers',
'imse' => 'Export contents to IMS Archive',
- 'dcd' => "Dump $crstype Content to Authoring Space",
+ 'dcd' => "Copy $crstype Content to Authoring Space",
);
my ($candump,$dumpurl);
if ($home + $other > 0) {
@@ -6605,9 +6605,9 @@
sub dump_switchserver_js {
my @hosts = @_;
my %lt = &Apache::lonlocal::texthash(
- dump => 'Dumping to Authoring Space requires switching server.',
+ dump => 'Copying Content to Authoring Space requires switching server.',
swit => 'Switch server?',
- duco => 'Dump content to Authoring Space',
+ duco => 'Copying Content to Authoring Space',
yone => 'You need to switch to a server housing an Authoring Space for which you are author or co-author.',
chos => 'Choose server',
);
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.554 loncom/localize/localize/de.pm:1.555
--- loncom/localize/localize/de.pm:1.554 Wed Nov 13 00:07:25 2013
+++ loncom/localize/localize/de.pm Wed Nov 13 01:40:42 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.554 2013/11/13 00:07:25 raeburn Exp $
+# $Id: de.pm,v 1.555 2013/11/13 01:40:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1532,24 +1532,18 @@
'Degree of difficulty'
=> 'Schwierigkeitsgrad',
- 'Dump Course Documents to Authoring Space'
-=> 'Kursdokumente in Autorenbereich übernehmen',
-
- 'Dump Course Documents to Authoring Space: available on other servers'
-=> 'Kursdokumente in Autorenbereich übernehmen: verfügbar auf anderen Servern',
-
- 'Dump Course Content to Authoring Space'
+ 'Copy Course Content to Authoring Space'
=> 'Kursinhalt in Autorenbereich übernehmen',
- 'Dump Community Content to Authoring Space'
+ 'Copy Community Content to Authoring Space'
=> 'Community-Inhalt in Autorenbereich übernehmen',
- 'Dump content to Authoring Space'
-=> 'Inhalt in Autorenbereich übernehmen',
-
- 'Dumping to Authoring Space requires switching server.'
+ 'Copying to Authoring Space requires switching server.'
=> 'Zum Ãbernehmen in den Autorenbereich müssen Sie den Server wechseln.',
+ 'Copying to Authoring Space'
+=> 'Inhalt in Autorenbereich übernehmen',
+
'Entering course ...'
=> 'Betrete Kurs...',
More information about the LON-CAPA-cvs
mailing list