summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-01 23:29:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-02 09:08:03 -0400
commitfb9063c4604d6d2ee0963caba70b103711bd78cb (patch)
tree5c8e20e09ba5393f0be230bd8b491a081b8e66b5
parente8100bde0fdc846316202e7d1d1c88575b3e88f4 (diff)
downloadtranslate-fb9063c4604d6d2ee0963caba70b103711bd78cb.tar.gz
translate-fb9063c4604d6d2ee0963caba70b103711bd78cb.zip
Document what the font coverage page needs
-rw-r--r--.gitignore4
-rw-r--r--README27
2 files changed, 21 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 1b810e0..cc96efe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,9 @@
-rockbox/
+rockbox
templates/compiled
+headers
stats.dat
versions.dat
fontcoverage.ini
+missingchars.ini
diff --git a/README b/README
index e0da21a..e126df1 100644
--- a/README
+++ b/README
@@ -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)