Fixed some message positions on display
Added french translation for PCBA names git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@369 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -13,7 +13,7 @@ ROOTDIR = ../
|
||||
LIB_PREFIX = libPlatform
|
||||
LIBRARY_NAME = $(LIB_PREFIX)_$(BUILD)_$(LANG).a
|
||||
|
||||
CCFLAGS = -c -O2 -Wall -Werror -g -fno-common -mcpu=cortex-m3 -mthumb $(PLATFORM) $(RELEASE_DEFINES) \
|
||||
CCFLAGS = -c -O2 -Wall -Werror -g -fno-common -mcpu=cortex-m3 -mthumb $(LANGUAGE) $(PLATFORM) $(RELEASE_DEFINES) \
|
||||
-Iinc \
|
||||
-I$(ROOTDIR)/HAL/inc \
|
||||
-I$(ROOTDIR)/hsb-mrts/inc \
|
||||
|
||||
@@ -31,7 +31,12 @@
|
||||
// Constant and macro definitions
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#define ENGLISH (0)
|
||||
#define FRENCH (1)
|
||||
|
||||
#ifndef LANGUAGE
|
||||
#error "LANGUAGE INDEX OUT OF BOUNDS";
|
||||
#endif
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Type definitions
|
||||
@@ -46,6 +51,7 @@
|
||||
static struct Pcba* instance = NULL;
|
||||
static struct Pcba thisPCBA;
|
||||
|
||||
#if (LANGUAGE == 0)
|
||||
static const char nameArray[4][20] =
|
||||
{
|
||||
"Cathode/MCP repair",
|
||||
@@ -53,6 +59,15 @@ static const char nameArray[4][20] =
|
||||
"Anode repair",
|
||||
"UNDEFINED PCBA",
|
||||
};
|
||||
#elif (LANGUAGE == 1)
|
||||
static const char nameArray[4][20] =
|
||||
{
|
||||
"Traitement Pk/GMC",
|
||||
"Traitement Tesla" ,
|
||||
"Traitement ecran",
|
||||
"PCBA non d<>fini",
|
||||
};
|
||||
#endif
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Function declarations
|
||||
|
||||
Reference in New Issue
Block a user