From: Tanu Kaskinen Date: Mon, 24 Mar 2014 07:17:53 +0000 (+0200) Subject: core-util: Make pa_yes_no() translatable X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/cd13fb368dd5ee286f83eba500098c37b0df28f0 core-util: Make pa_yes_no() translatable BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=76529 --- diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h index e6cb261b..9596b975 100644 --- a/src/pulsecore/core-util.h +++ b/src/pulsecore/core-util.h @@ -35,6 +35,8 @@ #include #include + +#include #include #include @@ -90,7 +92,7 @@ int pa_parse_boolean(const char *s) PA_GCC_PURE; int pa_parse_volume(const char *s, pa_volume_t *volume); static inline const char *pa_yes_no(bool b) { - return b ? "yes" : "no"; + return b ? _("yes") : _("no"); } static inline const char *pa_strnull(const char *x) {