//
// Shared message catalog class for the CUPS PPD Compiler.
//
-// Copyright 2007-2016 by Apple Inc.
+// Copyright 2007-2017 by Apple Inc.
// Copyright 2002-2006 by Easy Software Products.
//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
+// Licensed under Apache License v2.0. See the file "LICENSE" for more information.
//
//
filename = new ppdcString(f);
messages = new ppdcArray();
- if (l)
+ if (l && strcmp(l, "en"))
{
// Try loading the base messages for this locale...
char pofile[1024]; // Message catalog file
else if (!strcmp(ptr, ".strings"))
{
/*
- * Read messages in OS X ".strings" format, which are either UTF-8/UTF-16
+ * Read messages in macOS ".strings" format, which are either UTF-8/UTF-16
* text files of the format:
*
* "id" = "str";