mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +00:00
i18n: define dummy ngettext if i18n is disabled.
We cannot blindly use gettext function and not define them when not using gettext.
This commit is contained in:
parent
59bf16352b
commit
4ba031a7e2
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
#define _(String) String
|
#define _(String) String
|
||||||
#define N_(String) String
|
#define N_(String) String
|
||||||
|
#define ngettext(Singular,Plural,Count) ((Count>1)?Plural:Singular)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#else
|
#else
|
||||||
#define _(String) String
|
#define _(String) String
|
||||||
#define N_(String) String
|
#define N_(String) String
|
||||||
|
#define ngettext(Singular,Plural,Count) ((Count>1)?Plural:Singular)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue