1 --- cups-1.3.7/locale/translate.c~ 2008-07-19 22:39:11.000000000 +0300
2 +++ cups-1.3.7/locale/translate.c 2008-07-19 22:39:54.082523396 +0300
7 - * Find the first textarea element - that will have the translation data...
8 + * Find the div containing translation
11 - if ((bufptr = strstr(buffer, "<textarea")) == NULL)
12 + if ((bufptr = strstr(buffer, "<div id=result_box")) == NULL)
18 - puts("NO TEXTAREA!");
19 + puts("NO div id=result_box!");
24 * textarea doesn't end, abort!
27 - puts("TEXTAREA SHORT DATA!");
28 + puts("DIV SHORT DATA!");
35 - if ((bufend = strstr(bufptr, "</textarea>")) == NULL)
36 + if ((bufend = strstr(bufptr, "</div>")) == NULL)
39 * textarea doesn't close, abort!
42 - puts("/TEXTAREA SHORT DATA!");
43 + puts("/DIV SHORT DATA!");