Skip to content

Commit

Permalink
fix: fix locales
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai committed Jul 30, 2024
1 parent 9df6173 commit 7a0d93f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 153 deletions.
8 changes: 2 additions & 6 deletions packages/slides-ui/src/locale/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
*/

import type zhCN from './zh-CN';
import enUS from './en-US.ts';

const locale: typeof zhCN = {
toolbar: {
undo: 'Отменить',
redo: 'Повторить',
},
};
const locale: typeof zhCN = enUS;

export default locale;
8 changes: 2 additions & 6 deletions packages/slides-ui/src/locale/vi-VN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
*/

import type zhCN from './zh-CN';
import enUS from './en-US.ts';

const locale: typeof zhCN = {
toolbar: {
undo: 'Hoàn tác',
redo: 'làm lại',
},
};
const locale: typeof zhCN = enUS;

export default locale;
8 changes: 2 additions & 6 deletions packages/slides-ui/src/locale/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
*/

import type zhCN from './zh-CN';
import enUS from './en-US.ts';

const locale: typeof zhCN = {
toolbar: {
undo: '撤銷',
redo: '重做',
},
};
const locale: typeof zhCN = enUS;

export default locale;
3 changes: 1 addition & 2 deletions packages/slides/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
],
"exports": {
".": "./src/index.ts",
"./*": "./src/*",
"./locale/*": "./src/locale/*.ts"
"./*": "./src/*"
},
"main": "./lib/cjs/index.js",
"module": "./lib/es/index.js",
Expand Down
29 changes: 0 additions & 29 deletions packages/slides/src/model/info-bar-model.ts

This file was deleted.

104 changes: 0 additions & 104 deletions packages/slides/src/model/toolbar-model.ts

This file was deleted.

0 comments on commit 7a0d93f

Please sign in to comment.