From 7cef2a50e86d9cb405ec1004f12a61636cc91717 Mon Sep 17 00:00:00 2001 From: Iwona Just Date: Mon, 5 Feb 2024 11:01:07 +0000 Subject: [PATCH 1/2] removes no longer needed lang id mapping --- src/i18n/PhpMessageSource.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/i18n/PhpMessageSource.php b/src/i18n/PhpMessageSource.php index 7b181aa2cea..f069c6e2537 100644 --- a/src/i18n/PhpMessageSource.php +++ b/src/i18n/PhpMessageSource.php @@ -50,7 +50,6 @@ protected function getMessageFilePath($category, $language): string 'de-CH' => 'de', 'fr-CA' => 'fr', 'nb', 'nn' => 'nb-NO', - 'zh' => 'zh-CN', default => $language, }; } From 45076d12d90d1fad64f99563671e0a3d219583bf Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Mon, 5 Feb 2024 11:41:40 -0800 Subject: [PATCH 2/2] Release note [ci skip] --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b23855855a0..1cb3f47d19d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Fixed a bug where “Move to the left” and “Move to the right” actions within field layout designers weren’t always getting enabled when they should, if a new tab was added. - Fixed a bug where “Move to the left” and “Move to the right” actions within field layout designers were labelled incorrectly for right-to-left languages. - Fixed a bug where users with “Create entries” permission but not “Delete entries” weren’t allowed to delete their own unpublished drafts. ([#14294](https://github.com/craftcms/cms/issues/14294)) +- Fixed a bug where Yii-provided Chinese translations weren’t getting picked up in the control panel. ([#14287](https://github.com/craftcms/cms/issues/14287)) ## 4.7.1 - 2024-01-29