Made NLS support contingent on having msgfmt, removed the deprecated meson.source_root(), and updated the translations

This commit is contained in:
Keith Bowes 2022-02-18 18:10:30 -05:00
parent 4cee7c4014
commit 740c8c3393
45 changed files with 2608 additions and 692 deletions

View file

@ -21,9 +21,11 @@ bool show_help(char *name)
}
int main(int argc, char **argv) {
#ifdef USE_NLS
setlocale(LC_ALL, "");
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
textdomain(GETTEXT_PACKAGE);
#endif
char *startup_cmd = NULL;
struct wb_server server = {0};