labwc/include/translate.h
Johan Malm e075cae50c Add translate.h for HAVE_NLS includes/defines
...to shrink labwc.h footprint
2025-09-24 21:18:04 +01:00

14 lines
251 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_TRANSLATE_H
#define LABWC_TRANSLATE_H
#include "config.h"
#if HAVE_NLS
#include <libintl.h>
#include <locale.h>
#define _ gettext
#else
#define _(s) (s)
#endif
#endif /* LABWC_TRANSLATE_H */