Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

refactor: refactor locale imports to use en-US as the base type for various language files (#5256)

白熱69d0a8d3a7e9
diff --git a/packages-experimental/uni-formula-ui/src/locale/en-US.ts b/packages-experimental/uni-formula-ui/src/locale/en-US.ts
index 242dc28fe9..5609285675 100644
--- a/packages-experimental/uni-formula-ui/src/locale/en-US.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'uni-formula': {
popup: {
title: {
diff --git a/packages-experimental/uni-formula-ui/src/locale/fa-IR.ts b/packages-experimental/uni-formula-ui/src/locale/fa-IR.ts
index 1776a4b1f0..60e6fa98ad 100644
--- a/packages-experimental/uni-formula-ui/src/locale/fa-IR.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'uni-formula': {
popup: {
title: {
diff --git a/packages-experimental/uni-formula-ui/src/locale/ru-RU.ts b/packages-experimental/uni-formula-ui/src/locale/ru-RU.ts
index 242dc28fe9..9ff3b4452f 100644
--- a/packages-experimental/uni-formula-ui/src/locale/ru-RU.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'uni-formula': {
popup: {
title: {
diff --git a/packages-experimental/uni-formula-ui/src/locale/vi-VN.ts b/packages-experimental/uni-formula-ui/src/locale/vi-VN.ts
index 242dc28fe9..9ff3b4452f 100644
--- a/packages-experimental/uni-formula-ui/src/locale/vi-VN.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'uni-formula': {
popup: {
title: {
diff --git a/packages-experimental/uni-formula-ui/src/locale/zh-CN.ts b/packages-experimental/uni-formula-ui/src/locale/zh-CN.ts
index 10b2966830..8e7a9ab1c0 100644
--- a/packages-experimental/uni-formula-ui/src/locale/zh-CN.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'uni-formula': {
popup: {
title: {
diff --git a/packages-experimental/uni-formula-ui/src/locale/zh-TW.ts b/packages-experimental/uni-formula-ui/src/locale/zh-TW.ts
index 242dc28fe9..9ff3b4452f 100644
--- a/packages-experimental/uni-formula-ui/src/locale/zh-TW.ts
+++ b/packages-experimental/uni-formula-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'uni-formula': {
popup: {
title: {
diff --git a/packages/action-recorder/src/locale/en-US.ts b/packages/action-recorder/src/locale/en-US.ts
index d6a4aecbb4..69f9e2c2db 100644
--- a/packages/action-recorder/src/locale/en-US.ts
+++ b/packages/action-recorder/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'action-recorder': {
menu: {
title: 'Record Actions',
diff --git a/packages/action-recorder/src/locale/fa-IR.ts b/packages/action-recorder/src/locale/fa-IR.ts
index 9d96bbc10c..e36e23e7b8 100644
--- a/packages/action-recorder/src/locale/fa-IR.ts
+++ b/packages/action-recorder/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: 'ثبت اقدامات',
diff --git a/packages/action-recorder/src/locale/ru-RU.ts b/packages/action-recorder/src/locale/ru-RU.ts
index d6a4aecbb4..7333b08ed8 100644
--- a/packages/action-recorder/src/locale/ru-RU.ts
+++ b/packages/action-recorder/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: 'Record Actions',
diff --git a/packages/action-recorder/src/locale/vi-VN.ts b/packages/action-recorder/src/locale/vi-VN.ts
index d6a4aecbb4..7333b08ed8 100644
--- a/packages/action-recorder/src/locale/vi-VN.ts
+++ b/packages/action-recorder/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: 'Record Actions',
diff --git a/packages/action-recorder/src/locale/zh-CN.ts b/packages/action-recorder/src/locale/zh-CN.ts
index 69514c2e32..72ec15db5b 100644
--- a/packages/action-recorder/src/locale/zh-CN.ts
+++ b/packages/action-recorder/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: '操作录制',
diff --git a/packages/action-recorder/src/locale/zh-TW.ts b/packages/action-recorder/src/locale/zh-TW.ts
index f312b6ed5d..72ec15db5b 100644
--- a/packages/action-recorder/src/locale/zh-TW.ts
+++ b/packages/action-recorder/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: '操作录制',
diff --git a/packages/docs-drawing-ui/src/locale/en-US.ts b/packages/docs-drawing-ui/src/locale/en-US.ts
index a5694749bb..0c52b5473b 100644
--- a/packages/docs-drawing-ui/src/locale/en-US.ts
+++ b/packages/docs-drawing-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
docImage: {
title: 'Image',
diff --git a/packages/docs-drawing-ui/src/locale/fa-IR.ts b/packages/docs-drawing-ui/src/locale/fa-IR.ts
index fcaaf24bcc..9c8f5f6378 100644
--- a/packages/docs-drawing-ui/src/locale/fa-IR.ts
+++ b/packages/docs-drawing-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docImage: {
title: 'تصویر',
diff --git a/packages/docs-drawing-ui/src/locale/ru-RU.ts b/packages/docs-drawing-ui/src/locale/ru-RU.ts
index 85309c7ad3..69ed91a69b 100644
--- a/packages/docs-drawing-ui/src/locale/ru-RU.ts
+++ b/packages/docs-drawing-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docImage: {
title: 'Изображение',
diff --git a/packages/docs-drawing-ui/src/locale/vi-VN.ts b/packages/docs-drawing-ui/src/locale/vi-VN.ts
index e6460872a7..6e41f07286 100644
--- a/packages/docs-drawing-ui/src/locale/vi-VN.ts
+++ b/packages/docs-drawing-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docImage: {
title: 'Hình ảnh',
diff --git a/packages/docs-drawing-ui/src/locale/zh-CN.ts b/packages/docs-drawing-ui/src/locale/zh-CN.ts
index 64bd7658d9..621d9ff074 100644
--- a/packages/docs-drawing-ui/src/locale/zh-CN.ts
+++ b/packages/docs-drawing-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docImage: {
title: '图片',
diff --git a/packages/docs-drawing-ui/src/locale/zh-TW.ts b/packages/docs-drawing-ui/src/locale/zh-TW.ts
index 8185d38723..2bef53a8e9 100644
--- a/packages/docs-drawing-ui/src/locale/zh-TW.ts
+++ b/packages/docs-drawing-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docImage: {
title: '圖片',
diff --git a/packages/docs-hyper-link-ui/src/locale/fa-IR.ts b/packages/docs-hyper-link-ui/src/locale/fa-IR.ts
index a6d51e5917..3f6f4156b2 100644
--- a/packages/docs-hyper-link-ui/src/locale/fa-IR.ts
+++ b/packages/docs-hyper-link-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'تایید',
diff --git a/packages/docs-hyper-link-ui/src/locale/vi-VN.ts b/packages/docs-hyper-link-ui/src/locale/vi-VN.ts
index 186e68789f..17d16fafdb 100644
--- a/packages/docs-hyper-link-ui/src/locale/vi-VN.ts
+++ b/packages/docs-hyper-link-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'Xác nhận',
diff --git a/packages/docs-hyper-link-ui/src/locale/zh-TW.ts b/packages/docs-hyper-link-ui/src/locale/zh-TW.ts
index 9a287dee6b..7bb69785b9 100644
--- a/packages/docs-hyper-link-ui/src/locale/zh-TW.ts
+++ b/packages/docs-hyper-link-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: '確認',
diff --git a/packages/docs-quick-insert-ui/src/locale/en-US.ts b/packages/docs-quick-insert-ui/src/locale/en-US.ts
index c9386d5e1c..edebfee5d2 100644
--- a/packages/docs-quick-insert-ui/src/locale/en-US.ts
+++ b/packages/docs-quick-insert-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
docQuickInsert: {
menu: {
numberedList: 'Numbered List',
diff --git a/packages/docs-quick-insert-ui/src/locale/fa-IR.ts b/packages/docs-quick-insert-ui/src/locale/fa-IR.ts
index 920de541e5..48b0740617 100644
--- a/packages/docs-quick-insert-ui/src/locale/fa-IR.ts
+++ b/packages/docs-quick-insert-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: 'لیست شمارهدار',
diff --git a/packages/docs-quick-insert-ui/src/locale/ru-RU.ts b/packages/docs-quick-insert-ui/src/locale/ru-RU.ts
index dea8d5d1b9..b8792b476b 100644
--- a/packages/docs-quick-insert-ui/src/locale/ru-RU.ts
+++ b/packages/docs-quick-insert-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: 'Список с нумерацией',
diff --git a/packages/docs-quick-insert-ui/src/locale/vi-VN.ts b/packages/docs-quick-insert-ui/src/locale/vi-VN.ts
index 7c81ade766..0376610ed4 100644
--- a/packages/docs-quick-insert-ui/src/locale/vi-VN.ts
+++ b/packages/docs-quick-insert-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: 'Danh sách được đánh số',
diff --git a/packages/docs-quick-insert-ui/src/locale/zh-CN.ts b/packages/docs-quick-insert-ui/src/locale/zh-CN.ts
index 9e72dba9df..9df8c10b70 100644
--- a/packages/docs-quick-insert-ui/src/locale/zh-CN.ts
+++ b/packages/docs-quick-insert-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: '有序列表',
diff --git a/packages/docs-quick-insert-ui/src/locale/zh-TW.ts b/packages/docs-quick-insert-ui/src/locale/zh-TW.ts
index fa76374f7e..5a388faf88 100644
--- a/packages/docs-quick-insert-ui/src/locale/zh-TW.ts
+++ b/packages/docs-quick-insert-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: '有序列表',
diff --git a/packages/docs-ui/src/locale/en-US.ts b/packages/docs-ui/src/locale/en-US.ts
index 828ce11772..6c5ba02037 100644
--- a/packages/docs-ui/src/locale/en-US.ts
+++ b/packages/docs-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
toolbar: {
undo: 'Undo',
redo: 'Redo',
@@ -100,6 +98,10 @@ const locale: typeof zhCN = {
},
},
rightClick: {
+ copy: 'Copy',
+ cut: 'Cut',
+ paste: 'Paste',
+ delete: 'Delete',
bulletList: 'Bullet list',
orderList: 'Ordered list',
checkList: 'Task list',
diff --git a/packages/docs-ui/src/locale/fa-IR.ts b/packages/docs-ui/src/locale/fa-IR.ts
index 3ccc76b2f0..c8578edcb1 100644
--- a/packages/docs-ui/src/locale/fa-IR.ts
+++ b/packages/docs-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
undo: 'بازگرداندن',
redo: 'تکرار',
@@ -100,6 +100,10 @@ const locale: typeof zhCN = {
},
},
rightClick: {
+ copy: 'کپی',
+ cut: 'برش',
+ paste: 'چسباندن',
+ delete: 'حذف',
bulletList: 'لیست بدون شماره',
orderList: 'لیست شماره‌دار',
checkList: 'لیست وظیفه',
diff --git a/packages/docs-ui/src/locale/fr-FR.ts b/packages/docs-ui/src/locale/fr-FR.ts
index 435c452eaa..ffc4ee7893 100644
--- a/packages/docs-ui/src/locale/fr-FR.ts
+++ b/packages/docs-ui/src/locale/fr-FR.ts
@@ -100,6 +100,10 @@ const locale: typeof enUS = {
},
},
rightClick: {
+ copy: 'Copier',
+ cut: 'Couper',
+ paste: 'Coller',
+ delete: 'Supprimer',
bulletList: 'Liste non ordonnée',
orderList: 'Liste ordonnée',
checkList: 'Liste de tâches',
diff --git a/packages/docs-ui/src/locale/ru-RU.ts b/packages/docs-ui/src/locale/ru-RU.ts
index 1d2d9f56ed..461464e532 100644
--- a/packages/docs-ui/src/locale/ru-RU.ts
+++ b/packages/docs-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
undo: 'Отменить',
redo: 'Повторить',
@@ -100,6 +100,10 @@ const locale: typeof zhCN = {
},
},
rightClick: {
+ copy: 'Копировать',
+ cut: 'Вырезать',
+ paste: 'Вставить',
+ delete: 'Удалить',
bulletList: 'Неупорядоченный список',
orderList: 'Упорядоченный список',
checkList: 'Список задач',
diff --git a/packages/docs-ui/src/locale/vi-VN.ts b/packages/docs-ui/src/locale/vi-VN.ts
index 14d1d7fdce..2bf406ec24 100644
--- a/packages/docs-ui/src/locale/vi-VN.ts
+++ b/packages/docs-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
undo: 'Hoàn tác',
redo: 'Làm lại',
@@ -100,6 +100,10 @@ const locale: typeof zhCN = {
},
},
rightClick: {
+ copy: 'Sao chép',
+ cut: 'Cắt',
+ paste: 'Dán',
+ delete: 'Xóa',
bulletList: 'Danh sách không thứ tự',
orderList: 'Danh sách có thứ tự',
checkList: 'Danh sách công việc',
diff --git a/packages/docs-ui/src/locale/zh-CN.ts b/packages/docs-ui/src/locale/zh-CN.ts
index 65f1883bd2..fa6192abed 100644
--- a/packages/docs-ui/src/locale/zh-CN.ts
+++ b/packages/docs-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
undo: '撤销',
redo: '重做',
@@ -98,6 +100,10 @@ const locale = {
},
},
rightClick: {
+ copy: '复制',
+ cut: '剪切',
+ paste: '粘贴',
+ delete: '删除',
bulletList: '无序列表',
orderList: '有序列表',
checkList: '任务列表',
diff --git a/packages/docs-ui/src/locale/zh-TW.ts b/packages/docs-ui/src/locale/zh-TW.ts
index c698c2d244..6cf67c3772 100644
--- a/packages/docs-ui/src/locale/zh-TW.ts
+++ b/packages/docs-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
undo: '撤銷',
redo: '重做',
@@ -100,6 +100,10 @@ const locale: typeof zhCN = {
},
},
rightClick: {
+ copy: '複製',
+ cut: '剪切',
+ paste: '貼上',
+ delete: '刪除',
bulletList: '無序列表',
orderList: '有序列表',
checkList: '任務列表',
diff --git a/packages/drawing-ui/src/locale/en-US.ts b/packages/drawing-ui/src/locale/en-US.ts
index 3943ef2746..6929868650 100644
--- a/packages/drawing-ui/src/locale/en-US.ts
+++ b/packages/drawing-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'image-popup': {
replace: 'Replace',
delete: 'Delete',
diff --git a/packages/drawing-ui/src/locale/fa-IR.ts b/packages/drawing-ui/src/locale/fa-IR.ts
index 0894c4ff39..3312f34dd3 100644
--- a/packages/drawing-ui/src/locale/fa-IR.ts
+++ b/packages/drawing-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'image-popup': {
replace: 'تعویض',
delete: 'حذف',
diff --git a/packages/drawing-ui/src/locale/ru-RU.ts b/packages/drawing-ui/src/locale/ru-RU.ts
index 3fcb90618b..d3b59530c6 100644
--- a/packages/drawing-ui/src/locale/ru-RU.ts
+++ b/packages/drawing-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'image-popup': {
replace: 'Заменить',
delete: 'Удалить',
diff --git a/packages/drawing-ui/src/locale/vi-VN.ts b/packages/drawing-ui/src/locale/vi-VN.ts
index bd91faa853..a8767905b2 100644
--- a/packages/drawing-ui/src/locale/vi-VN.ts
+++ b/packages/drawing-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'image-popup': {
replace: 'Thay thế',
delete: 'Xóa',
diff --git a/packages/drawing-ui/src/locale/zh-CN.ts b/packages/drawing-ui/src/locale/zh-CN.ts
index ef750b49e7..58edba19a1 100644
--- a/packages/drawing-ui/src/locale/zh-CN.ts
+++ b/packages/drawing-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'image-popup': {
replace: '替换',
delete: '删除',
diff --git a/packages/drawing-ui/src/locale/zh-TW.ts b/packages/drawing-ui/src/locale/zh-TW.ts
index 18fd8a9b84..93da3e24e7 100644
--- a/packages/drawing-ui/src/locale/zh-TW.ts
+++ b/packages/drawing-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'image-popup': {
replace: '替換',
delete: '刪除',
diff --git a/packages/find-replace/src/locale/en-US.ts b/packages/find-replace/src/locale/en-US.ts
index 329b752ec5..a333b05e7c 100644
--- a/packages/find-replace/src/locale/en-US.ts
+++ b/packages/find-replace/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'find-replace': {
toolbar: 'Find & Replace',
shortcut: {
diff --git a/packages/find-replace/src/locale/fa-IR.ts b/packages/find-replace/src/locale/fa-IR.ts
index 53c288a9d1..f1beb3f1f5 100644
--- a/packages/find-replace/src/locale/fa-IR.ts
+++ b/packages/find-replace/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'find-replace': {
toolbar: 'یافتن و جایگزینی',
shortcut: {
diff --git a/packages/find-replace/src/locale/ru-RU.ts b/packages/find-replace/src/locale/ru-RU.ts
index 52d8bdfef1..e6fffe3841 100644
--- a/packages/find-replace/src/locale/ru-RU.ts
+++ b/packages/find-replace/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'find-replace': {
toolbar: 'Найти и заменить',
shortcut: {
diff --git a/packages/find-replace/src/locale/vi-VN.ts b/packages/find-replace/src/locale/vi-VN.ts
index 08aef664fe..366fb16cb5 100644
--- a/packages/find-replace/src/locale/vi-VN.ts
+++ b/packages/find-replace/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'find-replace': {
toolbar: 'Tìm kiếm và Thay thế',
shortcut: {
diff --git a/packages/find-replace/src/locale/zh-CN.ts b/packages/find-replace/src/locale/zh-CN.ts
index 2e897629fe..257d81a3b2 100644
--- a/packages/find-replace/src/locale/zh-CN.ts
+++ b/packages/find-replace/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'find-replace': {
toolbar: '查找替换',
shortcut: {
diff --git a/packages/find-replace/src/locale/zh-TW.ts b/packages/find-replace/src/locale/zh-TW.ts
index d3b4f44f80..3b96064dde 100644
--- a/packages/find-replace/src/locale/zh-TW.ts
+++ b/packages/find-replace/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'find-replace': {
toolbar: '尋找替換',
shortcut: {
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/en-US.ts b/packages/sheets-conditional-formatting-ui/src/locale/en-US.ts
index 058b6b9d68..e5da0e1b56 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/en-US.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
sheet: {
cf: {
title: 'Conditional Formatting',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/fa-IR.ts b/packages/sheets-conditional-formatting-ui/src/locale/fa-IR.ts
index fdbc7abe0c..0491530e57 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
cf: {
title: 'قالب‌بندی شرطی',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/ru-RU.ts b/packages/sheets-conditional-formatting-ui/src/locale/ru-RU.ts
index 3217d4d845..5871172cf4 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
cf: {
title: 'Условное форматирование',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/vi-VN.ts b/packages/sheets-conditional-formatting-ui/src/locale/vi-VN.ts
index d9736390fd..f7df367583 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
cf: {
title: 'Định dạng có điều kiện',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/zh-CN.ts b/packages/sheets-conditional-formatting-ui/src/locale/zh-CN.ts
index 4d9898645a..8f6f295155 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
cf: {
title: '条件格式',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/zh-TW.ts b/packages/sheets-conditional-formatting-ui/src/locale/zh-TW.ts
index a058225668..3c1a18be3f 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
cf: {
title: '條件格式',
diff --git a/packages/sheets-crosshair-highlight/src/locale/en-US.ts b/packages/sheets-crosshair-highlight/src/locale/en-US.ts
index 1c80df22f9..2fc13cbe1d 100644
--- a/packages/sheets-crosshair-highlight/src/locale/en-US.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
crosshair: {
button: {
tooltip: 'Crosshair Highlight',
diff --git a/packages/sheets-crosshair-highlight/src/locale/fa-IR.ts b/packages/sheets-crosshair-highlight/src/locale/fa-IR.ts
index 51baabff45..0dcacd45b6 100644
--- a/packages/sheets-crosshair-highlight/src/locale/fa-IR.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: 'برجسته کردن خط نشانه',
diff --git a/packages/sheets-crosshair-highlight/src/locale/ru-RU.ts b/packages/sheets-crosshair-highlight/src/locale/ru-RU.ts
index 5ae4c8854e..d096497e6c 100644
--- a/packages/sheets-crosshair-highlight/src/locale/ru-RU.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: 'Перекрестный выделение',
diff --git a/packages/sheets-crosshair-highlight/src/locale/vi-VN.ts b/packages/sheets-crosshair-highlight/src/locale/vi-VN.ts
index 68a9eba39f..46a9bcd867 100644
--- a/packages/sheets-crosshair-highlight/src/locale/vi-VN.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: 'Đánh dấu chéo',
diff --git a/packages/sheets-crosshair-highlight/src/locale/zh-CN.ts b/packages/sheets-crosshair-highlight/src/locale/zh-CN.ts
index 5fbef24a8f..169b070f84 100644
--- a/packages/sheets-crosshair-highlight/src/locale/zh-CN.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: '十字高亮',
diff --git a/packages/sheets-crosshair-highlight/src/locale/zh-TW.ts b/packages/sheets-crosshair-highlight/src/locale/zh-TW.ts
index 28f7912cd6..169b070f84 100644
--- a/packages/sheets-crosshair-highlight/src/locale/zh-TW.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: '十字高亮',
diff --git a/packages/sheets-data-validation-ui/src/locale/en-US.ts b/packages/sheets-data-validation-ui/src/locale/en-US.ts
index 7172c25aa2..ac5d9cba0f 100644
--- a/packages/sheets-data-validation-ui/src/locale/en-US.ts
+++ b/packages/sheets-data-validation-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
dataValidation: {
title: 'Data validation',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/fa-IR.ts b/packages/sheets-data-validation-ui/src/locale/fa-IR.ts
index a067ef444f..dca06d59e0 100644
--- a/packages/sheets-data-validation-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-data-validation-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
dataValidation: {
title: 'اعتبارسنجی داده',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/ru-RU.ts b/packages/sheets-data-validation-ui/src/locale/ru-RU.ts
index 3fddbe0871..d7135b45d6 100644
--- a/packages/sheets-data-validation-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-data-validation-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
dataValidation: {
title: 'Проверка данных',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/vi-VN.ts b/packages/sheets-data-validation-ui/src/locale/vi-VN.ts
index 8fd8ada8d5..f09f56c751 100644
--- a/packages/sheets-data-validation-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-data-validation-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
dataValidation: {
title: 'Xác thực dữ liệu',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/zh-CN.ts b/packages/sheets-data-validation-ui/src/locale/zh-CN.ts
index 916e393874..a6514a39c1 100644
--- a/packages/sheets-data-validation-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-data-validation-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
dataValidation: {
title: '数据验证',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/zh-TW.ts b/packages/sheets-data-validation-ui/src/locale/zh-TW.ts
index e3a109fffb..86bd651873 100644
--- a/packages/sheets-data-validation-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-data-validation-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
dataValidation: {
title: '資料驗證',
validFail: {
diff --git a/packages/sheets-drawing-ui/src/locale/en-US.ts b/packages/sheets-drawing-ui/src/locale/en-US.ts
index 56f166737e..22ca5133d2 100644
--- a/packages/sheets-drawing-ui/src/locale/en-US.ts
+++ b/packages/sheets-drawing-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
sheetImage: {
title: 'Image',
diff --git a/packages/sheets-drawing-ui/src/locale/fa-IR.ts b/packages/sheets-drawing-ui/src/locale/fa-IR.ts
index 6c2a60b0b5..5ad2853808 100644
--- a/packages/sheets-drawing-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-drawing-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetImage: {
title: 'تصویر',
diff --git a/packages/sheets-drawing-ui/src/locale/ru-RU.ts b/packages/sheets-drawing-ui/src/locale/ru-RU.ts
index b006a226a8..1b7bd98219 100644
--- a/packages/sheets-drawing-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-drawing-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetImage: {
title: 'Изображение',
diff --git a/packages/sheets-drawing-ui/src/locale/vi-VN.ts b/packages/sheets-drawing-ui/src/locale/vi-VN.ts
index 59b6fc15d4..ae1516c220 100644
--- a/packages/sheets-drawing-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-drawing-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetImage: {
title: 'Hình ảnh',
diff --git a/packages/sheets-drawing-ui/src/locale/zh-CN.ts b/packages/sheets-drawing-ui/src/locale/zh-CN.ts
index 137bda2030..f58f191b68 100644
--- a/packages/sheets-drawing-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-drawing-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetImage: {
title: '图片',
diff --git a/packages/sheets-drawing-ui/src/locale/zh-TW.ts b/packages/sheets-drawing-ui/src/locale/zh-TW.ts
index ff0fc5e05c..852b406ff6 100644
--- a/packages/sheets-drawing-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-drawing-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetImage: {
title: '圖片',
diff --git a/packages/sheets-filter-ui/src/locale/en-US.ts b/packages/sheets-filter-ui/src/locale/en-US.ts
index af66c8728c..83f7da907e 100644
--- a/packages/sheets-filter-ui/src/locale/en-US.ts
+++ b/packages/sheets-filter-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'Toggle Filter',
diff --git a/packages/sheets-filter-ui/src/locale/fa-IR.ts b/packages/sheets-filter-ui/src/locale/fa-IR.ts
index 0dab8af2b7..658d7719de 100644
--- a/packages/sheets-filter-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-filter-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'تغییر حالت فیلتر',
diff --git a/packages/sheets-filter-ui/src/locale/ru-RU.ts b/packages/sheets-filter-ui/src/locale/ru-RU.ts
index d56bb4e4e1..793dc8b330 100644
--- a/packages/sheets-filter-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-filter-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'Переключить фильтр',
diff --git a/packages/sheets-filter-ui/src/locale/vi-VN.ts b/packages/sheets-filter-ui/src/locale/vi-VN.ts
index ec25db4e92..68250890c1 100644
--- a/packages/sheets-filter-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-filter-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'Lọc',
diff --git a/packages/sheets-filter-ui/src/locale/zh-CN.ts b/packages/sheets-filter-ui/src/locale/zh-CN.ts
index 44efeb29c8..5b52f5de56 100644
--- a/packages/sheets-filter-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-filter-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': '筛选',
diff --git a/packages/sheets-filter-ui/src/locale/zh-TW.ts b/packages/sheets-filter-ui/src/locale/zh-TW.ts
index 9ffb69180e..84ee967658 100644
--- a/packages/sheets-filter-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-filter-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': '篩選',
diff --git a/packages/sheets-find-replace/src/locale/en-US.ts b/packages/sheets-find-replace/src/locale/en-US.ts
index 4eed6240a1..89b23d3fd9 100644
--- a/packages/sheets-find-replace/src/locale/en-US.ts
+++ b/packages/sheets-find-replace/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'sheet-find-replace': {
replace: {
'partial-failure': 'Failed to replace some cells',
diff --git a/packages/sheets-find-replace/src/locale/fa-IR.ts b/packages/sheets-find-replace/src/locale/fa-IR.ts
index 3ddd5302d3..8c08f6a1b4 100644
--- a/packages/sheets-find-replace/src/locale/fa-IR.ts
+++ b/packages/sheets-find-replace/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': 'جایگزینی برخی سلول‌ها ناموفق بود',
diff --git a/packages/sheets-find-replace/src/locale/ru-RU.ts b/packages/sheets-find-replace/src/locale/ru-RU.ts
index a847233b01..2e75da2bb7 100644
--- a/packages/sheets-find-replace/src/locale/ru-RU.ts
+++ b/packages/sheets-find-replace/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': 'Не удалось заменить некоторые ячейки',
diff --git a/packages/sheets-find-replace/src/locale/vi-VN.ts b/packages/sheets-find-replace/src/locale/vi-VN.ts
index 01e69e56dd..598e2b8de3 100644
--- a/packages/sheets-find-replace/src/locale/vi-VN.ts
+++ b/packages/sheets-find-replace/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': 'Thay thế một phần ô thất bại',
diff --git a/packages/sheets-find-replace/src/locale/zh-TW.ts b/packages/sheets-find-replace/src/locale/zh-TW.ts
index e1fdbaf2ae..c17d3e47f5 100644
--- a/packages/sheets-find-replace/src/locale/zh-TW.ts
+++ b/packages/sheets-find-replace/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': '部分單元格替換失敗',
diff --git a/packages/sheets-formula/src/locale/en-US.ts b/packages/sheets-formula/src/locale/en-US.ts
index 4b511f2b96..926b2e987b 100644
--- a/packages/sheets-formula/src/locale/en-US.ts
+++ b/packages/sheets-formula/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
formula: {
progress: {
analyzing: 'Analyzing',
diff --git a/packages/sheets-formula/src/locale/fa-IR.ts b/packages/sheets-formula/src/locale/fa-IR.ts
index 156c6ac74a..8198c48637 100644
--- a/packages/sheets-formula/src/locale/fa-IR.ts
+++ b/packages/sheets-formula/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'در حال تحلیل',
diff --git a/packages/sheets-formula/src/locale/fr-FR.ts b/packages/sheets-formula/src/locale/fr-FR.ts
index 707dc1b7b8..471a26366c 100644
--- a/packages/sheets-formula/src/locale/fr-FR.ts
+++ b/packages/sheets-formula/src/locale/fr-FR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'Analyse en cours',
diff --git a/packages/sheets-formula/src/locale/ru-RU.ts b/packages/sheets-formula/src/locale/ru-RU.ts
index 101936452e..d6dc6de1be 100644
--- a/packages/sheets-formula/src/locale/ru-RU.ts
+++ b/packages/sheets-formula/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'Анализ',
diff --git a/packages/sheets-formula/src/locale/vi-VN.ts b/packages/sheets-formula/src/locale/vi-VN.ts
index 20f96a4358..12e9fa81ec 100644
--- a/packages/sheets-formula/src/locale/vi-VN.ts
+++ b/packages/sheets-formula/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'Đang phân tích',
diff --git a/packages/sheets-formula/src/locale/zh-CN.ts b/packages/sheets-formula/src/locale/zh-CN.ts
index 6b71ff552a..de68aefee6 100644
--- a/packages/sheets-formula/src/locale/zh-CN.ts
+++ b/packages/sheets-formula/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: '分析中',
diff --git a/packages/sheets-formula/src/locale/zh-TW.ts b/packages/sheets-formula/src/locale/zh-TW.ts
index ea45b27fec..3a0244710f 100644
--- a/packages/sheets-formula/src/locale/zh-TW.ts
+++ b/packages/sheets-formula/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: '分析中',
diff --git a/packages/sheets-hyper-link-ui/src/locale/fa-IR.ts b/packages/sheets-hyper-link-ui/src/locale/fa-IR.ts
index d80559ef50..b2e12cadac 100644
--- a/packages/sheets-hyper-link-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'ویرایش لینک',
diff --git a/packages/sheets-hyper-link-ui/src/locale/vi-VN.ts b/packages/sheets-hyper-link-ui/src/locale/vi-VN.ts
index 31752cb51d..bd39d997e2 100644
--- a/packages/sheets-hyper-link-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'Chỉnh sửa liên kết',
diff --git a/packages/sheets-hyper-link-ui/src/locale/zh-TW.ts b/packages/sheets-hyper-link-ui/src/locale/zh-TW.ts
index 283b2c5b57..1bca3362db 100644
--- a/packages/sheets-hyper-link-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: '編輯連結',
diff --git a/packages/sheets-note-ui/src/locale/en-US.ts b/packages/sheets-note-ui/src/locale/en-US.ts
index fe78f883d6..a3aac77819 100644
--- a/packages/sheets-note-ui/src/locale/en-US.ts
+++ b/packages/sheets-note-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
rightClick: {
addNote: 'Add Note',
deleteNote: 'Delete Note',
diff --git a/packages/sheets-note-ui/src/locale/fa-IR.ts b/packages/sheets-note-ui/src/locale/fa-IR.ts
index 38be5ea117..4579318ae9 100644
--- a/packages/sheets-note-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-note-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
addNote: 'افزودن یادداشت',
deleteNote: 'حذف یادداشت',
diff --git a/packages/sheets-note-ui/src/locale/fr-FR.ts b/packages/sheets-note-ui/src/locale/fr-FR.ts
index 22a429cddb..c3803f300f 100644
--- a/packages/sheets-note-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-note-ui/src/locale/fr-FR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
addNote: 'Ajouter une note',
deleteNote: 'Supprimer la note',
diff --git a/packages/sheets-note-ui/src/locale/ru-RU.ts b/packages/sheets-note-ui/src/locale/ru-RU.ts
index db2ee6c201..cd346e7756 100644
--- a/packages/sheets-note-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-note-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
addNote: 'Добавить примечание',
deleteNote: 'Удалить примечание',
diff --git a/packages/sheets-note-ui/src/locale/vi-VN.ts b/packages/sheets-note-ui/src/locale/vi-VN.ts
index 8896c6c4d4..076150f9b0 100644
--- a/packages/sheets-note-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-note-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
addNote: 'Thêm ghi chú',
deleteNote: 'Xóa ghi chú',
diff --git a/packages/sheets-note-ui/src/locale/zh-CN.ts b/packages/sheets-note-ui/src/locale/zh-CN.ts
index 59e0168abb..f226924ef6 100644
--- a/packages/sheets-note-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-note-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
addNote: '添加批注',
deleteNote: '删除批注',
diff --git a/packages/sheets-note-ui/src/locale/zh-TW.ts b/packages/sheets-note-ui/src/locale/zh-TW.ts
index be698a0584..e42e9b32f2 100644
--- a/packages/sheets-note-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-note-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
addNote: '添加批註',
deleteNote: '刪除批註',
diff --git a/packages/sheets-numfmt-ui/src/locale/en-US.ts b/packages/sheets-numfmt-ui/src/locale/en-US.ts
index e5557acdde..c148efd798 100644
--- a/packages/sheets-numfmt-ui/src/locale/en-US.ts
+++ b/packages/sheets-numfmt-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
sheet: {
numfmt: {
title: 'Number format',
diff --git a/packages/sheets-numfmt-ui/src/locale/fa-IR.ts b/packages/sheets-numfmt-ui/src/locale/fa-IR.ts
index db83d2980d..c6bd91fcf3 100644
--- a/packages/sheets-numfmt-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-numfmt-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: 'قالب‌بندی عدد',
diff --git a/packages/sheets-numfmt-ui/src/locale/ru-RU.ts b/packages/sheets-numfmt-ui/src/locale/ru-RU.ts
index 7835c73ab5..e48dfa9023 100644
--- a/packages/sheets-numfmt-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-numfmt-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: 'Формат числа',
diff --git a/packages/sheets-numfmt-ui/src/locale/vi-VN.ts b/packages/sheets-numfmt-ui/src/locale/vi-VN.ts
index 3fd610d9d0..9f3d394f1c 100644
--- a/packages/sheets-numfmt-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-numfmt-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: 'Định dạng số',
diff --git a/packages/sheets-numfmt-ui/src/locale/zh-CN.ts b/packages/sheets-numfmt-ui/src/locale/zh-CN.ts
index 439df276a5..50fa9e1dc9 100644
--- a/packages/sheets-numfmt-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-numfmt-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: '数字格式',
diff --git a/packages/sheets-numfmt-ui/src/locale/zh-TW.ts b/packages/sheets-numfmt-ui/src/locale/zh-TW.ts
index c049e93664..fa3c787a71 100644
--- a/packages/sheets-numfmt-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-numfmt-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: '數字格式',
diff --git a/packages/sheets-sort-ui/src/locale/en-US.ts b/packages/sheets-sort-ui/src/locale/en-US.ts
index 713a423d2d..83d0c7856b 100644
--- a/packages/sheets-sort-ui/src/locale/en-US.ts
+++ b/packages/sheets-sort-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'sheets-sort': {
general: {
sort: 'Sort',
diff --git a/packages/sheets-sort-ui/src/locale/fa-IR.ts b/packages/sheets-sort-ui/src/locale/fa-IR.ts
index ff9bf160cd..8d63a33df8 100644
--- a/packages/sheets-sort-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-sort-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: 'مرتب‌سازی',
diff --git a/packages/sheets-sort-ui/src/locale/ru-RU.ts b/packages/sheets-sort-ui/src/locale/ru-RU.ts
index bdbde226ad..f0ab041f93 100644
--- a/packages/sheets-sort-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-sort-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: 'Сортировка',
diff --git a/packages/sheets-sort-ui/src/locale/vi-VN.ts b/packages/sheets-sort-ui/src/locale/vi-VN.ts
index 3c10d02742..b9f6d5bc29 100644
--- a/packages/sheets-sort-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-sort-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: 'Sắp xếp',
diff --git a/packages/sheets-sort-ui/src/locale/zh-CN.ts b/packages/sheets-sort-ui/src/locale/zh-CN.ts
index c34f5bdcc6..8546d2a1ed 100644
--- a/packages/sheets-sort-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-sort-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: '排序',
diff --git a/packages/sheets-sort-ui/src/locale/zh-TW.ts b/packages/sheets-sort-ui/src/locale/zh-TW.ts
index 7af3a8f0fa..9e0e6db186 100644
--- a/packages/sheets-sort-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-sort-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: '排序',
diff --git a/packages/sheets-sort/src/locale/en-US.ts b/packages/sheets-sort/src/locale/en-US.ts
index e1b6563c89..ccef839c64 100644
--- a/packages/sheets-sort/src/locale/en-US.ts
+++ b/packages/sheets-sort/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
sheetsSort: {
title: 'Sort',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/fa-IR.ts b/packages/sheets-sort/src/locale/fa-IR.ts
index 64e25a8ecf..ff9d1fdfdb 100644
--- a/packages/sheets-sort/src/locale/fa-IR.ts
+++ b/packages/sheets-sort/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetsSort: {
title: 'مرتب‌سازی',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/ru-RU.ts b/packages/sheets-sort/src/locale/ru-RU.ts
index e1b6563c89..aa7dd2ab1d 100644
--- a/packages/sheets-sort/src/locale/ru-RU.ts
+++ b/packages/sheets-sort/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetsSort: {
title: 'Sort',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/vi-VN.ts b/packages/sheets-sort/src/locale/vi-VN.ts
index e1b6563c89..aa7dd2ab1d 100644
--- a/packages/sheets-sort/src/locale/vi-VN.ts
+++ b/packages/sheets-sort/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetsSort: {
title: 'Sort',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/zh-CN.ts b/packages/sheets-sort/src/locale/zh-CN.ts
index c0ae26a94d..2a64674dbe 100644
--- a/packages/sheets-sort/src/locale/zh-CN.ts
+++ b/packages/sheets-sort/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetsSort: {
title: '排序',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/zh-TW.ts b/packages/sheets-sort/src/locale/zh-TW.ts
index db3d769f7c..28743fa378 100644
--- a/packages/sheets-sort/src/locale/zh-TW.ts
+++ b/packages/sheets-sort/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheetsSort: {
title: 'Sắp xếp',
toolbar: {
diff --git a/packages/sheets-table-ui/src/locale/zh-CN.ts b/packages/sheets-table-ui/src/locale/zh-CN.ts
index f8e7e1e815..6a71beb4ad 100644
--- a/packages/sheets-table-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-table-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: '表格',
selectRange: '选择表格范围',
diff --git a/packages/sheets-ui/src/locale/en-US.ts b/packages/sheets-ui/src/locale/en-US.ts
index 206d9e5d99..10fcf709ef 100644
--- a/packages/sheets-ui/src/locale/en-US.ts
+++ b/packages/sheets-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
spreadsheetLabel: 'Spreadsheet',
spreadsheetRightLabel: 'more Sheets',
diff --git a/packages/sheets-ui/src/locale/fa-IR.ts b/packages/sheets-ui/src/locale/fa-IR.ts
index a4dd34f0a8..3627af6420 100644
--- a/packages/sheets-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
spreadsheetLabel: 'برگه گسترده',
spreadsheetRightLabel: 'برگه‌های بیشتر',
diff --git a/packages/sheets-ui/src/locale/ru-RU.ts b/packages/sheets-ui/src/locale/ru-RU.ts
index f2b488f43c..9ecb7424c0 100644
--- a/packages/sheets-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
spreadsheetLabel: 'Электронная таблица',
spreadsheetRightLabel: 'больше листов',
diff --git a/packages/sheets-ui/src/locale/vi-VN.ts b/packages/sheets-ui/src/locale/vi-VN.ts
index 4911663a71..c56056d2dc 100644
--- a/packages/sheets-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
spreadsheetLabel: 'Phụ lục',
spreadsheetRightLabel: 'Thêm Sheets',
diff --git a/packages/sheets-ui/src/locale/zh-CN.ts b/packages/sheets-ui/src/locale/zh-CN.ts
index 1b7536ee0e..0403e2d079 100644
--- a/packages/sheets-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
spreadsheetLabel: '插件',
spreadsheetRightLabel: '更多 Sheets',
diff --git a/packages/sheets-ui/src/locale/zh-TW.ts b/packages/sheets-ui/src/locale/zh-TW.ts
index d5e509feb5..b969ebb627 100644
--- a/packages/sheets-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
spreadsheetLabel: '插件',
spreadsheetRightLabel: '更多 Sheets',
diff --git a/packages/sheets-zen-editor/src/locale/en-US.ts b/packages/sheets-zen-editor/src/locale/en-US.ts
index b1a985c958..3d8adc0f74 100644
--- a/packages/sheets-zen-editor/src/locale/en-US.ts
+++ b/packages/sheets-zen-editor/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
rightClick: {
zenEditor: 'Full Screen Editor',
},
diff --git a/packages/sheets-zen-editor/src/locale/fa-IR.ts b/packages/sheets-zen-editor/src/locale/fa-IR.ts
index 0ec70e650b..033770e404 100644
--- a/packages/sheets-zen-editor/src/locale/fa-IR.ts
+++ b/packages/sheets-zen-editor/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
zenEditor: 'ویرایشگر تمام صفحه',
},
diff --git a/packages/sheets-zen-editor/src/locale/ru-RU.ts b/packages/sheets-zen-editor/src/locale/ru-RU.ts
index a9edf21c55..70fe4f7d45 100644
--- a/packages/sheets-zen-editor/src/locale/ru-RU.ts
+++ b/packages/sheets-zen-editor/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
zenEditor: 'Редактор на весь экран',
},
diff --git a/packages/sheets-zen-editor/src/locale/vi-VN.ts b/packages/sheets-zen-editor/src/locale/vi-VN.ts
index b32a0909e3..707b8d1ba7 100644
--- a/packages/sheets-zen-editor/src/locale/vi-VN.ts
+++ b/packages/sheets-zen-editor/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
zenEditor: 'Chế độ chỉnh sửa Zen',
},
diff --git a/packages/sheets-zen-editor/src/locale/zh-CN.ts b/packages/sheets-zen-editor/src/locale/zh-CN.ts
index 14f12f8d52..0e157a8e99 100644
--- a/packages/sheets-zen-editor/src/locale/zh-CN.ts
+++ b/packages/sheets-zen-editor/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
zenEditor: '禅模式编辑',
},
diff --git a/packages/sheets-zen-editor/src/locale/zh-TW.ts b/packages/sheets-zen-editor/src/locale/zh-TW.ts
index ed36670fd5..463253e748 100644
--- a/packages/sheets-zen-editor/src/locale/zh-TW.ts
+++ b/packages/sheets-zen-editor/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
rightClick: {
zenEditor: '禪模式編輯',
},
diff --git a/packages/sheets/src/locale/en-US.ts b/packages/sheets/src/locale/en-US.ts
index 0335c591cd..f273296b78 100644
--- a/packages/sheets/src/locale/en-US.ts
+++ b/packages/sheets/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
sheets: {
tabs: {
sheetCopy: '(Copy{0})',
diff --git a/packages/sheets/src/locale/fa-IR.ts b/packages/sheets/src/locale/fa-IR.ts
index 5879399e85..d6724ff96f 100644
--- a/packages/sheets/src/locale/fa-IR.ts
+++ b/packages/sheets/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(کپی{0})',
diff --git a/packages/sheets/src/locale/ru-RU.ts b/packages/sheets/src/locale/ru-RU.ts
index 3559bdd2fd..3dfcd6ca11 100644
--- a/packages/sheets/src/locale/ru-RU.ts
+++ b/packages/sheets/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(Копия{0})',
diff --git a/packages/sheets/src/locale/vi-VN.ts b/packages/sheets/src/locale/vi-VN.ts
index f4dd64f428..b12c7d3038 100644
--- a/packages/sheets/src/locale/vi-VN.ts
+++ b/packages/sheets/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(Bản sao {0})',
diff --git a/packages/sheets/src/locale/zh-CN.ts b/packages/sheets/src/locale/zh-CN.ts
index 0829d4ce02..435f68f192 100644
--- a/packages/sheets/src/locale/zh-CN.ts
+++ b/packages/sheets/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(副本{0})',
diff --git a/packages/sheets/src/locale/zh-TW.ts b/packages/sheets/src/locale/zh-TW.ts
index 0d75369f02..a0c37e85cf 100644
--- a/packages/sheets/src/locale/zh-TW.ts
+++ b/packages/sheets/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(副本{0})',
diff --git a/packages/slides-ui/src/locale/en-US.ts b/packages/slides-ui/src/locale/en-US.ts
index 3ac0795f9b..3a8da44975 100644
--- a/packages/slides-ui/src/locale/en-US.ts
+++ b/packages/slides-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
slide: {
append: 'Append Slide',
diff --git a/packages/slides-ui/src/locale/fa-IR.ts b/packages/slides-ui/src/locale/fa-IR.ts
index 6d2b3c4e92..7b98e012f6 100644
--- a/packages/slides-ui/src/locale/fa-IR.ts
+++ b/packages/slides-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
slide: {
append: 'اضافه کردن اسلاید',
diff --git a/packages/slides-ui/src/locale/zh-CN.ts b/packages/slides-ui/src/locale/zh-CN.ts
index c93d2fc0d4..44fef66611 100644
--- a/packages/slides-ui/src/locale/zh-CN.ts
+++ b/packages/slides-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
slide: {
append: '新增幻灯片',
diff --git a/packages/thread-comment-ui/src/locale/fa-IR.ts b/packages/thread-comment-ui/src/locale/fa-IR.ts
index 17c8ad4d26..02e7bb2a69 100644
--- a/packages/thread-comment-ui/src/locale/fa-IR.ts
+++ b/packages/thread-comment-ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: 'مدیریت نظرات',
diff --git a/packages/ui/src/locale/en-US.ts b/packages/ui/src/locale/en-US.ts
index e0aa92f9ab..113d504a6c 100644
--- a/packages/ui/src/locale/en-US.ts
+++ b/packages/ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
toolbar: {
heading: {
normal: 'Normal',
diff --git a/packages/ui/src/locale/fa-IR.ts b/packages/ui/src/locale/fa-IR.ts
index faebe1d8a4..da49fc6fff 100644
--- a/packages/ui/src/locale/fa-IR.ts
+++ b/packages/ui/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: 'متن عادی',
diff --git a/packages/ui/src/locale/ru-RU.ts b/packages/ui/src/locale/ru-RU.ts
index ac2572daef..4791a6d7ba 100644
--- a/packages/ui/src/locale/ru-RU.ts
+++ b/packages/ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: 'Обычный текст',
diff --git a/packages/ui/src/locale/vi-VN.ts b/packages/ui/src/locale/vi-VN.ts
index e8a8b0465f..19d7644f5f 100644
--- a/packages/ui/src/locale/vi-VN.ts
+++ b/packages/ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: 'Văn bản',
diff --git a/packages/ui/src/locale/zh-CN.ts b/packages/ui/src/locale/zh-CN.ts
index fe4bc34bee..de439ddfd1 100644
--- a/packages/ui/src/locale/zh-CN.ts
+++ b/packages/ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: '正文',
diff --git a/packages/ui/src/locale/zh-TW.ts b/packages/ui/src/locale/zh-TW.ts
index 70a032c693..66a530cf5e 100644
--- a/packages/ui/src/locale/zh-TW.ts
+++ b/packages/ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: '正文',
diff --git a/packages/uniscript/src/locale/en-US.ts b/packages/uniscript/src/locale/en-US.ts
index cb46a58611..a546d206fd 100644
--- a/packages/uniscript/src/locale/en-US.ts
+++ b/packages/uniscript/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const locale: typeof zhCN = {
+const locale = {
'script-panel': {
title: 'Uniscript',
tooltip: {
diff --git a/packages/uniscript/src/locale/fa-IR.ts b/packages/uniscript/src/locale/fa-IR.ts
index 33040131ac..b73649578e 100644
--- a/packages/uniscript/src/locale/fa-IR.ts
+++ b/packages/uniscript/src/locale/fa-IR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {
diff --git a/packages/uniscript/src/locale/ru-RU.ts b/packages/uniscript/src/locale/ru-RU.ts
index ba00d48d1b..49cbb4921f 100644
--- a/packages/uniscript/src/locale/ru-RU.ts
+++ b/packages/uniscript/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'script-panel': {
title: 'Юнискрипт',
tooltip: {
diff --git a/packages/uniscript/src/locale/vi-VN.ts b/packages/uniscript/src/locale/vi-VN.ts
index b9bfda9016..da8e31dc5a 100644
--- a/packages/uniscript/src/locale/vi-VN.ts
+++ b/packages/uniscript/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {
diff --git a/packages/uniscript/src/locale/zh-CN.ts b/packages/uniscript/src/locale/zh-CN.ts
index 7fd54a7991..26053dcf44 100644
--- a/packages/uniscript/src/locale/zh-CN.ts
+++ b/packages/uniscript/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {
diff --git a/packages/uniscript/src/locale/zh-TW.ts b/packages/uniscript/src/locale/zh-TW.ts
index 76fe7954d0..b1046e7630 100644
--- a/packages/uniscript/src/locale/zh-TW.ts
+++ b/packages/uniscript/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const locale: typeof zhCN = {
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {