Skip to content

Commit 97a22da

Browse files
committed
Add changeset
1 parent c3e544d commit 97a22da

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@embedpdf/snippet': patch
3+
---
4+
5+
Add Traditional Chinese (`zh-TW`) locale strings to the snippet viewer, register them in the default translation bundle, and expose `zh-TW` in the CJK language group of the UI schema so users can select 繁體中文 in the viewer.

viewers/snippet/src/config/ui-schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const viewerUISchema: UISchema = {
2828
groups: [
2929
{
3030
id: 'cjk-languages',
31-
locales: ['zh-CN', 'ja'],
31+
locales: ['zh-CN', 'ja', 'zh-TW'],
3232
breakpoints: {
3333
sm: {
3434
replaceHide: ['zoom-toolbar', 'mode-select-button', 'form-mode', 'redact-mode'],

0 commit comments

Comments
 (0)