summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar grunfink2026-02-02 17:51:40 +0100
committerGravatar grunfink2026-02-02 17:51:40 +0100
commit7d24c6ff9460066479421473956bfce360ceb608 (patch)
tree45781f86496d8e5de1bcaeaf0cf4378f93887b18 /data.c
parentMerge pull request 'Update pt_BR translations' (#543) from daltux/snac2:pt_BR... (diff)
downloadsnac2-7d24c6ff9460066479421473956bfce360ceb608.tar.gz
snac2-7d24c6ff9460066479421473956bfce360ceb608.tar.xz
snac2-7d24c6ff9460066479421473956bfce360ceb608.zip
Added translatable month names.
Diffstat (limited to 'data.c')
-rw-r--r--data.c13
1 files changed, 13 insertions, 0 deletions
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)
41 FILE *f; 41 FILE *f;
42 xs_str *error = NULL; 42 xs_str *error = NULL;
43 43
44 months[0] = LL("Jan");
45 months[1] = LL("Feb");
46 months[2] = LL("Mar");
47 months[3] = LL("Apr");
48 months[4] = LL("May");
49 months[5] = LL("Jun");
50 months[6] = LL("Jul");
51 months[7] = LL("Aug");
52 months[8] = LL("Sep");
53 months[9] = LL("Oct");
54 months[10] = LL("Nov");
55 months[11] = LL("Dec");
56
44 pthread_mutex_init(&data_mutex, NULL); 57 pthread_mutex_init(&data_mutex, NULL);
45 58
46 srv_basedir = xs_str_new(basedir); 59 srv_basedir = xs_str_new(basedir);