mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
nls: add native language support
- adds labwc.pot and po files for de, es, it and sv - added notes in NEWS.md and CONTRIBUTING.md - addresses #269 - conditional upon `msgfmt` being installed - can be disabled at build time
This commit is contained in:
parent
e75af14d3d
commit
cbed8acf01
15 changed files with 301 additions and 10 deletions
|
|
@ -48,6 +48,13 @@
|
|||
#include "config/keybind.h"
|
||||
#include "config/rcxml.h"
|
||||
#include "ssd.h"
|
||||
#if HAVE_NLS
|
||||
#include <libintl.h>
|
||||
#include <locale.h>
|
||||
#define _ gettext
|
||||
#else
|
||||
#define _(s) (s)
|
||||
#endif
|
||||
|
||||
#define XCURSOR_DEFAULT "left_ptr"
|
||||
#define XCURSOR_SIZE 24
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue