From 76fdaa7360c4c0ba07b9dc336aef28c2276fb542 Mon Sep 17 00:00:00 2001
From: Glenn Rice
Date: Sun, 22 Oct 2023 18:48:22 -0500
Subject: [PATCH] Change "Assignment Manager" to "Set Manager".
---
conf/defaults.config | 12 ++++++------
conf/localOverrides.conf.dist | 6 +++---
.../ContentGenerator/Instructor/PGProblemEditor.pm | 5 ++---
lib/WeBWorK/Utils/Routes.pm | 2 +-
templates/HelpFiles/InstructorFileManager.html.ep | 4 ++--
.../HelpFiles/InstructorPGProblemEditor.html.ep | 4 ++--
templates/HelpFiles/InstructorProblemSetList.html.ep | 4 ++--
templates/HelpFiles/InstructorUserList.html.ep | 8 ++++----
templates/HelpFiles/instructor_links.html.ep | 4 ++--
9 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/conf/defaults.config b/conf/defaults.config
index 3f436d7b49..bed018a9b4 100644
--- a/conf/defaults.config
+++ b/conf/defaults.config
@@ -975,13 +975,13 @@ $pg{additionalPGEditorDisplayModes} = [
# Whether the homework editor pages should show options for conditional release
$options{enableConditionalRelease} = 0;
-# In the hmwk sets editor, how deep to search within templates for .def files.
+# In the set manager, how deep to search within templates for .def files.
# Note that this does not apply to the Library and Contrib directories.
# Those directories are not searched in any case (see below).
# 0 means only within templates.
$options{setDefSearchDepth} = 4;
-# In the hmwk sets editor, also list OPL or Contrib set defintion files. Note
+# In the set manager, also list OPL or Contrib set defintion files. Note
# that the directories are not searched, but these lists are loaded from the
# files htdocs/DATA/library-set-defs.json and htdocs/DATA/contrib-set-defs.json
# which are generated by running bin/generate-OPL-set-def-lists.pl (which is
@@ -1262,18 +1262,18 @@ ${pg}{modules} = [
##### Problem creation defaults
# The default weight (also called value) of a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file.
$problemDefaults{value} = 1;
# The default max_attempts for a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 gives students unlimited attempts.
$problemDefaults{max_attempts} = -1;
# The default showMeAnother for a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 disables the showMeAnother button
$problemDefaults{showMeAnother} = -2;
@@ -1659,7 +1659,7 @@ $ConfigValues = [
. 'is 50% and a student views a problem during the Reduced Scoring Period, they will see the '
. 'message "You are in the Reduced Scoring Period: All additional work done counts 50% of the '
. 'original."
To use this, you also have to enable Reduced Scoring and set the Reduced '
- . 'Scoring Date for individual assignments by editing the set data using the Assigment Manager.
'
+ . 'Scoring Date for individual assignments by editing the set data using the Set Manager.'
. 'This works with the avg_problem_grader (which is the the default grader) and the '
. 'std_problem_grader (the all or nothing grader). It will work with custom graders if they '
. 'are written appropriately.
'
diff --git a/conf/localOverrides.conf.dist b/conf/localOverrides.conf.dist
index ae8c1f2e5e..e6913b0ff9 100644
--- a/conf/localOverrides.conf.dist
+++ b/conf/localOverrides.conf.dist
@@ -269,20 +269,20 @@ $mail{feedbackRecipients} = [
################################################################################
# The default weight (also called value) of a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file.
#$problemDefaults{value} = 1;
# The default max_attempts for a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 gives students unlimited attempts.
#$problemDefaults{max_attempts} = -1;
# The default showMeAnother for a problem to use when using the
-# Library Browser, Problem Editor or Assigment Manager to add problems to a set
+# Library Browser, Problem Editor or Set Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 disables the showMeAnother button
#$problemDefaults{showMeAnother} = -1;
diff --git a/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm b/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
index c7ded91a9d..d9dd27846b 100644
--- a/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
+++ b/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
@@ -1129,9 +1129,8 @@ sub save_as_handler ($c) {
$c->shortPath($outputFilePath)
));
$c->addbadmessage(
- $c->maketext(
- 'You can change the file path for this problem manually from the "Assignment Manager" page')
- ) if defined $c->{setID};
+ $c->maketext('You can change the file path for this problem manually from the "Set Manager" page'))
+ if defined $c->{setID};
$c->addgoodmessage($c->maketext(
'The text box now contains the source of the original problem. '
. 'You can recover lost edits by using the Back button on your browser.'
diff --git a/lib/WeBWorK/Utils/Routes.pm b/lib/WeBWorK/Utils/Routes.pm
index 924ac7d949..e841b9a333 100644
--- a/lib/WeBWorK/Utils/Routes.pm
+++ b/lib/WeBWorK/Utils/Routes.pm
@@ -343,7 +343,7 @@ my %routeParameters = (
path => '/#userID'
},
instructor_set_list => {
- title => x('Assignment Manager'),
+ title => x('Set Manager'),
children => [qw(instructor_set_detail)],
module => 'Instructor::ProblemSetList',
path => '/sets'
diff --git a/templates/HelpFiles/InstructorFileManager.html.ep b/templates/HelpFiles/InstructorFileManager.html.ep
index 8747cca3ed..8258e95a8c 100644
--- a/templates/HelpFiles/InstructorFileManager.html.ep
+++ b/templates/HelpFiles/InstructorFileManager.html.ep
@@ -46,7 +46,7 @@
<%== maketext('These are stored in the templates directory. The format of '
. 'Set Definition files is described in the Set Definition specification. '
. 'Set definition files are mainly useful for transferring set assignments from one course to another '
- . 'and are created when exporting a problem set from the "Assigment Manager". Each set definition file '
+ . 'and are created when exporting a problem set from the "Set Manager". Each set definition file '
. 'contains a list of problems used and the dates and times. These definitions can be imported into the '
. 'current course.',
'href="https://webwork.maa.org/wiki/Set_Definition_Files" target="Webworkdocs"') =%>
@@ -75,7 +75,7 @@
<%= maketext('These are the files from which problems are generated and are located in the templates '
. 'directory or in subdirectories. They can be edited directly using the "Edit" link on each problem '
- . 'page or from the "Assigment Manager". The File Manager allows you to upload or download these files. '
+ . 'page or from the "Set Manager". The File Manager allows you to upload or download these files. '
. 'Directories that start with "set" contain pg files and are generated when exporting a problem set in '
. 'which there are local versions of a problem.') =%>
diff --git a/templates/HelpFiles/InstructorPGProblemEditor.html.ep b/templates/HelpFiles/InstructorPGProblemEditor.html.ep
index 84b5c2bdf0..2b7426143f 100644
--- a/templates/HelpFiles/InstructorPGProblemEditor.html.ep
+++ b/templates/HelpFiles/InstructorPGProblemEditor.html.ep
@@ -159,7 +159,7 @@
<%= maketext('You may want to create an unattached problem if you are using the current problem as a model '
. 'for a new problem. You can add the new file to a homework set from the Library Browser or via the '
- . 'set detail page of the "Assigment Manager".') =%>
+ . 'set detail page of the "Set Manager".') =%>
<%= maketext('If the original problem can not be edited than the path name must be changed in order to be '
@@ -177,7 +177,7 @@
<%= maketext('Add this problem as the last problem of an existing set, either as a problem or as the set '
. 'header (the text that appears on the home page of a homework set). You can rearrange the order of the '
- . 'problems later using the "Assigment Manager".') =%>
+ . 'problems later using the "Set Manager".') =%>
<%= maketext('Revert') %>
diff --git a/templates/HelpFiles/InstructorProblemSetList.html.ep b/templates/HelpFiles/InstructorProblemSetList.html.ep
index 3c656f512a..e5a76c28a9 100644
--- a/templates/HelpFiles/InstructorProblemSetList.html.ep
+++ b/templates/HelpFiles/InstructorProblemSetList.html.ep
@@ -14,10 +14,10 @@
%################################################################################
%
% layout 'help_macro';
-% title maketext('Homwork Sets Editor Help');
+% title maketext('Set Manager Help');
%
- <%= maketext('This page manages all of the homework sets (including quizzes/tests). '
+ <%= maketext('This page manages all problem sets (including quizzes/tests). '
. 'The following allow editing directly of a single problem set.') =%>
diff --git a/templates/HelpFiles/InstructorUserList.html.ep b/templates/HelpFiles/InstructorUserList.html.ep
index 4688f99e9c..55629672d6 100644
--- a/templates/HelpFiles/InstructorUserList.html.ep
+++ b/templates/HelpFiles/InstructorUserList.html.ep
@@ -150,22 +150,22 @@
- <%= maketext('Assign sets to many students') %>
-
- <%= maketext('This is done from the "Assigment Manager" or from the "Instructor Tools" page if you wish to '
+ <%= maketext('This is done from the "Set Manager" or from the "Instructor Tools" page if you wish to '
. 'assign a homework set to all students or a large group of students (e.g. a section).') =%>
- <%= maketext('Change dates for a homework set for the whole class.') %>
- - <%= maketext('This is done from the "Assigment Manager" or from the "Instructor Tools" page.') %>
+ - <%= maketext('This is done from the "Set Manager" or from the "Instructor Tools" page.') %>
- <%= maketext('Change the grading on a homework set for an entire class.') %>
-
<%= maketext('You might want to do this if you want to give full credit to everyone on a particular problem '
- . q{that was not worded correctly, or wasn't working properly. This is done from the "Assigment Manager" }
+ . q{that was not worded correctly, or wasn't working properly. This is done from the "Set Manager" }
. 'page or the "Instructor Tools" page.') =%>
- <%= maketext('Change the number of atttempts allowed on a problem.') %>
- - <%= maketext('This is done from the "Assigment Manager" page or the "Instructor tools" page.') %>
+ - <%= maketext('This is done from the "Set Manager" page or the "Instructor tools" page.') %>
diff --git a/templates/HelpFiles/instructor_links.html.ep b/templates/HelpFiles/instructor_links.html.ep
index 652fdd30f0..d82becd1d7 100644
--- a/templates/HelpFiles/instructor_links.html.ep
+++ b/templates/HelpFiles/instructor_links.html.ep
@@ -41,7 +41,7 @@
<%= maketext('Set Assigner') %>
<%= maketext('Assign and unassign selected exercise sets to selected users.') %>
- <%= maketext('Assigment Manager') %>
+ <%= maketext('Set Manager') %>
<%= maketext('Edit homework sets for entire class. Change homework set due dates, create new sets from a set '
. 'definition file, create new homework sets, make sets visible/invisible, score homework sets. Assign '
@@ -57,7 +57,7 @@
<%= maketext('View details of student perofrmance either by individual or by set.') %>
<%= maketext('Scoring Tools') %>
- <%= maketext('Score one or more sets. This can also be done from the "Assigment Manager" or from the '
+ <%= maketext('Score one or more sets. This can also be done from the "Set Manager" or from the '
. '"Instructor Tools", but the "Scoring Tools" page allows control over parameters.') =%>
<%= maketext('Achievement Editor') %>