From 7d24c6ff9460066479421473956bfce360ceb608 Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 2 Feb 2026 17:51:40 +0100 Subject: Added translatable month names. --- data.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'data.c') diff --git a/data.c b/data.c index 27825ad..6631b6d 100644 --- a/data.c +++ b/data.c @@ -41,6 +41,19 @@ int srv_open(const char *basedir, int auto_upgrade) FILE *f; xs_str *error = NULL; + months[0] = LL("Jan"); + months[1] = LL("Feb"); + months[2] = LL("Mar"); + months[3] = LL("Apr"); + months[4] = LL("May"); + months[5] = LL("Jun"); + months[6] = LL("Jul"); + months[7] = LL("Aug"); + months[8] = LL("Sep"); + months[9] = LL("Oct"); + months[10] = LL("Nov"); + months[11] = LL("Dec"); + pthread_mutex_init(&data_mutex, NULL); srv_basedir = xs_str_new(basedir); -- cgit v1.2.3