Skip to content

Commit

Permalink
Merge pull request #14290 from craftcms/bugfix/14287-chinese-translat…
Browse files Browse the repository at this point in the history
…ion-mapping-with-yii

removes no longer needed lang id mapping
  • Loading branch information
brandonkelly authored Feb 5, 2024
2 parents 8884f1d + 45076d1 commit 8332c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/i18n/PhpMessageSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
Expand Down

0 comments on commit 8332c9d

Please sign in to comment.