diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-01 23:29:27 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-02 09:08:03 -0400 |
commit | fb9063c4604d6d2ee0963caba70b103711bd78cb (patch) | |
tree | 5c8e20e09ba5393f0be230bd8b491a081b8e66b5 | |
parent | e8100bde0fdc846316202e7d1d1c88575b3e88f4 (diff) | |
download | translate-fb9063c4604d6d2ee0963caba70b103711bd78cb.tar.gz translate-fb9063c4604d6d2ee0963caba70b103711bd78cb.zip |
Document what the font coverage page needs
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | README | 27 |
2 files changed, 21 insertions, 10 deletions
@@ -1,7 +1,9 @@ -rockbox/ +rockbox templates/compiled +headers stats.dat versions.dat fontcoverage.ini +missingchars.ini @@ -1,17 +1,26 @@ -Requirements: - -php-Smarty >= 3.0 +Rockbox Translation Editor +========================== -perl (to update the language files) +Requirements: -To set up: + php-Smarty >= 3.0 + perl (for language file processing) + python (for font converage processing) - mkdir -p templates/compiled - chown apaache:apache templates/compliled +To set up: (assuming user/group for web server is apache/apache) - git clone git://git.rockbox.org/rockbox rockbox + mkdir -p templates/compiled headers + chown apache:apache templates/compliled headers + ln -s /path/to/writeable/rockbox/git/clone/dir rockbox -Then set up cron job (or some sort of hook) for: +Then set up cron job (or some sort of post-commit hook) to run: php update.php fontstats.py > fontcoverage.ini + fontstats.py missing > missingchars.ini + +Note that the only files that matter for these scripts are: + + rockbog/tools/genlang (update.php only) + rockbox/apps/lang/*.lang (both update.php and fontstats.py) + rockbox/fonts/*.bdf (fontstats.py only) |