Delta character now requires en.h to go through translate.py

This commit is contained in:
Andre Bernet
2014-02-27 21:19:33 +01:00
parent 4f225ae707
commit 3c8fd3a51d
3 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -1086,7 +1086,7 @@ else
build: stamp_header tra lbm allsrc.cpp elf remallsrc bin build: stamp_header tra lbm allsrc.cpp elf remallsrc bin
endif endif
tra: translations/cz.h translations/de.h translations/es.h translations/fi.h translations/fr.h translations/it.h translations/pl.h translations/pt.h translations/se.h tra: translations/en.h translations/cz.h translations/de.h translations/es.h translations/fi.h translations/fr.h translations/it.h translations/pl.h translations/pt.h translations/se.h
lbm: fonts bitmaps/sticks.lbm lbm: fonts bitmaps/sticks.lbm
elf: $(TARGET).elf elf: $(TARGET).elf
@@ -1140,6 +1140,11 @@ taranis-stamp:
@echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx-taranis.txt @echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx-taranis.txt
@cat stamp-opentx-taranis.txt @cat stamp-opentx-taranis.txt
translations/en.h: translations/en.h.txt
@echo
@echo "Create English language specific header files"
$(TRANSLATE) translations/en.h.txt translations/en.h en
translations/cz.h: translations/cz.h.txt translations/cz.h: translations/cz.h.txt
@echo @echo
@echo "Create Czech language specific header files" @echo "Create Czech language specific header files"
+3 -1
View File
@@ -107,7 +107,9 @@ translations = {'cz': [('\\200', u'á'),
('\\204', u'Ä'), ('\\204', u'Ä'),
('\\205', u'Ö')], ('\\205', u'Ö')],
'all': [('\\306', u'Δ')], 'en': [],
'all': [('\\306', u'Δ')],
} }