Commit 4f8d521
committed
Update localization for the renderer.
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 the `templates`, `lib/WeBWorK`, and `lib/RenderApp`
directories, as well as any in the `lib/RenderApp.pm` file. Although in
actuallity all of them are in the `templates` directory.
The `docs/make_translation_files.md` file has been removed. Instead the
`bin/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 of `lib/WeBWorK/Localize/standalone.pot` since this is the
`renderer` app, not the `standalone` 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 the `WeBWorK::PG->new` calls.
That is not a valid translation option anymore, and doesn't do anything.1 parent 31abf57 commit 4f8d521
File tree
9 files changed
+251
-707
lines changed- bin
- docs
- lib/WeBWorK
- Localize
9 files changed
+251
-707
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 4 | | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
38 | 13 | | |
39 | 14 | | |
40 | 15 | | |
41 | | - | |
42 | | - | |
| 16 | + | |
43 | 17 | | |
44 | 18 | | |
45 | | - | |
| 19 | + | |
46 | 20 | | |
47 | | - | |
48 | 21 | | |
49 | 22 | | |
50 | 23 | | |
51 | | - | |
| 24 | + | |
52 | 25 | | |
53 | 26 | | |
54 | 27 | | |
55 | 28 | | |
56 | 29 | | |
57 | 30 | | |
58 | | - | |
| 31 | + | |
59 | 32 | | |
60 | | - | |
61 | 33 | | |
62 | 34 | | |
63 | 35 | | |
| |||
70 | 42 | | |
71 | 43 | | |
72 | 44 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 45 | + | |
77 | 46 | | |
78 | 47 | | |
0 commit comments