Italian translation contribute
Posted: Sat Jun 15, 2019 2:33 pm
Hello!
How can I make an italian version of er9x?
How can I make an italian version of er9x?
Custom Firmwares Hacks and General RC Electronic Projects
https://openrcforums.com/forum/
Code: Select all
#ifdef LANG_DE
#include "de.h"
#else
#ifdef LANG_FR
#include "fr.h"
#else
#ifdef LANG_NO
#include "no.h"
#else
#ifdef LANG_IT
#include "it.h"
#else
#include "en.h"
#endif
#endif
#endif
#endif
Code: Select all
ifeq ($(LANG), FR)
CPPDEFS += -DLANG_FR
else
ifeq ($(LANG), DE)
CPPDEFS += -DLANG_DE
else
ifeq ($(LANG), NO)
CPPDEFS += -DLANG_NO
else
ifeq ($(LANG), IT)
CPPDEFS += -DLANG_IT
endif
endif
endif