From d99b7f84361c4dd8d49b20c352455e68c6c0787d Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Sat, 7 Dec 2024 19:39:46 +0530 Subject: [PATCH] ui fixes for 1.6 --- .../common/CustomPropertyTable/CustomPropertyTable.tsx | 5 +++-- .../src/main/resources/ui/src/locale/languages/de-de.json | 2 +- .../src/main/resources/ui/src/locale/languages/en-us.json | 2 +- .../src/main/resources/ui/src/locale/languages/es-es.json | 2 +- .../src/main/resources/ui/src/locale/languages/fr-fr.json | 2 +- .../src/main/resources/ui/src/locale/languages/gl-es.json | 2 +- .../src/main/resources/ui/src/locale/languages/he-he.json | 2 +- .../src/main/resources/ui/src/locale/languages/ja-jp.json | 2 +- .../src/main/resources/ui/src/locale/languages/mr-in.json | 2 +- .../src/main/resources/ui/src/locale/languages/nl-nl.json | 2 +- .../src/main/resources/ui/src/locale/languages/pr-pr.json | 2 +- .../src/main/resources/ui/src/locale/languages/pt-br.json | 2 +- .../src/main/resources/ui/src/locale/languages/pt-pt.json | 2 +- .../src/main/resources/ui/src/locale/languages/ru-ru.json | 2 +- .../src/main/resources/ui/src/locale/languages/th-th.json | 2 +- .../src/main/resources/ui/src/locale/languages/zh-cn.json | 2 +- 16 files changed, 18 insertions(+), 17 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx index 391d9062e945..9acbaa5c0d33 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/CustomPropertyTable/CustomPropertyTable.tsx @@ -14,7 +14,7 @@ import { Col, Divider, Row, Skeleton, Typography } from 'antd'; import { AxiosError } from 'axios'; import classNames from 'classnames'; -import { isEmpty, isUndefined } from 'lodash'; +import { isEmpty, isUndefined, startCase } from 'lodash'; import React, { Fragment, useCallback, @@ -228,7 +228,7 @@ export const CustomPropertyTable = ({ className={className} placeholderText={ ({ } values={{ docs: t('label.doc-plural-lowercase'), + entity: startCase(entityType), }} /> } diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json index e17d66fc3236..ba02828eaee9 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Keine geschlossenen Aufgaben.", "no-config-available": "Keine Verbindungskonfigurationen verfügbar.", "no-config-plural": "No Configs.", - "no-custom-properties-table": "There are currently no Custom Properties defined for the Table Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", + "no-custom-properties-entity": "Derzeit sind keine benutzerdefinierten Eigenschaften für das {{entity}} Data Asset definiert. Um zu erfahren, wie man benutzerdefinierte Eigenschaften hinzufügt, lesen Sie bitte <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "Keine Daten", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index f9884f5c94c2..647cee71acb5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -1699,7 +1699,7 @@ "no-closed-task": "No Closed Tasks", "no-config-available": "No Connection Configs available.", "no-config-plural": "No Configs.", - "no-custom-properties-table": "There are currently no Custom Properties defined for the Table Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", + "no-custom-properties-entity": "There are currently no Custom Properties defined for the {{entity}} Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "No data", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json index 2c03184ade4f..a971e536564b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json @@ -1699,7 +1699,7 @@ "no-closed-task": "No hay tareas cerradas", "no-config-available": "No hay configuraciones de conexión disponibles.", "no-config-plural": "No hay configuraciones.", - "no-custom-properties-table": "Actualmente no hay Propiedades Personalizadas definidas para el Activo de Datos de Tabla. Para descubrir cómo agregar Propiedades Personalizadas, consulta <0>{{docs}}", + "no-custom-properties-entity": "Actualmente no hay Propiedades Personalizadas definidas para el Activo de Datos {{entity}}. Para saber cómo añadir Propiedades Personalizadas, consulte <0>{{docs}}.", "no-customization-available": "No customization available for this tab", "no-data": "No hay datos", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json index 888c43ebcd03..2951d8e6a600 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Aucune tâche à effectuer", "no-config-available": "Aucun paramètre de connexion disponible.", "no-config-plural": "Pas de Configs.", - "no-custom-properties-table": "Il n'y a actuellement aucune propriété personnalisée définie pour l'actif de données Table. Pour savoir comment ajouter des propriétés personnalisées, réfrez-vous à <0>{{docs}}", + "no-custom-properties-entity": "Aucune propriété personnalisée n'est actuellement définie pour l'actif de données {{entity}}. Pour découvrir comment ajouter des propriétés personnalisées, veuillez consulter <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "Aucune donnée", "no-data-assets": "Bienvenue dans OpenMetadata! Il semble qu'auncun actif de données n'ai encore été ajouté. Consultez le guide <0>How to Get Started pour démarrer.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json index 942dffca477a..97f03731d4ba 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Non hai tarefas pechadas", "no-config-available": "Non hai configuracións de conexión dispoñibles.", "no-config-plural": "Non hai configuracións.", - "no-custom-properties-table": "Actualmente non hai propiedades personalizadas definidas para o Activo de Datos da Táboa. Para descubrir como engadir propiedades personalizadas, consulta <0>{{docs}}", + "no-custom-properties-entity": "Actualmente non hai Propiedades Personalizadas definidas para o Activo de Datos {{entity}}. Para descubrir como engadir Propiedades Personalizadas, consulte <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "Non hai datos", "no-data-assets": "Benvido a OpenMetadata! Parece que aínda non se engadiron activos de datos. Consulta a nosa guía de <0>Como comezar para iniciar.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json index 2101ea8b16a1..7ee8ad3bb546 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json @@ -1699,7 +1699,7 @@ "no-closed-task": "אין משימות סגורות", "no-config-available": "אין הגדרות חיבור זמינות.", "no-config-plural": "אין הגדרות.", - "no-custom-properties-table": "There are currently no Custom Properties defined for the Table Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", + "no-custom-properties-entity": "נכון לעכשיו לא מוגדרות תכונות מותאמות אישית עבור נכס הנתונים {{entity}}. כדי לגלות כיצד להוסיף תכונות מותאמות אישית, נא עיין ב-<0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "אין נתונים", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json index cfd322796bc0..302afcc124a5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json @@ -1699,7 +1699,7 @@ "no-closed-task": "終了したタスクはありません", "no-config-available": "利用可能な接続の設定はありません。", "no-config-plural": "No Configs.", - "no-custom-properties-table": "There are currently no Custom Properties defined for the Table Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", + "no-custom-properties-entity": "現在、{{entity}} データアセットにはカスタムプロパティが定義されていません。カスタムプロパティの追加方法については、<0>{{docs}} を参照してください。", "no-customization-available": "No customization available for this tab", "no-data": "データがありません", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json index bcf8e8cecd8e..3bd3dd4c17db 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json @@ -1699,7 +1699,7 @@ "no-closed-task": "कोणतीही बंद कार्ये नाहीत", "no-config-available": "कोणतेही कनेक्शन कॉन्फिग उपलब्ध नाहीत.", "no-config-plural": "कोणतेही कॉन्फिग नाहीत.", - "no-custom-properties-table": "टेबल डेटा ॲसेटसाठी सध्या कोणतेही सानुकूल गुणधर्म परिभाषित केलेले नाहीत. सानुकूल गुणधर्म कसे जोडायचे हे शोधण्यासाठी, कृपया <0>{{docs}} पहा", + "no-custom-properties-entity": "सध्या {{entity}} डेटा संपत्तीसाठी कोणताही कस्टम प्रॉपर्टी परिभाषित केलेली नाही. कस्टम प्रॉपर्टी कशी जोडावी ते जाणून घेण्यासाठी, कृपया <0>{{docs}} पहा.", "no-customization-available": "या टॅबसाठी कोणतीही सानुकूलन उपलब्ध नाही", "no-data": "डेटा नाही", "no-data-assets": "OpenMetadata मध्ये स्वागत आहे! असे दिसते की अद्याप कोणतेही डेटा ॲसेट जोडलेले नाहीत. प्रारंभ करण्यासाठी आमच्या <0>कसे प्रारंभ करावे मार्गदर्शक तपासा.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json index 285478ff9b53..e85a66c511c4 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Geen gesloten taken", "no-config-available": "Geen connectieconfiguraties beschikbaar.", "no-config-plural": "Geen configuraties.", - "no-custom-properties-table": "Er zijn momenteel geen eigen eigenschappen gedefinieerd voor de data-assettabel. Raadpleeg <0>{{docs}} voor meer informatie over het toevoegen van Custom Properties.", + "no-custom-properties-entity": "Er zijn momenteel geen aangepaste eigenschappen gedefinieerd voor het {{entity}} Data Asset. Raadpleeg <0>{{docs}} voor meer informatie over het toevoegen van aangepaste eigenschappen.", "no-customization-available": "No customization available for this tab", "no-data": "Geen data", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json index ed8477518934..dc1eb20ba9b5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json @@ -1699,7 +1699,7 @@ "no-closed-task": "هیچ وظیفه بسته‌ای وجود ندارد.", "no-config-available": "هیچ پیکربندی اتصالی در دسترس نیست.", "no-config-plural": "هیچ پیکربندی‌ای وجود ندارد.", - "no-custom-properties-table": "در حال حاضر هیچ ویژگی سفارشی برای دارایی داده جدول تعریف نشده است. برای کشف نحوه افزودن ویژگی‌های سفارشی، لطفاً به <0>{{docs}} مراجعه کنید.", + "no-custom-properties-entity": "در حال حاضر هیچ ویژگی سفارشی برای دارایی داده {{entity}} تعریف نشده است. برای یادگیری نحوه افزودن ویژگی‌های سفارشی، لطفاً به <0>{{docs}} مراجعه کنید.", "no-customization-available": "No customization available for this tab", "no-data": "بدون داده", "no-data-assets": "به OpenMetadata خوش آمدید! به نظر می‌رسد هنوز هیچ دارایی داده‌ای اضافه نشده است. راهنمای <0>چگونه شروع کنیم را بررسی کنید تا شروع کنید.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json index a2444214794d..affb40ecc1ab 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Nenhuma Tarefa Concluída", "no-config-available": "Nenhuma Configuração de Conexão disponível.", "no-config-plural": "Nenhuma Configuração.", - "no-custom-properties-table": "Atualmente, não há Propriedades Personalizadas definidas para o Ativo de Dados da Tabela. Para descobrir como adicionar Propriedades Personalizadas, consulte <0>{{docs}}", + "no-custom-properties-entity": "Atualmente, não há Propriedades Personalizadas definidas para o Ativo de Dados {{entity}}. Para saber como adicionar Propriedades Personalizadas, consulte <0>{{docs}}.", "no-customization-available": "No customization available for this tab", "no-data": "Sem dados", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json index d594badb40a8..1aae806030dc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Nenhuma Tarefa Concluída", "no-config-available": "Nenhuma Configuração de Conexão disponível.", "no-config-plural": "Nenhuma Configuração.", - "no-custom-properties-table": "Atualmente, não há Propriedades Personalizadas definidas para o Ativo de Dados da Tabela. Para descobrir como adicionar Propriedades Personalizadas, consulte <0>{{docs}}", + "no-custom-properties-entity": "Atualmente, não existem Propriedades Personalizadas definidas para o Ativo de Dados {{entity}}. Para descobrir como adicionar Propriedades Personalizadas, consulte <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "Sem dados", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json index 3518ef51beda..7c66fe72cb72 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json @@ -1699,7 +1699,7 @@ "no-closed-task": "Нет закрытых задач", "no-config-available": "Нет доступных конфигураций подключения.", "no-config-plural": "No Configs.", - "no-custom-properties-table": "There are currently no Custom Properties defined for the Table Data Asset. To discover how to add Custom Properties, please refer to <0>{{docs}}", + "no-custom-properties-entity": "В настоящее время для {{entity}} Data Asset не определены пользовательские свойства. Чтобы узнать, как добавить пользовательские свойства, обратитесь к <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "Нет данных", "no-data-assets": "Welcome to OpenMetadata! It looks like no data assets have been added yet. Check out our <0>How to Get Started guide to begin.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json index b1a9e674a51c..0de47bc325d6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json @@ -1699,7 +1699,7 @@ "no-closed-task": "ไม่มีงานที่ปิดแล้ว", "no-config-available": "ไม่มีการตั้งค่าการเชื่อมต่อที่สามารถใช้งานได้", "no-config-plural": "ไม่มีการตั้งค่า", - "no-custom-properties-table": "ตอนนี้ไม่มีคุณสมบัติที่กำหนดไว้สำหรับสินทรัพย์ข้อมูลตาราง เพื่อค้นหาวิธีการเพิ่มคุณสมบัติที่กำหนดเอง โปรดดูที่ <0>{{docs}}", + "no-custom-properties-entity": "ขณะนี้ไม่มีการกำหนดคุณสมบัติเฉพาะสำหรับสินทรัพย์ข้อมูล {{entity}} หากต้องการเรียนรู้วิธีการเพิ่มคุณสมบัติเฉพาะ โปรดดูที่ <0>{{docs}}.", "no-customization-available": "ไม่มีการปรับแต่งให้ใช้งานได้สำหรับแท็บนี้", "no-data": "ไม่มีข้อมูล", "no-data-assets": "ยินดีต้อนรับสู่ OpenMetadata! ดูเหมือนว่ายังไม่มีสินทรัพย์ข้อมูลถูกเพิ่ม ตรวจสอบเรา <0>วิธีการเริ่มต้นใช้งาน เพื่อเริ่มต้น", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json index ec6cbbcf925f..c59d5059a02b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json @@ -1699,7 +1699,7 @@ "no-closed-task": "没有关闭的任务", "no-config-available": "没有可用的连接配置", "no-config-plural": "No Configs.", - "no-custom-properties-table": "数据表数据资产目前没有定义自定义属性。要了解如何添加自定义属性, 请参阅<0>{{docs}}", + "no-custom-properties-entity": "当前没有为 {{entity}} 数据资产定义自定义属性。要了解如何添加自定义属性,请参考 <0>{{docs}}", "no-customization-available": "No customization available for this tab", "no-data": "没有数据", "no-data-assets": "欢迎访问 OpenMetadata! 看起来还没有添加数据资产, 请查看我们的<0>How to Get Started开始指南",