]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
One other spot to catch another slightly different language ID for "traditional
authorMichael R Sweet <michaelrsweet@gmail.com>
Thu, 26 Jan 2017 20:44:09 +0000 (15:44 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Thu, 26 Jan 2017 20:44:09 +0000 (15:44 -0500)
chinese"...

cups/language.c

index 1a592f547115a7deeef31d06fd99ce31249c090f..690b219471d2399b2ff21c91726e2f2bd9866304 100644 (file)
@@ -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))
     {
      /*
       * <rdar://problem/22130168>
+      * <rdar://problem/27245567>
       *
       * Try zh_TW first, then zh...  Sigh...
       */