From 744cbbb4e4fd19b3705c7c18937cb9d7be1accba Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Mon, 30 Jun 2025 12:07:09 +0530 Subject: [PATCH] Enhance DateTimeDisplay component with license information and update localization files to include new "Bundle Suites" and "Table Suites" entries across multiple languages. --- .../common/DateTimeDisplay/DateTimeDisplay.tsx | 14 +++++++++++++- .../resources/ui/src/locale/languages/de-de.json | 2 ++ .../resources/ui/src/locale/languages/es-es.json | 2 ++ .../resources/ui/src/locale/languages/fr-fr.json | 2 ++ .../resources/ui/src/locale/languages/gl-es.json | 2 ++ .../resources/ui/src/locale/languages/he-he.json | 2 ++ .../resources/ui/src/locale/languages/ja-jp.json | 2 ++ .../resources/ui/src/locale/languages/ko-kr.json | 2 ++ .../resources/ui/src/locale/languages/mr-in.json | 2 ++ .../resources/ui/src/locale/languages/nl-nl.json | 2 ++ .../resources/ui/src/locale/languages/pr-pr.json | 2 ++ .../resources/ui/src/locale/languages/pt-br.json | 2 ++ .../resources/ui/src/locale/languages/pt-pt.json | 2 ++ .../resources/ui/src/locale/languages/ru-ru.json | 2 ++ .../resources/ui/src/locale/languages/th-th.json | 2 ++ .../resources/ui/src/locale/languages/tr-tr.json | 2 ++ .../resources/ui/src/locale/languages/zh-cn.json | 2 ++ 17 files changed, 45 insertions(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/DateTimeDisplay/DateTimeDisplay.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/DateTimeDisplay/DateTimeDisplay.tsx index c6ceffd7bfb..2e934518264 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/DateTimeDisplay/DateTimeDisplay.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/DateTimeDisplay/DateTimeDisplay.tsx @@ -1,5 +1,17 @@ +/* + * Copyright 2025 Collate. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import { Col, Row, Typography } from 'antd'; -import React, { Fragment } from 'react'; +import { Fragment } from 'react'; import { ReactComponent as TimeDateIcon } from '../../../assets/svg/time-date.svg'; import { formatDateTimeLong } from '../../../utils/date-time/DateTimeUtils'; 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 541f9cebb7f..ee92bce46a9 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Browse Apps", "browse-csv-file": "CSV-Datei durchsuchen", "bulk-edit": "Massenbearbeitung", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Nach {{entity}}", "by-lowercase": "von", "ca-certs": "CA-Zertifikate", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Tabellen Partitionen", "table-plural": "Tabellen", "table-profile": "Tabellenprofil", + "table-suite-plural": "Table Suites", "table-tests-summary": "Tabellentestzusammenfassung", "table-type": "Tabellentyp", "table-update-plural": "Tabellenaktualisierungen", 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 76e4b56afce..9e8a5f1f647 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Explorar Apps", "browse-csv-file": "Examinar archivo CSV", "bulk-edit": "Edición masiva", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Por {{entity}}", "by-lowercase": "por", "ca-certs": "Certificados CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Particiones de tabla", "table-plural": "Tablas", "table-profile": "Perfilado de tabla", + "table-suite-plural": "Table Suites", "table-tests-summary": "Resumen de Tests de la Tabla", "table-type": "Tipo de tabla", "table-update-plural": "Actualizaciones de tablas", 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 ab31ec24dee..0aa4bb4ad00 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Browse Apps", "browse-csv-file": "Naviguer le fichier CSV", "bulk-edit": "Modification en masse", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Par {{entity}}", "by-lowercase": "par", "ca-certs": "Certificats CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "Tables", "table-profile": "Profil de Table", + "table-suite-plural": "Table Suites", "table-tests-summary": "Résumé des Tests de la Table", "table-type": "Type de Table", "table-update-plural": "Mises à Jour de Table", 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 35541ab18a6..16e596ea7f3 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Explorar aplicacións", "browse-csv-file": "Explorar ficheiro CSV", "bulk-edit": "Edición masiva", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Por {{entity}}", "by-lowercase": "por", "ca-certs": "Certificados CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Particións da táboa", "table-plural": "Táboas", "table-profile": "Perfil da táboa", + "table-suite-plural": "Table Suites", "table-tests-summary": "Resumo de probas da táboa", "table-type": "Tipo de táboa", "table-update-plural": "Actualizacións da táboa", 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 edd15b3c8a7..202bb2c0d56 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 @@ -163,6 +163,7 @@ "browse-app-plural": "עיין באפליקציות", "browse-csv-file": "עיין בקובץ CSV", "bulk-edit": "עריכה מרובה", + "bundle-suite-plural": "Bundle Suites", "by-entity": "לפי {{entity}}", "by-lowercase": "לפי", "ca-certs": "תעודות CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "טבלאות נתונים", "table-profile": "פרופיל טבלה", + "table-suite-plural": "Table Suites", "table-tests-summary": "סיכום בדיקות טבלה", "table-type": "סוג טבלה", "table-update-plural": "עדכוני טבלה", 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 511787e779d..ab59bf705a4 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Browse Apps", "browse-csv-file": "CSVファイルを見る", "bulk-edit": "一括編集", + "bundle-suite-plural": "Bundle Suites", "by-entity": "By {{entity}}", "by-lowercase": "by", "ca-certs": "CA Certs", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "テーブル", "table-profile": "Table Profile", + "table-suite-plural": "Table Suites", "table-tests-summary": "Table Tests Summary", "table-type": "Table Type", "table-update-plural": "Table Updates", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json index 572837c8363..c767eb89d1c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json @@ -163,6 +163,7 @@ "browse-app-plural": "앱 탐색", "browse-csv-file": "CSV 파일 탐색", "bulk-edit": "일괄 편집", + "bundle-suite-plural": "Bundle Suites", "by-entity": "{{entity}}별", "by-lowercase": "작성자", "ca-certs": "CA 인증서", @@ -1374,6 +1375,7 @@ "table-partition-plural": "테이블 파티션들", "table-plural": "테이블들", "table-profile": "테이블 프로필", + "table-suite-plural": "Table Suites", "table-tests-summary": "테이블 테스트 요약", "table-type": "테이블 유형", "table-update-plural": "테이블 업데이트들", 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 255d1fa5e6e..c49ed6b5bef 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 @@ -163,6 +163,7 @@ "browse-app-plural": "ॲप्स ब्राउझ करा", "browse-csv-file": "CSV फाइल ब्राउझ करा", "bulk-edit": "सामूहिक संपादन", + "bundle-suite-plural": "Bundle Suites", "by-entity": "{{entity}} द्वारे", "by-lowercase": "द्वारे", "ca-certs": "CA प्रमाणपत्रे", @@ -1374,6 +1375,7 @@ "table-partition-plural": "तक्ता विभाजने", "table-plural": "तक्ते", "table-profile": "तक्ता प्रोफाइल", + "table-suite-plural": "Table Suites", "table-tests-summary": "तक्ता चाचण्यांचा सारांश", "table-type": "तक्ता प्रकार", "table-update-plural": "तक्ता अद्यतने", 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 31b232854cf..98b07c4d5d9 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Blader door apps", "browse-csv-file": "Blader door CSV-bestand", "bulk-edit": "Bulk bewerken", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Door {{entity}}", "by-lowercase": "door", "ca-certs": "CA-certificaten", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "Tabellen", "table-profile": "Tabelprofiel", + "table-suite-plural": "Table Suites", "table-tests-summary": "Samenvatting tabeltests", "table-type": "Tabeltype", "table-update-plural": "Tabelupdates", 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 51c1ba7a70c..b7e30589975 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 @@ -163,6 +163,7 @@ "browse-app-plural": "مرور برنامه‌ها", "browse-csv-file": "مرور فایل CSV", "bulk-edit": "ویرایش دسته‌ای", + "bundle-suite-plural": "Bundle Suites", "by-entity": "توسط {{entity}}", "by-lowercase": "توسط", "ca-certs": "گواهی‌های CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "بخش‌های جدول", "table-plural": "جداول", "table-profile": "پروفایل جدول", + "table-suite-plural": "Table Suites", "table-tests-summary": "خلاصه تست‌های جدول", "table-type": "نوع جدول", "table-update-plural": "به‌روزرسانی‌های جدول", 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 18310601aad..d3e8008bf9e 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Navegar pelos aplicativos", "browse-csv-file": "Navegar no arquivo CSV", "bulk-edit": "Edição em massa", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Por {{entity}}", "by-lowercase": "por", "ca-certs": "Certificados CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Partições de tabela", "table-plural": "Tabelas", "table-profile": "Perfil da Tabela", + "table-suite-plural": "Table Suites", "table-tests-summary": "Resumo de Testes da Tabela", "table-type": "Tipo de Tabela", "table-update-plural": "Atualizações da Tabela", 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 932458c2eb3..de8a2e85fae 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Navegar em Apps", "browse-csv-file": "Navegar no arquivo CSV", "bulk-edit": "Edição em massa", + "bundle-suite-plural": "Bundle Suites", "by-entity": "Por {{entity}}", "by-lowercase": "por", "ca-certs": "Certificados CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "Tabelas", "table-profile": "Perfil da Tabela", + "table-suite-plural": "Table Suites", "table-tests-summary": "Resumo de Testes da Tabela", "table-type": "Tipo de Tabela", "table-update-plural": "Atualizações da Tabela", 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 11b74e1d70c..fb399466b26 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 @@ -163,6 +163,7 @@ "browse-app-plural": "Browse Apps", "browse-csv-file": "Просмотр CSV-файла", "bulk-edit": "Массовое редактирование", + "bundle-suite-plural": "Bundle Suites", "by-entity": "{{entity}}", "by-lowercase": "к", "ca-certs": "Сертификаты CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Table Partitions", "table-plural": "Таблицы", "table-profile": "Профиль таблицы", + "table-suite-plural": "Table Suites", "table-tests-summary": "Сводка по тестам", "table-type": "Table Type", "table-update-plural": "Обновления таблицы", 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 c6e8ce4a404..bf904d2e731 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 @@ -163,6 +163,7 @@ "browse-app-plural": "เรียกดูแอปพลิเคชัน", "browse-csv-file": "เรียกดูไฟล์ CSV", "bulk-edit": "แก้ไขเป็นกลุ่ม", + "bundle-suite-plural": "Bundle Suites", "by-entity": "โดย {{entity}}", "by-lowercase": "โดย", "ca-certs": "ใบรับรอง CA", @@ -1374,6 +1375,7 @@ "table-partition-plural": "พาร์ติชันของตาราง", "table-plural": "ตารางหลายรายการ", "table-profile": "โปรไฟล์ตาราง", + "table-suite-plural": "Table Suites", "table-tests-summary": "สรุปการทดสอบตาราง", "table-type": "ประเภทของตาราง", "table-update-plural": "การอัปเดตตาราง", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json index 0ab2125808d..296cd37fcf2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json @@ -163,6 +163,7 @@ "browse-app-plural": "Uygulamalara Gözat", "browse-csv-file": "CSV dosyasına gözat", "bulk-edit": "Toplu Düzenleme", + "bundle-suite-plural": "Bundle Suites", "by-entity": "{{entity}}'e Göre", "by-lowercase": "tarafından", "ca-certs": "CA Sertifikaları", @@ -1374,6 +1375,7 @@ "table-partition-plural": "Tablo Bölümleri", "table-plural": "Tablolar", "table-profile": "Tablo Profili", + "table-suite-plural": "Table Suites", "table-tests-summary": "Tablo Test Özeti", "table-type": "Tablo Türü", "table-update-plural": "Tablo Güncellemeleri", 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 3d35388564c..a5354f0676d 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 @@ -163,6 +163,7 @@ "browse-app-plural": "浏览应用", "browse-csv-file": "打开 CSV 文件", "bulk-edit": "批量编辑", + "bundle-suite-plural": "Bundle Suites", "by-entity": "按{{entity}}", "by-lowercase": "by", "ca-certs": "CA 证书", @@ -1374,6 +1375,7 @@ "table-partition-plural": "数据表分区", "table-plural": "数据表", "table-profile": "数据表分析", + "table-suite-plural": "Table Suites", "table-tests-summary": "数据表测试概要", "table-type": "数据表类型", "table-update-plural": "数据表更新",