#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
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to