diff --git a/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx b/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx
index 9a37d35e210..0265dc5f8ac 100644
--- a/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx
+++ b/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx
@@ -3,6 +3,7 @@ import React, { useCallback, useRef, useState, useEffect } from 'react';
import { GrafanaTheme2 } from '@grafana/data';
+import { Trans } from '../../../src/utils/i18n';
import { useStyles2 } from '../../themes';
import { Button, ButtonProps } from '../Button';
import { Icon } from '../Icon/Icon';
@@ -62,7 +63,7 @@ export function ClipboardButton({
<>
{showCopySuccess && (
- Copied
+ Copied
)}
diff --git a/public/app/features/dashboard/components/ShareModal/ViewJsonModal.tsx b/public/app/features/dashboard/components/ShareModal/ViewJsonModal.tsx
index 9018ec6c026..2a5fa2a262e 100644
--- a/public/app/features/dashboard/components/ShareModal/ViewJsonModal.tsx
+++ b/public/app/features/dashboard/components/ShareModal/ViewJsonModal.tsx
@@ -2,6 +2,7 @@ import React, { useCallback } from 'react';
import AutoSizer from 'react-virtualized-auto-sizer';
import { ClipboardButton, CodeEditor, Modal } from '@grafana/ui';
+import { Trans } from 'app/core/internationalization';
export interface ViewJsonModalProps {
json: string;
@@ -17,7 +18,7 @@ export function ViewJsonModal({ json, onDismiss }: ViewJsonModalProps): JSX.Elem
- Copy to Clipboard
+ Copy to Clipboard
diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json
index 01f01dfe9b7..f2875f7487b 100644
--- a/public/locales/de-DE/grafana.json
+++ b/public/locales/de-DE/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Do not manually edit this file. Translations must be made in Crowdin which will sync them back into this file",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": ""
+ }
+ },
"common": {
"locale": {
"default": "Standard"
@@ -408,6 +413,9 @@
"dark": "Dunkel",
"field-name": "Design",
"light": "Hell"
+ },
+ "view-json": {
+ "copy-button": ""
}
},
"shared-dashboard": {
diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json
index ab320e368c1..91b26b9f047 100644
--- a/public/locales/en-US/grafana.json
+++ b/public/locales/en-US/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Do not manually edit this file, or update these source phrases in Crowdin. The source of truth for English strings are in the code source",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": "Copied"
+ }
+ },
"common": {
"locale": {
"default": "Default"
@@ -408,6 +413,9 @@
"dark": "Dark",
"field-name": "Theme",
"light": "Light"
+ },
+ "view-json": {
+ "copy-button": "Copy to Clipboard"
}
},
"shared-dashboard": {
diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json
index 49eea1a922b..7e6a32266a6 100644
--- a/public/locales/es-ES/grafana.json
+++ b/public/locales/es-ES/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Do not manually edit this file. Translations must be made in Crowdin which will sync them back into this file",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": ""
+ }
+ },
"common": {
"locale": {
"default": "Por defecto"
@@ -408,6 +413,9 @@
"dark": "Oscuro",
"field-name": "Tema",
"light": "Claro"
+ },
+ "view-json": {
+ "copy-button": ""
}
},
"shared-dashboard": {
diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json
index eb9ab8a3684..fbb854245bf 100644
--- a/public/locales/fr-FR/grafana.json
+++ b/public/locales/fr-FR/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Do not manually edit this file. Translations must be made in Crowdin which will sync them back into this file",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": ""
+ }
+ },
"common": {
"locale": {
"default": "Par défaut"
@@ -408,6 +413,9 @@
"dark": "Sombre",
"field-name": "Thème",
"light": "Clair"
+ },
+ "view-json": {
+ "copy-button": ""
}
},
"shared-dashboard": {
diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json
index 14302dddc4c..f4da915bcfa 100644
--- a/public/locales/pseudo-LOCALE/grafana.json
+++ b/public/locales/pseudo-LOCALE/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Đő ʼnőŧ mäʼnūäľľy ęđįŧ ŧĥįş ƒįľę, őř ūpđäŧę ŧĥęşę şőūřčę pĥřäşęş įʼn Cřőŵđįʼn. Ŧĥę şőūřčę őƒ ŧřūŧĥ ƒőř Ēʼnģľįşĥ şŧřįʼnģş äřę įʼn ŧĥę čőđę şőūřčę",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": "Cőpįęđ"
+ }
+ },
"common": {
"locale": {
"default": "Đęƒäūľŧ"
@@ -408,6 +413,9 @@
"dark": "Đäřĸ",
"field-name": "Ŧĥęmę",
"light": "Ŀįģĥŧ"
+ },
+ "view-json": {
+ "copy-button": "Cőpy ŧő Cľįpþőäřđ"
}
},
"shared-dashboard": {
diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json
index 905a0ab1116..b69a6c53576 100644
--- a/public/locales/zh-Hans/grafana.json
+++ b/public/locales/zh-Hans/grafana.json
@@ -1,5 +1,10 @@
{
"_comment": "Do not manually edit this file. Translations must be made in Crowdin which will sync them back into this file",
+ "clipboard-button": {
+ "inline-toast": {
+ "success": ""
+ }
+ },
"common": {
"locale": {
"default": "默认"
@@ -408,6 +413,9 @@
"dark": "深色",
"field-name": "主题",
"light": "浅色"
+ },
+ "view-json": {
+ "copy-button": ""
}
},
"shared-dashboard": {