--- cups-1.3.7/locale/translate.c~ 2008-07-19 22:39:11.000000000 +0300 +++ cups-1.3.7/locale/translate.c 2008-07-19 22:39:54.082523396 +0300 @@ -293,16 +293,16 @@ *bufptr = '\0'; /* - * Find the first textarea element - that will have the translation data... + * Find the div containing translation */ - if ((bufptr = strstr(buffer, "")) == NULL) + if ((bufend = strstr(bufptr, "")) == NULL) { /* * textarea doesn't close, abort! */ - puts("/TEXTAREA SHORT DATA!"); + puts("/DIV SHORT DATA!"); ret = 0; break; }