summaryrefslogtreecommitdiff
path: root/client/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/strings.c')
-rw-r--r--client/strings.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/strings.c b/client/strings.c
index a119d9a..720f7b8 100644
--- a/client/strings.c
+++ b/client/strings.c
@@ -1,6 +1,7 @@
#include "strings.h"
char *g_w2_mode_strings[W2_MODE_COUNT];
+char *g_w2_tab_strings[W2_UI_TAB_COUNT];
void w2_strings_modes_init() {
g_w2_mode_strings[W2_M_CHRG] = W2_UI_MODE_CHRG;
@@ -12,4 +13,12 @@ void w2_strings_modes_init() {
g_w2_mode_strings[W2_M_SPIN] = W2_UI_MODE_SPIN;
}
-void w2_strings_init() { w2_strings_modes_init(); }
+void w2_strings_tabs_init() {
+ g_w2_tab_strings[W2_UI_TAB_START] = W2_UI_TAB_LABEL_START;
+ g_w2_tab_strings[W2_UI_TAB_DIRC] = W2_UI_TAB_LABEL_DIRC;
+}
+
+void w2_strings_init() {
+ w2_strings_modes_init();
+ w2_strings_tabs_init();
+}