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.

fix: add missing translations (#6977)

wpxp1234562e29c8b14d2c
diff --git a/packages/docs-ui/src/views/page-settings/index.tsx b/packages/docs-ui/src/views/page-settings/index.tsx
index 861748fe2b..20caed71ce 100644
--- a/packages/docs-ui/src/views/page-settings/index.tsx
+++ b/packages/docs-ui/src/views/page-settings/index.tsx
@@ -172,7 +172,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
})}
onClick={() => handleModeChange(mode)}
>
- {localeService.t(mode === DocumentFlavor.MODERN ? 'page-settings.modern-mode' : 'page-settings.classic-mode')}
+ {localeService.t(mode === DocumentFlavor.MODERN ? 'docs-ui.page-settings.modern-mode' : 'docs-ui.page-settings.classic-mode')}
</button>
))}
</div>
@@ -180,7 +180,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
{settings.mode === DocumentFlavor.MODERN
? (
<div className="univer-flex univer-flex-col univer-gap-2.5">
- <SettingsLabel>{localeService.t('page-settings.modern-width')}</SettingsLabel>
+ <SettingsLabel>{localeService.t('docs-ui.page-settings.modern-width')}</SettingsLabel>
<div className="univer-grid univer-grid-cols-3 univer-gap-2">
{MODERN_WIDTH_OPTIONS.map((option) => (
<button
@@ -198,7 +198,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
})}
onClick={() => handleModernWidthChange(option)}
>
- <span>{localeService.t(`page-settings.modern-width-${option}`)}</span>
+ <span>{localeService.t(`docs-ui.page-settings.modern-width-${option}`)}</span>
<span className="univer-text-xs univer-font-normal univer-text-gray-400">
{MODERN_DOCUMENT_WIDTH[option]}
px
@@ -211,23 +211,23 @@ export function PageSettings(props: IConfirmChildrenProps) {
: (
<>
<div className="univer-flex univer-flex-col univer-gap-2">
- <SettingsLabel>{localeService.t('page-settings.paper-size')}</SettingsLabel>
+ <SettingsLabel>{localeService.t('docs-ui.page-settings.paper-size')}</SettingsLabel>
<Select
value={settings.paperSize}
onChange={handlePaperSizeChange}
options={PAPER_TYPES.map((p) => ({
- label: localeService.t(`page-settings.page-size.${p.toLocaleLowerCase()}`),
+ label: localeService.t(`docs-ui.page-settings.page-size.${p.toLocaleLowerCase()}`),
value: p,
}))}
/>
</div>
<div className="univer-flex univer-flex-col univer-gap-2">
- <SettingsLabel>{localeService.t('page-settings.custom-paper-size')}</SettingsLabel>
+ <SettingsLabel>{localeService.t('docs-ui.page-settings.custom-paper-size')}</SettingsLabel>
<div className="univer-flex univer-flex-col univer-gap-2.5">
<div className="univer-flex univer-gap-2.5">
<div className="univer-flex univer-flex-1 univer-flex-col univer-gap-2">
- <SettingsLabel muted>{localeService.t('page-settings.top')}</SettingsLabel>
+ <SettingsLabel muted>{localeService.t('docs-ui.page-settings.top')}</SettingsLabel>
<InputNumber
precision={2}
min={0}
@@ -237,7 +237,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
/>
</div>
<div className="univer-flex univer-flex-1 univer-flex-col univer-gap-2">
- <SettingsLabel muted>{localeService.t('page-settings.bottom')}</SettingsLabel>
+ <SettingsLabel muted>{localeService.t('docs-ui.page-settings.bottom')}</SettingsLabel>
<InputNumber
precision={2}
min={0}
@@ -249,7 +249,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
</div>
<div className="univer-flex univer-gap-2.5">
<div className="univer-flex univer-flex-1 univer-flex-col univer-gap-2">
- <SettingsLabel muted>{localeService.t('page-settings.left')}</SettingsLabel>
+ <SettingsLabel muted>{localeService.t('docs-ui.page-settings.left')}</SettingsLabel>
<InputNumber
precision={2}
min={0}
@@ -259,7 +259,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
/>
</div>
<div className="univer-flex univer-flex-1 univer-flex-col univer-gap-2">
- <SettingsLabel muted>{localeService.t('page-settings.right')}</SettingsLabel>
+ <SettingsLabel muted>{localeService.t('docs-ui.page-settings.right')}</SettingsLabel>
<InputNumber
precision={2}
min={0}
diff --git a/packages/sheets-thread-comment-ui/src/locale/ar-SA.ts b/packages/sheets-thread-comment-ui/src/locale/ar-SA.ts
index 11fa5b2e94..8a771b8e92 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ar-SA.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ar-SA.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'إدارة التعليقات',
+ },
menu: {
addComment: 'إضافة تعليق',
commentManagement: 'إدارة التعليقات',
diff --git a/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts b/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
index cb453a8ba2..0e6da0ce61 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Gestió de comentaris',
+ },
menu: {
addComment: 'Afegeix un comentari',
commentManagement: 'Gestió de comentaris',
diff --git a/packages/sheets-thread-comment-ui/src/locale/de-DE.ts b/packages/sheets-thread-comment-ui/src/locale/de-DE.ts
index 3c3bfb5db5..a62e3d21a5 100644
--- a/packages/sheets-thread-comment-ui/src/locale/de-DE.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/de-DE.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Kommentarverwaltung',
+ },
menu: {
addComment: 'Kommentar hinzufügen',
commentManagement: 'Kommentarverwaltung',
diff --git a/packages/sheets-thread-comment-ui/src/locale/en-US.ts b/packages/sheets-thread-comment-ui/src/locale/en-US.ts
index 80247d5c0b..8ca8d21e72 100644
--- a/packages/sheets-thread-comment-ui/src/locale/en-US.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/en-US.ts
@@ -16,6 +16,9 @@
const locale = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Comment Management',
+ },
menu: {
addComment: 'Add Comment',
commentManagement: 'Comment Management',
diff --git a/packages/sheets-thread-comment-ui/src/locale/es-ES.ts b/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
index 4af1f56490..18df80823b 100644
--- a/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Gestión de comentarios',
+ },
menu: {
addComment: 'Añadir comentario',
commentManagement: 'Gestión de comentarios',
diff --git a/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts b/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
index 5886af67fc..888fa3af26 100644
--- a/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'مدیریت نظر',
+ },
menu: {
addComment: 'افزودن نظر',
commentManagement: 'مدیریت نظر',
diff --git a/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts b/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
index e620a6df40..f5a0e13079 100644
--- a/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Gestion des commentaires',
+ },
menu: {
addComment: 'Ajouter un commentaire',
commentManagement: 'Gestion des commentaires',
diff --git a/packages/sheets-thread-comment-ui/src/locale/id-ID.ts b/packages/sheets-thread-comment-ui/src/locale/id-ID.ts
index 82e8c6db90..727575726f 100644
--- a/packages/sheets-thread-comment-ui/src/locale/id-ID.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/id-ID.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Manajemen Komentar',
+ },
menu: {
addComment: 'Tambah Komentar',
commentManagement: 'Manajemen Komentar',
diff --git a/packages/sheets-thread-comment-ui/src/locale/it-IT.ts b/packages/sheets-thread-comment-ui/src/locale/it-IT.ts
index e75ff5b0ec..277aa7d09e 100644
--- a/packages/sheets-thread-comment-ui/src/locale/it-IT.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/it-IT.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Gestione commenti',
+ },
menu: {
addComment: 'Aggiungi commento',
commentManagement: 'Gestione commenti',
diff --git a/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts b/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts
index cd875f789e..8b4530658e 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'コメント管理',
+ },
menu: {
addComment: 'コメントを追加',
commentManagement: 'コメント管理',
diff --git a/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts b/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
index fd5d0a9d42..82d3d14152 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: '댓글 관리',
+ },
menu: {
addComment: '댓글 추가',
commentManagement: '댓글 관리',
diff --git a/packages/sheets-thread-comment-ui/src/locale/pl-PL.ts b/packages/sheets-thread-comment-ui/src/locale/pl-PL.ts
index 5f4ae94abf..ecac4d38f8 100644
--- a/packages/sheets-thread-comment-ui/src/locale/pl-PL.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/pl-PL.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Zarządzanie komentarzami',
+ },
menu: {
addComment: 'Dodaj komentarz',
commentManagement: 'Zarządzanie komentarzami',
diff --git a/packages/sheets-thread-comment-ui/src/locale/pt-BR.ts b/packages/sheets-thread-comment-ui/src/locale/pt-BR.ts
index 80bf98701c..00373a91c2 100644
--- a/packages/sheets-thread-comment-ui/src/locale/pt-BR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/pt-BR.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Gerenciamento de Comentários',
+ },
menu: {
addComment: 'Adicionar Comentário',
commentManagement: 'Gerenciamento de Comentários',
diff --git a/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts b/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
index b8706c091b..e63e974f6f 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Управление комментариями',
+ },
menu: {
addComment: 'Добавить комментарий',
commentManagement: 'Управление комментариями',
diff --git a/packages/sheets-thread-comment-ui/src/locale/sk-SK.ts b/packages/sheets-thread-comment-ui/src/locale/sk-SK.ts
index a976cb0fce..6e1cdfd00f 100644
--- a/packages/sheets-thread-comment-ui/src/locale/sk-SK.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/sk-SK.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Správa komentárov',
+ },
menu: {
addComment: 'Pridať komentár',
commentManagement: 'Správa komentárov',
diff --git a/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts b/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
index 1d2c11ea67..f844fbf5c4 100644
--- a/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: 'Quản lý bình luận',
+ },
menu: {
addComment: 'Thêm bình luận',
commentManagement: 'Quản lý bình luận',
diff --git a/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts b/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
index 88ff965e5d..3e0339eea9 100644
--- a/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: '评论管理',
+ },
menu: {
addComment: '添加评论',
commentManagement: '评论管理',
diff --git a/packages/sheets-thread-comment-ui/src/locale/zh-HK.ts b/packages/sheets-thread-comment-ui/src/locale/zh-HK.ts
index ffa9436b16..dbd834b9fe 100644
--- a/packages/sheets-thread-comment-ui/src/locale/zh-HK.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/zh-HK.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: '評論管理',
+ },
menu: {
addComment: '新增評論',
commentManagement: '評論管理',
diff --git a/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts b/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
index ffa9436b16..dbd834b9fe 100644
--- a/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
@@ -18,6 +18,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-thread-comment-ui': {
+ panel: {
+ title: '評論管理',
+ },
menu: {
addComment: '新增評論',
commentManagement: '評論管理',