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:
mmi
2017-12-15 09:29:16 +00:00
parent 5d788bddc0
commit ce53e07dfe
4 changed files with 30 additions and 14 deletions

View File

@@ -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