From 2e537232404bf5123bc92e7218156ec03160c68f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 8 Jun 2022 15:52:06 +0200 Subject: final version before assessment --- client/i18n.h | 6 ++++++ client/i18n/nl_nl.h | 12 ++++++------ client/makefile | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'client') diff --git a/client/i18n.h b/client/i18n.h index 06febee..a8a6d9c 100644 --- a/client/i18n.h +++ b/client/i18n.h @@ -1,6 +1,12 @@ #pragma once +#ifdef W2_LANG_NL_NL +#define W2_LANG_DEFAULT +#include "i18n/nl_nl.h" +#endif + #ifndef W2_LANG_DEFAULT #define W2_LANG_DEFAULT #include "i18n/en_us.h" #endif + diff --git a/client/i18n/nl_nl.h b/client/i18n/nl_nl.h index 94c3241..8caf1de 100644 --- a/client/i18n/nl_nl.h +++ b/client/i18n/nl_nl.h @@ -27,14 +27,14 @@ #define W2_UI_TAB_LABEL_MODES "modus instellen" #define W2_UI_TAB_START_MESSAGE "" \ - "welcome to the wall-e2 console application!\n" \ - "this is client version " W2_BUILD_STR "\n" \ + "welkom in de wall-e2 console applicatie!\n" \ + "dit is client versie " W2_BUILD_STR "\n" \ "\n" \ - "this application is functionally similar to a BIOS.\n" \ - "here's a brief summary of keyboard commands:\n" \ + "deze applicatie werkt soortvan als een BIOS\n" \ + "hier is een lijst met sneltoetsen:\n" \ "\n" \ - " switch to next tab\n" \ - " exit\n" \ + " volgende tabblad\n" \ + " stoppen\n" \ "\n" \ #define W2_UI_ERROR_SEVERITY_CRIT "CRIT" diff --git a/client/makefile b/client/makefile index a23ce4f..d89c186 100644 --- a/client/makefile +++ b/client/makefile @@ -1,7 +1,7 @@ CC = gcc LD = gcc RM = rm -f -CFLAGS = +CFLAGS = -DW2_LANG_NL_NL LDFLAGS = -lncursesw EXECNAME = main -- cgit v1.2.3