Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 1 | Rockbox Translation Editor |
| 2 | ========================== |
| 3 | |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 4 | Requirements: |
| 5 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 6 | php-Smarty >= 3.0 |
| 7 | perl (for language file processing) |
| 8 | python (for font converage processing) |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 9 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 10 | To set up: (assuming user/group for web server is apache/apache) |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 11 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 12 | mkdir -p templates/compiled headers |
| 13 | chown apache:apache templates/compliled headers |
| 14 | ln -s /path/to/writeable/rockbox/git/clone/dir rockbox |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 15 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 16 | Then set up cron job (or some sort of post-commit hook) to run: |
Solomon Peachy | e8100bd | 2020-04-01 23:09:32 -0400 | [diff] [blame] | 17 | |
| 18 | php update.php |
| 19 | fontstats.py > fontcoverage.ini |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame^] | 20 | fontstats.py missing > missingchars.ini |
| 21 | |
| 22 | Note that the only files that matter for these scripts are: |
| 23 | |
| 24 | rockbog/tools/genlang (update.php only) |
| 25 | rockbox/apps/lang/*.lang (both update.php and fontstats.py) |
| 26 | rockbox/fonts/*.bdf (fontstats.py only) |