[pulseaudio-tickets] [PulseAudio] #922: Mix of translated and untranslated message
PulseAudio
trac-noreply at tango.0pointer.de
Fri Mar 18 14:09:34 PDT 2011
#922: Mix of translated and untranslated message
--------------------+-------------------------------------------------------
Reporter: goeran | Owner: lennart
Type: defect | Status: new
Milestone: | Component: clients
Keywords: |
--------------------+-------------------------------------------------------
In src/utils/pacat.c there is this code:
{{{
pa_log(_("Connected to device %s (%u, %ssuspended)."),
pa_stream_get_device_name(s),
pa_stream_get_device_index(s),
pa_stream_is_suspended(s) ? "" : "not ");
}}}
The word "not" is not available for translation here. And building
messages from pieces in this way often breaks translations. I'm sure
there are some language where the word "suspended" should have different
forms depending on whether it is negated or not.
I making two complete messages instead, and selecting the entire message
based on the return value of pa_stream_is_suspended().
--
Ticket URL: <http://pulseaudio.org/ticket/922>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list