Update localization for the renderer. #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The renderer no longer should have translations for PG since PG now has its own translations. So the localilzations only include the
maketext
calls in thetemplates
,lib/WeBWorK
, andlib/RenderApp
directories, as well as any in thelib/RenderApp.pm
file. Although in actuallity all of them are in thetemplates
directory.The
docs/make_translation_files.md
file has been removed. Instead thebin/update-localization-files
script handles this. Run./bin/update-localization-files -h
for usage. Basically run./bin/update-localization-files
to only update the pot file, or run./bin/update-localization-files -p
to update the pot file and the po files. You can also run./bin/update-localization-files -l heb
(for example) to update the pot file and the heb.po file.Note that the pot file is renamed to
lib/WeBWorK/Localize/renderer.pot
instead oflib/WeBWorK/Localize/standalone.pot
since this is therenderer
app, not thestandalone
app. Generally, I would like to stop calling this the "standalone renderer" and just call it the "renderer" (or perhaps better the "pg-renderer"?).The
lib/WeBWorK/Localize.pm
file has been updated with changes similar to those made for WeBWorK.Also remove the
language_subroutine
from theWeBWorK::PG->new
calls. That is not a valid translation option anymore, and doesn't do anything.