Ticket #1435: edit_search_i18n.diff

File edit_search_i18n.diff, 512 bytes (added by dmartina, 10 years ago)

Patch adding _() in loop

  • src/search/lib.c

    diff -ur mc-4.7.0-pre1/src/search/lib.c mc-4.7.0-pre1.fix/src/search/lib.c
    old new  
    253253    while (type_str->str) { 
    254254        if (tmp->len) 
    255255            g_string_append (tmp, "__||__"); 
    256         g_string_append (tmp, type_str->str); 
     256        g_string_append (tmp, _(type_str->str)); 
    257257        type_str++; 
    258258    } 
    259259    ret = g_strsplit (tmp->str, "__||__", -1);