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

@ -22,9 +22,13 @@
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
#include <libintl.h>
#include <locale.h>
#define _ gettext
#ifdef USE_NLS
# include <libintl.h>
# include <locale.h>
# define _ gettext
#else
# define _(s) (s)
#endif
#include "config.h"
#include "waybox/cursor.h"