PipeWire: i18n.h Source File

PipeWire 0.3.67

Loading...
Searching...
No Matches
src/pipewire/i18n.h
Go to the documentation of this file.
1/* PipeWire */
2/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef PIPEWIRE_I18N_H
6#define PIPEWIRE_I18N_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
20#include <spa/support/i18n.h>
21
22 SPA_FORMAT_ARG_FUNC(1) const char *pw_gettext(const char *msgid);
23 SPA_FORMAT_ARG_FUNC(1) const char *pw_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n);
24
25#define _(String) (pw_gettext(String))
26#define N_(String) (String)
27
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* PIPEWIRE_I18N_H */
SPA_FORMAT_ARG_FUNC
#define SPA_FORMAT_ARG_FUNC(arg1)
Definition: defs.h:275
i18n.h
spa/support/i18n.h