* Read the strings from the file...
*/
- lang->strings = _cupsMessageLoad(filename);
+ lang->strings = _cupsMessageLoad(filename, 1);
/*
* Return...
*/
cups_array_t * /* O - New message array */
-_cupsMessageLoad(const char *filename) /* I - Message catalog to load */
+_cupsMessageLoad(const char *filename, /* I - Message catalog to load */
+ int unquote) /* I - Unescape \foo in strings */
{
cups_file_t *fp; /* Message file */
cups_array_t *a; /* Message array */
* Unquote the text...
*/
- cups_unquote(ptr, ptr);
+ if (unquote)
+ cups_unquote(ptr, ptr);
/*
* Create or add to a message...