Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Update Chinese text variant locales #2436

Merged
merged 5 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/utilities/psammead-storybook-helpers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
|---------|-------------|
| 7.0.1 | [PR#2436](https://github.com/bbc/psammead/pull/2436) Update chinese locales |
| 7.0.0 | [PR#2404](https://github.com/bbc/psammead/pull/2404) replace inputProvider and dirDecorator with withServicesInput |
| 6.2.0 | [PR#2407](https://github.com/bbc/psammead/pull/2407) adds buildRTLSubstories to create right-to-left variants of all stories |
| 6.1.0 | [PR#2402](https://github.com/bbc/psammead/pull/2402) adds withServicesKnob decorator |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/utilities/psammead-storybook-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-storybook-helpers",
"version": "7.0.0",
"version": "7.0.1",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ const LANGUAGE_VARIANTS = {
chineseSimp: {
text: '家长们在学校门口维权。',
script: 'chinese',
locale: 'zh',
locale: 'zh-cn',
},
chineseTrad: {
text: '家長們在學校門口維權。',
script: 'chinese',
locale: 'zh',
locale: 'zh-tw',
},
news: {
text: 'Could a computer ever create better art than a human?',
Expand Down Expand Up @@ -192,12 +192,12 @@ const LANGUAGE_VARIANTS = {
ukChinaSimp: {
text: '该计划的批评者说,这个政策不能解决住房短缺的问题(Credit: Alamy)',
script: 'chinese',
locale: 'zh',
locale: 'zh-cn',
},
ukChinaTrad: {
text: '該計劃的批評者說,這個政策不能解決住房短缺的問題(Credit: Alamy)',
script: 'chinese',
locale: 'zh',
locale: 'zh-tw',
},
ukrainian: {
text:
Expand Down