Skip to content

Commit e37f985

Browse files
authored
Merge pull request #828 from openwebwork/revert-806-maketext_calls_in_PGProblemEditor_and_SetMaker
Revert "add maketext calls"
2 parents 7c85e2b + ff36e3d commit e37f985

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,8 +1805,8 @@ sub save_as_handler {
18051805
$self->addbadmessage(CGI::p("File '".$self->shortPath($outputFilePath)."' exists.
18061806
File not saved. No changes have been made.
18071807
You can change the file path for this problem manually from the 'Hmwk Sets Editor' page"));
1808-
$self->addgoodmessage(CGI::p($r->maketext("The text box now contains the source of the original problem.".
1809-
" You can recover lost edits by using the Back button on your browser.")));
1808+
$self->addgoodmessage(CGI::p("The text box now contains the source of the original problem.".
1809+
" You can recover lost edits by using the Back button on your browser."));
18101810
} else {
18111811
$self->{editFilePath} = $outputFilePath;
18121812
$self->{tempFilePath} = ''; # nothing needs to be unlinked.

lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ sub body {
17311731
print CGI::p(CGI::span({-id=>'what_shown'}, CGI::span({-id=>'firstshown'}, $first_shown+1)."-".CGI::span({-id=>'lastshown'}, $last_shown+1))." ".$r->maketext("of")." ".CGI::span({-id=>'totalshown'}, $total_probs).
17321732
" ".$r->maketext("shown").".", $prev_button, " ", $next_button,
17331733
);
1734-
print CGI::p($r->maketext('Some problems shown above represent multiple similar problems from the database. If the (top) information line for a problem has a letter M for "More", hover your mouse over the M to see how many similar problems are hidden, or click on the M to see the problems. If you click to view these problems, the M becomes an L, which can be clicked on to hide the problems again.'));
1734+
print CGI::p('Some problems shown above represent multiple similar problems from the database. If the (top) information line for a problem has a letter M for "More", hover your mouse over the M to see how many similar problems are hidden, or click on the M to see the problems. If you click to view these problems, the M becomes an L, which can be clicked on to hide the problems again.');
17351735
}
17361736
# }
17371737
print CGI::end_form(), "\n";

0 commit comments

Comments
 (0)