/*
- * "$Id: translate.c 6921 2007-09-06 13:38:37Z mike $"
+ * "$Id$"
*
- * HTTP-based translation program for the Common UNIX Printing System (CUPS).
+ * HTTP-based translation program for CUPS.
*
* This program uses Google to translate the CUPS template (cups.pot) to
* several different languages. The translation isn't perfect, but it's
* a start (better than working from scratch.)
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2010 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* Include necessary headers...
*/
-#include <cups/string.h>
-#include <cups/file.h>
-#include <cups/http.h>
-#include <cups/i18n.h>
-#include <stdlib.h>
+#include <cups/cups-private.h>
#include <unistd.h>
}
if (access(argv[1], 0))
- cat = _cupsMessageLoad("cups.pot");
+ cat = _cupsMessageLoad("cups.pot", 1);
else
- cat = _cupsMessageLoad(argv[1]);
+ cat = _cupsMessageLoad(argv[1], 1);
if (!cat)
{
/*
- * End of "$Id: translate.c 6921 2007-09-06 13:38:37Z mike $".
+ * End of "$Id$".
*/