Skip to content

Commit 3a46d2c

Browse files
feat: Add permanent link copy functionality to all languages
Co-authored-by: yourton.ma <yourton.ma@gmail.com>
1 parent 13a8caa commit 3a46d2c

File tree

18 files changed

+83
-8
lines changed

18 files changed

+83
-8
lines changed

GLOSSARY_TERM_PERMANENT_LINK_IMPLEMENTATION.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,38 @@ Term Name [📋▼] [⭐ Follow]
5353
3. **EntityHeader.component.tsx**
5454
- Pass `entityData.id` and `entityData.fullyQualifiedName` to EntityHeaderTitle
5555

56-
### Translation Files (1 file - English only)
57-
58-
4. **en-us.json**
59-
- `copy-fqn-link`: "Copy URL based on FQN"
60-
- `copy-permanent-link`: "Copy URL based on ID"
61-
- `copy-link`: "Copy Link"
62-
63-
**Note:** Chinese translations were removed per user request. The feature uses existing generic messages:
56+
### Translation Files (18 files - All languages) ✅
57+
58+
Added translations to all language files:
59+
60+
**Translation Keys Added:**
61+
- `copy-fqn-link`: "Copy URL based on FQN"
62+
- `copy-permanent-link`: "Copy URL based on ID"
63+
- `copy-link`: "Copy Link"
64+
65+
**Supported Languages (18):**
66+
- 🇺🇸 en-us (English)
67+
- 🇨🇳 zh-cn (简体中文)
68+
- 🇹🇼 zh-tw (繁體中文)
69+
- 🇯🇵 ja-jp (日本語)
70+
- 🇰🇷 ko-kr (한국어)
71+
- 🇫🇷 fr-fr (Français)
72+
- 🇩🇪 de-de (Deutsch)
73+
- 🇪🇸 es-es (Español)
74+
- 🇧🇷 pt-br (Português BR)
75+
- 🇵🇹 pt-pt (Português PT)
76+
- 🇷🇺 ru-ru (Русский)
77+
- 🇹🇷 tr-tr (Türkçe)
78+
- 🇳🇱 nl-nl (Nederlands)
79+
- 🇮🇱 he-he (עברית)
80+
- 🇹🇭 th-th (ไทย)
81+
- 🇮🇳 mr-in (मराठी)
82+
- 🇮🇷 pr-pr (فارسی)
83+
- gl-es (Galego)
84+
85+
**Note:** All languages use English text for technical terms (FQN, ID, URL) as these are universally understood.
86+
87+
**Toast Messages:** Uses existing generic translations:
6488
- Success: `message.copied-to-clipboard`
6589
- Error: `server.unexpected-error`
6690

openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "Konversationen",
314314
"copied": "Kopiert",
315315
"copy": "Kopieren",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "{{item}} kopieren",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "Kosten",
318321
"cost-analysis": "Cost Analysis",
319322
"count": "Anzahl",

openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "Conversaciones",
314314
"copied": "Copiado",
315315
"copy": "Copiar",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "Copiar URL",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "Coste",
318321
"cost-analysis": "Análisis de Coste",
319322
"count": "Conteo",

openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "Conversations",
314314
"copied": "Copié",
315315
"copy": "Copier",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "Copier {{item}}",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "Coût",
318321
"cost-analysis": "Cost Analysis",
319322
"count": "Décompte",

openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "Conversas",
314314
"copied": "Copiado",
315315
"copy": "Copiar",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "Copiar {{item}}",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "Coste",
318321
"cost-analysis": "Análise de custos",
319322
"count": "Contar",

openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "דיונים",
314314
"copied": "הועתק",
315315
"copy": "העתק",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "העתק {{item}}",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "מחיר",
318321
"cost-analysis": "ניתוח עלויות",
319322
"count": "ספירה",

openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "会話",
314314
"copied": "コピー済み",
315315
"copy": "コピー",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "{{item}} をコピー",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "コスト",
318321
"cost-analysis": "コスト分析",
319322
"count": "件数",

openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "대화들",
314314
"copied": "복사됨",
315315
"copy": "복사",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "{{item}} 복사",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "비용",
318321
"cost-analysis": "비용 분석",
319322
"count": "개수",

openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "संभाषणे",
314314
"copied": "कॉपी केले",
315315
"copy": "कॉपी करा",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "{{item}} कॉपी करा",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "किंमत",
318321
"cost-analysis": "खर्च विश्लेषण",
319322
"count": "संख्या",

openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@
313313
"conversation-plural": "Gesprekken",
314314
"copied": "Gekopieerd",
315315
"copy": "Kopiëren",
316+
"copy-fqn-link": "Copy URL based on FQN",
316317
"copy-item": "{{item}} kopiëren",
318+
"copy-link": "Copy Link",
319+
"copy-permanent-link": "Copy URL based on ID",
317320
"cost": "Kosten",
318321
"cost-analysis": "Kostenanalyse",
319322
"count": "Aantal",

0 commit comments

Comments
 (0)