Ticket #922 (new enhancement)
Mix of translated and untranslated message
| Reported by: | goeran | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | clients | |
| Keywords: | Cc: | mkbosmans@… |
Description
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().
Change History
Note: See
TracTickets for help on using
tickets.
