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 |
Solomon Peachy | 9be65b9 | 2021-09-14 14:28:52 -0400 | [diff] [blame^] | 7 | perl (for language file & font stats processing) |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 8 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame] | 9 | To set up: (assuming user/group for web server is apache/apache) |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 10 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame] | 11 | mkdir -p templates/compiled headers |
| 12 | chown apache:apache templates/compliled headers |
| 13 | ln -s /path/to/writeable/rockbox/git/clone/dir rockbox |
Solomon Peachy | cb221f1 | 2020-04-01 21:37:27 -0400 | [diff] [blame] | 14 | |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame] | 15 | 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] | 16 | |
| 17 | php update.php |
Solomon Peachy | 9be65b9 | 2021-09-14 14:28:52 -0400 | [diff] [blame^] | 18 | fontstats.pl > fontcoverage.ini |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame] | 19 | |
| 20 | Note that the only files that matter for these scripts are: |
| 21 | |
Solomon Peachy | 51b11d5 | 2020-04-13 22:56:53 -0400 | [diff] [blame] | 22 | rockbox/tools/genlang (update.php only) |
Solomon Peachy | 9be65b9 | 2021-09-14 14:28:52 -0400 | [diff] [blame^] | 23 | rockbox/apps/lang/*.lang (both update.php and fontstats.pl) |
Solomon Peachy | fb9063c | 2020-04-01 23:29:27 -0400 | [diff] [blame] | 24 | rockbox/fonts/*.bdf (fontstats.py only) |