summaryrefslogtreecommitdiff
path: root/ppdc
diff options
context:
space:
mode:
authorMichael Sweet <msweet@msweet-retina.local>2016-04-14 12:09:35 -0400
committerMichael Sweet <msweet@msweet-retina.local>2016-04-14 12:09:35 -0400
commitb052deedae7221cdf197f55449734d0db3494664 (patch)
tree3f03289344a81a3159ee6ce55d2773763813d5c0 /ppdc
parente7a78c92a6529efbd69606569fc1efbf4451e14e (diff)
downloadcups-b052deedae7221cdf197f55449734d0db3494664.tar.gz
Fix some localization issues with Norwegian.
Diffstat (limited to 'ppdc')
-rw-r--r--ppdc/ppdc-catalog.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/ppdc/ppdc-catalog.cxx b/ppdc/ppdc-catalog.cxx
index 854b58de0..ad7157bc5 100644
--- a/ppdc/ppdc-catalog.cxx
+++ b/ppdc/ppdc-catalog.cxx
@@ -1,7 +1,7 @@
//
// Shared message catalog class for the CUPS PPD Compiler.
//
-// Copyright 2007-2014 by Apple Inc.
+// Copyright 2007-2016 by Apple Inc.
// Copyright 2002-2006 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
@@ -78,7 +78,9 @@ ppdcCatalog::ppdcCatalog(const char *l, // I - Locale
if (!strncmp(l, "en", 2))
tl = "English";
- else if (!strncmp(l, "nb", 2) || !strncmp(l, "nl", 2))
+ else if (!strncmp(l, "nb", 2))
+ tl = "no";
+ else if (!strncmp(l, "nl", 2))
tl = "Dutch";
else if (!strncmp(l, "fr", 2))
tl = "French";