summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-08 15:52:06 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-08 15:52:06 +0200
commit2e537232404bf5123bc92e7218156ec03160c68f (patch)
tree833c968203f5b68922deed94f787c6575c914c86
parent31fe6a4c0b2a00f7b7f81055fe5dfb3fc37326be (diff)
final version before assessment
-rw-r--r--client/i18n.h6
-rw-r--r--client/i18n/nl_nl.h12
-rw-r--r--client/makefile2
3 files changed, 13 insertions, 7 deletions
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" \
- "<tab> switch to next tab\n" \
- "<ctrl-c> exit\n" \
+ "<tab> volgende tabblad\n" \
+ "<ctrl-c> 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