Skip to content

Commit

Permalink
Add dicts script media.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Dec 10, 2023
1 parent 0eb80b7 commit ec9e61f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions plugins/media/dicts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
ISOs=$(ls i18n)
for ISO in $ISOs
do
echo ; echo $ISO
if [ -f "dict/xx${ISO}.dict" ]; then
rm dict/en${ISO}.dict
fi
../../bin/Linux/ctren -g ../../i18n/en/dictionary.h ../../i18n/${ISO}/dictionary.h > dict/en${ISO}.dict
../../bin/Linux/ctren -g i18n/en/media.h i18n/${ISO}/media.h >> dict/en${ISO}.dict
done

0 comments on commit ec9e61f

Please sign in to comment.