Ticket #843: translate-strings.patch

File translate-strings.patch, 0.8 KB (added by kelemeng, 22 months ago)

Mark two strings for translation, these are visible there too

  • src/modules/alsa/alsa-mixer.c

    === modified file 'src/modules/alsa/alsa-mixer.c'
     
    30333033                if (!pa_strbuf_isempty(sb)) 
    30343034                    pa_strbuf_puts(sb, " + "); 
    30353035 
    3036                 pa_strbuf_printf(sb, "%s Output", m->description); 
     3036                pa_strbuf_printf(sb, _("%s Output"), m->description); 
    30373037            } 
    30383038 
    30393039        if (p->input_mappings) 
     
    30413041                if (!pa_strbuf_isempty(sb)) 
    30423042                    pa_strbuf_puts(sb, " + "); 
    30433043 
    3044                 pa_strbuf_printf(sb, "%s Input", m->description); 
     3044                pa_strbuf_printf(sb, _("%s Input"), m->description); 
    30453045            } 
    30463046 
    30473047        p->description = pa_strbuf_tostring_free(sb);