summaryrefslogtreecommitdiff
path: root/tests/i18n.c
blob: c9d345376034d832998a20ffd71c2911435e4607 (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 (dump_translatable_strings(MSGS)) {
			logerr("dump_translatable_strings()");
			goto out;
		}
	}

	rc = EXIT_SUCCESS;
out:
	return rc;
}