-CHANGES - 2.2.4 - 2017-06-30
+CHANGES - 2.2.5 - 2017-06-30
============================
+CHANGES IN CUPS V2.2.5
+----------------------
+
+- Fixed an issue with Chinese localizations on macOS (rdar://32419311)
+
+
CHANGES IN CUPS V2.2.4
----------------------
AC_PREREQ(2.60)
dnl Package name and version...
-AC_INIT([CUPS], [2.2.4], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
+AC_INIT([CUPS], [2.2.5], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
sinclude(config-scripts/cups-opsys.m4)
sinclude(config-scripts/cups-common.m4)
* Constants...
*/
-# define CUPS_VERSION 2.0204
+# define CUPS_VERSION 2.0205
# define CUPS_VERSION_MAJOR 2
# define CUPS_VERSION_MINOR 2
-# define CUPS_VERSION_PATCH 4
+# define CUPS_VERSION_PATCH 5
# define CUPS_BC_FD 3
/* Back-channel file descriptor for
{ "nb", "no" },
{ "nb_NO", "no" },
{ "zh-Hans", "zh_CN" },
+ { "zh_HANS", "zh_CN" },
{ "zh-Hant", "zh_TW" },
+ { "zh_HANT", "zh_TW" },
{ "zh-Hant_CN", "zh_TW" }
};
#endif /* __APPLE__ */
sizeof(apple_language_locale[0]));
i ++)
{
- if (!strcmp(locale, apple_language_locale[i].language))
+ size_t len = strlen(apple_language_locale[i].language);
+
+ if (!strcmp(locale, apple_language_locale[i].language) ||
+ (!strncmp(locale, apple_language_locale[i].language, len) && (locale[len] == '_' || locale[len] == '-')))
{
strlcpy(locale, apple_language_locale[i].locale, localesize);
break;
}
}
+ printf("media-empty: %s\n", ppdLocalizeIPPReason(ppd, "media-empty", NULL, buffer, sizeof(buffer)));
+
ppdClose(ppd);
}
}