core-util, pactl: Make one localised and one non-localised version of pa_yes_no

System Internals / PulseAudio - David Henningsson [canonical.com] - 20 April 2015 10:36 UTC

We currently use pa_yes_no to write module arguments, so they can not be localised. Instead add a new pa_yes_no_localised function and use it in pactl (and thus, revert all other places to use the non-localised version).

BugLink: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1445358

17e939d core-util, pactl: Make one localised and one non-localised version of pa_yes_no
src/pulsecore/core-util.h | 4 ++++
src/utils/pactl.c | 20 ++++++++++----------
2 files changed, 14 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share