Skip to content

Commit 57215cb

Browse files
CopilotCopilot
andcommitted
feat(i18n): add dashboard/page editor translation keys to all locales
Add 15 new i18n keys for dashboard editor, page canvas editor, widget layout, preview, undo/redo to: zh, ja, de, fr, es, ar, ru, pt, ko Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 15bae9a commit 57215cb

9 files changed

Lines changed: 135 additions & 0 deletions

File tree

packages/i18n/src/locales/ar.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,21 @@ const ar = {
239239
navImportSuccess: 'تم استيراد هيكل التنقل',
240240
navImportError: 'ملف JSON تنقل غير صالح',
241241
navIconPlaceholder: 'اسم الأيقونة (مثل Users)',
242+
dashboardEditor: 'محرر لوحة المعلومات',
243+
noWidgets: 'لا توجد عناصر. انقر على زر أعلاه لإضافة واحد.',
244+
widgetLayoutSize: 'حجم التخطيط',
245+
widgetWidth: 'العرض',
246+
widgetHeight: 'الارتفاع',
247+
dashboardPreview: 'معاينة لوحة المعلومات',
248+
noWidgetsPreview: 'لا توجد عناصر للمعاينة',
249+
pageCanvasEditor: 'محرر لوحة الصفحة',
250+
emptyPage: 'صفحة فارغة. انقر على زر أعلاه لإضافة مكون.',
251+
pagePreview: 'معاينة الصفحة',
252+
noComponentsPreview: 'لا توجد مكونات للمعاينة',
253+
modePage: 'صفحة',
254+
modeDashboard: 'لوحة المعلومات',
255+
undo: 'تراجع',
256+
redo: 'إعادة',
242257
},
243258
console: {
244259
title: 'وحدة تحكم ObjectStack',

packages/i18n/src/locales/de.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const de = {
238238
navImportSuccess: 'Navigationsstruktur importiert',
239239
navImportError: 'Ungültiges Navigations-JSON',
240240
navIconPlaceholder: 'Symbolname (z.B. Users)',
241+
dashboardEditor: 'Dashboard-Editor',
242+
noWidgets: 'Keine Widgets. Klicken Sie oben auf eine Schaltfläche, um eines hinzuzufügen.',
243+
widgetLayoutSize: 'Layoutgröße',
244+
widgetWidth: 'Breite',
245+
widgetHeight: 'Höhe',
246+
dashboardPreview: 'Dashboard-Vorschau',
247+
noWidgetsPreview: 'Keine Widgets zur Vorschau',
248+
pageCanvasEditor: 'Seiten-Canvas-Editor',
249+
emptyPage: 'Leere Seite. Klicken Sie oben auf eine Schaltfläche, um eine Komponente hinzuzufügen.',
250+
pagePreview: 'Seitenvorschau',
251+
noComponentsPreview: 'Keine Komponenten zur Vorschau',
252+
modePage: 'Seite',
253+
modeDashboard: 'Dashboard',
254+
undo: 'Rückgängig',
255+
redo: 'Wiederholen',
241256
},
242257
console: {
243258
title: 'ObjectStack Konsole',

packages/i18n/src/locales/es.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const es = {
238238
navImportSuccess: 'Estructura de navegación importada',
239239
navImportError: 'JSON de navegación inválido',
240240
navIconPlaceholder: 'Nombre del icono (ej: Users)',
241+
dashboardEditor: 'Editor de panel',
242+
noWidgets: 'Sin widgets. Haz clic en un botón arriba para agregar uno.',
243+
widgetLayoutSize: 'Tamaño de diseño',
244+
widgetWidth: 'Ancho',
245+
widgetHeight: 'Alto',
246+
dashboardPreview: 'Vista previa del panel',
247+
noWidgetsPreview: 'Sin widgets para previsualizar',
248+
pageCanvasEditor: 'Editor de lienzo de página',
249+
emptyPage: 'Página vacía. Haz clic en un botón arriba para agregar un componente.',
250+
pagePreview: 'Vista previa de página',
251+
noComponentsPreview: 'Sin componentes para previsualizar',
252+
modePage: 'Página',
253+
modeDashboard: 'Panel',
254+
undo: 'Deshacer',
255+
redo: 'Rehacer',
241256
},
242257
console: {
243258
title: 'Consola ObjectStack',

packages/i18n/src/locales/fr.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const fr = {
238238
navImportSuccess: 'Structure de navigation importée',
239239
navImportError: 'JSON de navigation invalide',
240240
navIconPlaceholder: 'Nom d\'icône (ex: Users)',
241+
dashboardEditor: 'Éditeur de tableau de bord',
242+
noWidgets: 'Aucun widget. Cliquez sur un bouton ci-dessus pour en ajouter un.',
243+
widgetLayoutSize: 'Taille de mise en page',
244+
widgetWidth: 'Largeur',
245+
widgetHeight: 'Hauteur',
246+
dashboardPreview: 'Aperçu du tableau de bord',
247+
noWidgetsPreview: 'Aucun widget à prévisualiser',
248+
pageCanvasEditor: 'Éditeur de canevas de page',
249+
emptyPage: 'Page vide. Cliquez sur un bouton ci-dessus pour ajouter un composant.',
250+
pagePreview: 'Aperçu de la page',
251+
noComponentsPreview: 'Aucun composant à prévisualiser',
252+
modePage: 'Page',
253+
modeDashboard: 'Tableau de bord',
254+
undo: 'Annuler',
255+
redo: 'Rétablir',
241256
},
242257
console: {
243258
title: 'Console ObjectStack',

packages/i18n/src/locales/ja.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const ja = {
238238
navImportSuccess: 'ナビゲーション構造をインポートしました',
239239
navImportError: '無効なナビゲーション JSON',
240240
navIconPlaceholder: 'アイコン名(例: Users)',
241+
dashboardEditor: 'ダッシュボードエディター',
242+
noWidgets: 'ウィジェットがありません。上のボタンをクリックして追加してください。',
243+
widgetLayoutSize: 'レイアウトサイズ',
244+
widgetWidth: '幅',
245+
widgetHeight: '高さ',
246+
dashboardPreview: 'ダッシュボードプレビュー',
247+
noWidgetsPreview: 'プレビューするウィジェットがありません',
248+
pageCanvasEditor: 'ページキャンバスエディター',
249+
emptyPage: '空のページです。上のボタンをクリックしてコンポーネントを追加してください。',
250+
pagePreview: 'ページプレビュー',
251+
noComponentsPreview: 'プレビューするコンポーネントがありません',
252+
modePage: 'ページ',
253+
modeDashboard: 'ダッシュボード',
254+
undo: '元に戻す',
255+
redo: 'やり直し',
241256
},
242257
console: {
243258
title: 'ObjectStack コンソール',

packages/i18n/src/locales/ko.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const ko = {
238238
navImportSuccess: '내비게이션 구조를 가져왔습니다',
239239
navImportError: '잘못된 내비게이션 JSON',
240240
navIconPlaceholder: '아이콘 이름 (예: Users)',
241+
dashboardEditor: '대시보드 편집기',
242+
noWidgets: '위젯이 없습니다. 위의 버튼을 클릭하여 추가하세요.',
243+
widgetLayoutSize: '레이아웃 크기',
244+
widgetWidth: '너비',
245+
widgetHeight: '높이',
246+
dashboardPreview: '대시보드 미리보기',
247+
noWidgetsPreview: '미리볼 위젯이 없습니다',
248+
pageCanvasEditor: '페이지 캔버스 편집기',
249+
emptyPage: '빈 페이지입니다. 위의 버튼을 클릭하여 컴포넌트를 추가하세요.',
250+
pagePreview: '페이지 미리보기',
251+
noComponentsPreview: '미리볼 컴포넌트가 없습니다',
252+
modePage: '페이지',
253+
modeDashboard: '대시보드',
254+
undo: '실행 취소',
255+
redo: '다시 실행',
241256
},
242257
console: {
243258
title: 'ObjectStack 콘솔',

packages/i18n/src/locales/pt.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const pt = {
238238
navImportSuccess: 'Estrutura de navegação importada',
239239
navImportError: 'JSON de navegação inválido',
240240
navIconPlaceholder: 'Nome do ícone (ex: Users)',
241+
dashboardEditor: 'Editor de painel',
242+
noWidgets: 'Sem widgets. Clique em um botão acima para adicionar.',
243+
widgetLayoutSize: 'Tamanho do layout',
244+
widgetWidth: 'Largura',
245+
widgetHeight: 'Altura',
246+
dashboardPreview: 'Pré-visualização do painel',
247+
noWidgetsPreview: 'Sem widgets para pré-visualizar',
248+
pageCanvasEditor: 'Editor de tela de página',
249+
emptyPage: 'Página vazia. Clique em um botão acima para adicionar um componente.',
250+
pagePreview: 'Pré-visualização da página',
251+
noComponentsPreview: 'Sem componentes para pré-visualizar',
252+
modePage: 'Página',
253+
modeDashboard: 'Painel',
254+
undo: 'Desfazer',
255+
redo: 'Refazer',
241256
},
242257
console: {
243258
title: 'Console ObjectStack',

packages/i18n/src/locales/ru.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const ru = {
238238
navImportSuccess: 'Структура навигации импортирована',
239239
navImportError: 'Недопустимый JSON навигации',
240240
navIconPlaceholder: 'Имя иконки (напр. Users)',
241+
dashboardEditor: 'Редактор панели',
242+
noWidgets: 'Нет виджетов. Нажмите кнопку выше, чтобы добавить.',
243+
widgetLayoutSize: 'Размер макета',
244+
widgetWidth: 'Ширина',
245+
widgetHeight: 'Высота',
246+
dashboardPreview: 'Предпросмотр панели',
247+
noWidgetsPreview: 'Нет виджетов для предпросмотра',
248+
pageCanvasEditor: 'Редактор холста страницы',
249+
emptyPage: 'Пустая страница. Нажмите кнопку выше, чтобы добавить компонент.',
250+
pagePreview: 'Предпросмотр страницы',
251+
noComponentsPreview: 'Нет компонентов для предпросмотра',
252+
modePage: 'Страница',
253+
modeDashboard: 'Панель',
254+
undo: 'Отменить',
255+
redo: 'Повторить',
241256
},
242257
console: {
243258
title: 'Консоль ObjectStack',

packages/i18n/src/locales/zh.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,21 @@ const zh = {
238238
navImportSuccess: '导航结构已导入',
239239
navImportError: '无效的导航 JSON',
240240
navIconPlaceholder: '图标名称(如 Users)',
241+
dashboardEditor: '仪表盘编辑器',
242+
noWidgets: '暂无小组件。点击上方按钮添加。',
243+
widgetLayoutSize: '布局尺寸',
244+
widgetWidth: '宽度',
245+
widgetHeight: '高度',
246+
dashboardPreview: '仪表盘预览',
247+
noWidgetsPreview: '暂无可预览的小组件',
248+
pageCanvasEditor: '页面画布编辑器',
249+
emptyPage: '空白页面。点击上方按钮添加组件。',
250+
pagePreview: '页面预览',
251+
noComponentsPreview: '暂无可预览的组件',
252+
modePage: '页面',
253+
modeDashboard: '仪表盘',
254+
undo: '撤销',
255+
redo: '重做',
241256
},
242257
console: {
243258
title: 'ObjectStack 控制台',

0 commit comments

Comments
 (0)