diff --git a/radio/src/Makefile b/radio/src/Makefile index 8380a747e..e373abd7c 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -1086,7 +1086,7 @@ else build: stamp_header tra lbm allsrc.cpp elf remallsrc bin 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 elf: $(TARGET).elf @@ -1140,6 +1140,11 @@ taranis-stamp: @echo "#define VERS_STR \"$(VERSION)\"" >> 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 @echo @echo "Create Czech language specific header files" diff --git a/radio/src/translations/en.h b/radio/src/translations/en.h.txt similarity index 100% rename from radio/src/translations/en.h rename to radio/src/translations/en.h.txt diff --git a/radio/util/translate.py b/radio/util/translate.py index 6fb0f26e5..99f9468b8 100644 --- a/radio/util/translate.py +++ b/radio/util/translate.py @@ -106,8 +106,10 @@ translations = {'cz': [('\\200', u'á'), ('\\203', u'Å'), ('\\204', u'Ä'), ('\\205', u'Ö')], + + 'en': [], - 'all': [('\\306', u'Δ')], + 'all': [('\\306', u'Δ')], }