Development¶
Clone project¶
$ git clone https://github.com/xxyzz/WordDumb.git
Or use SSH:
$ git clone git@github.com:xxyzz/WordDumb.git
Debug¶
$ calibre-customize -b . && calibre-debug -g
Add translations¶
You can use Poedit’s “New From POT/PO File…” option then select any .po file in the translations folder to create new translation file.
Run this command to compile .mo files, you don’t need to do this if you’re using Poedit.
$ calibre-debug -c "from calibre.translations.msgfmt import main; main()" translations/*.po
Note
Poedit’s “Update from source code” feature would comment the language name translations then move them to the end of the file. You should revert this change when commit.
Add difficulty data to more languages¶
Check out Proficiency.
Create zip file¶
$ zip -r worddumb-vx.x.x.zip * -x@exclude.lst