Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up translation strings #940

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions lib/WeBWorK/PG/Localize/pg.pot
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,10 @@ msgstr ""
msgid "Hardcopy will always print the original version of the problem."
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1518 /opt/webwork/pg/macros/core/PGbasicmacros.pl:1519
#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1516 /opt/webwork/pg/macros/core/PGbasicmacros.pl:1517
msgid "Hint:"
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1517
msgid "Hint: "
msgstr ""

#: /opt/webwork/pg/macros/deprecated/problemRandomize.pl:425
msgid "If you come back to it later, it may revert to its original version."
msgstr ""
Expand All @@ -54,14 +50,10 @@ msgstr ""
msgid "Set random seed to:"
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1509 /opt/webwork/pg/macros/core/PGbasicmacros.pl:1510
#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1508 /opt/webwork/pg/macros/core/PGbasicmacros.pl:1509
msgid "Solution:"
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:1508
msgid "Solution: "
msgstr ""

#: /opt/webwork/pg/macros/core/compoundProblem.pl:525
msgid "Submit your answers again to go on to the next part."
msgstr ""
Expand All @@ -70,7 +62,7 @@ msgstr ""
msgid "This is a new (re-randomized) version of the problem."
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:3181
#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:3179
msgid "This problem contains a video which must be viewed online."
msgstr ""

Expand All @@ -94,7 +86,7 @@ msgstr ""
msgid "You may not change your answers when going on to the next part!"
msgstr ""

#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:3174
#: /opt/webwork/pg/macros/core/PGbasicmacros.pl:3172
msgid "Your browser does not support the video tag."
msgstr ""

Expand Down
14 changes: 6 additions & 8 deletions macros/core/PGbasicmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1505,19 +1505,17 @@ sub END_ONE_COLUMN { # deprecated

sub SOLUTION_HEADING {
MODES(
TeX => '{\\bf ' . maketext('Solution: ') . ' }',
Latex2HTML => '\\par {\\bf ' . maketext('Solution:') . ' }',
HTML => '<B>' . maketext('Solution:') . '</B> ',
PTX => ''
TeX => '{\\bf ' . maketext('Solution:') . ' }',
HTML => '<B>' . maketext('Solution:') . '</B> ',
PTX => ''
);
}

sub HINT_HEADING {
MODES(
TeX => "{\\bf " . maketext('Hint: ') . "}",
Latex2HTML => "\\par {\\bf " . maketext('Hint:') . " }",
HTML => "<B>" . maketext('Hint:') . "</B> ",
PTX => ''
TeX => '{\\bf ' . maketext('Hint:') . ' }',
HTML => '<B>' . maketext('Hint:') . '</B> ',
PTX => ''
);
}
sub US { MODES(TeX => '\\_', Latex2HTML => '\\_', HTML => '_', PTX => '_'); }; # underscore, e.g. file${US}name
Expand Down