From: Michael R Sweet Date: Thu, 26 Jan 2017 20:44:09 +0000 (-0500) Subject: One other spot to catch another slightly different language ID for "traditional X-Git-Tag: v2.2.3~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14fdcd7a14c9e99ed6611bc7f4c669fe5c99371b;p=thirdparty%2Fcups.git One other spot to catch another slightly different language ID for "traditional chinese"... --- diff --git a/cups/language.c b/cups/language.c index 1a592f5471..690b219471 100644 --- a/cups/language.c +++ b/cups/language.c @@ -1402,10 +1402,11 @@ appleMessageLoad(const char *locale) /* I - Locale ID */ locale = "Japanese"; else if (!strncmp(locale, "es", 2)) locale = "Spanish"; - else if (!strcmp(locale, "zh_HK")) + else if (!strcmp(locale, "zh_HK") || !strncmp(locale, "zh-Hant", 7)) { /* * + * * * Try zh_TW first, then zh... Sigh... */