Loading...
Searching...
No Matches
i18n.h
Go to the documentation of this file.
/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef PIPEWIRE_I18N_H
#define PIPEWIRE_I18N_H
#include <spa/support/i18n.h>
#ifdef __cplusplus
extern "C" {
#endif
SPA_FORMAT_ARG_FUNC(1) const char *pw_gettext(const char *msgid);
SPA_FORMAT_ARG_FUNC(1) const char *pw_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n);
#define _(String) (pw_gettext(String))
#define N_(String) (String)
#ifdef __cplusplus
}
#endif
#endif /* PIPEWIRE_I18N_H */
pw_ngettext
const char * pw_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n)
Definition pipewire.c:431
pw_gettext
const char * pw_gettext(const char *msgid)
Definition pipewire.c:426
SPA_FORMAT_ARG_FUNC
#define SPA_FORMAT_ARG_FUNC(arg1)
Definition defs.h:299
i18n.h
spa/support/i18n.h