summaryrefslogtreecommitdiff
path: root/tests/i18n.c
blob: f26d2ac048bb5de0651de9d226d574f79e39cac7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "../src/i18n.c"

#include <stdlib.h>

#include "../src/logerr.h"


int
main(void) {
	int rc = EXIT_FAILURE;

	if (getenv("DUMP_TRANSLATABLE_STRINGS")) {
		if (msgs_dump_translatable_strings(MSGS)) {
			logerr("dump_translatable_strings()");
			goto out;
		}
	}

	rc = EXIT_SUCCESS;
out:
	return rc;
}