aboutsummaryrefslogtreecommitdiffstats
path: root/cups/ppd-localize.c
diff options
context:
space:
mode:
Diffstat (limited to 'cups/ppd-localize.c')
-rw-r--r--cups/ppd-localize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/ppd-localize.c b/cups/ppd-localize.c
index ed75bf86..9537ef5b 100644
--- a/cups/ppd-localize.c
+++ b/cups/ppd-localize.c
@@ -1,7 +1,7 @@
/*
* PPD localization routines for CUPS.
*
- * Copyright 2007-2017 by Apple Inc.
+ * Copyright 2007-2018 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -277,7 +277,7 @@ ppdLocalizeIPPReason(
if (!locattr)
{
- if (lang && (!scheme || !strcmp(scheme, "text")))
+ if (lang && (!scheme || !strcmp(scheme, "text")) && strcmp(reason, "none"))
{
/*
* Try to localize a standard printer-state-reason keyword...