diff --git a/public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx b/public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx index 9d0920a677e..c429a83b11b 100644 --- a/public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx +++ b/public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx @@ -4,6 +4,7 @@ import React, { useState } from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Button, CodeEditor, useStyles2 } from '@grafana/ui'; import { Page } from 'app/core/components/Page/Page'; +import { t, Trans } from 'app/core/internationalization'; import { dashboardWatcher } from 'app/features/live/dashboard/dashboardWatcher'; import { getDashboardSrv } from '../../services/DashboardSrv'; @@ -19,8 +20,10 @@ export function JsonEditorSettings({ dashboard, sectionNav }: SettingsPageProps) }; const styles = useStyles2(getStyles); - const subTitle = - 'The JSON model below is the data structure that defines the dashboard. This includes dashboard settings, panel settings, layout, queries, and so on'; + const subTitle = t( + 'dashboard-settings.json-editor.subtitle', + 'The JSON model below is the data structure that defines the dashboard. This includes dashboard settings, panel settings, layout, queries, and so on.' + ); return ( @@ -36,7 +39,7 @@ export function JsonEditorSettings({ dashboard, sectionNav }: SettingsPageProps) {dashboard.meta.canSave && (
)} diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json index 2f59edbd491..b69fd655363 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -215,6 +215,12 @@ "unmark-favorite": "Markierung als Favorit entfernen" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "", + "subtitle": "" + } + }, "data-source-picker": { "open-advanced-button": "" }, diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 68644452f33..98a8351e233 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -215,6 +215,12 @@ "unmark-favorite": "Unmark as favorite" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "Save changes", + "subtitle": "The JSON model below is the data structure that defines the dashboard. This includes dashboard settings, panel settings, layout, queries, and so on." + } + }, "data-source-picker": { "open-advanced-button": "Open advanced data source picker" }, diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json index eca26972eb0..32a640d1908 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -220,6 +220,12 @@ "unmark-favorite": "Deshacer marca como favorito" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "", + "subtitle": "" + } + }, "data-source-picker": { "open-advanced-button": "" }, diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json index ad5d72d500d..6cc94dd61c2 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -220,6 +220,12 @@ "unmark-favorite": "Supprimer des favoris" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "", + "subtitle": "" + } + }, "data-source-picker": { "open-advanced-button": "" }, diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index a10087724df..0e8bfb89b97 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -215,6 +215,12 @@ "unmark-favorite": "Ůʼnmäřĸ äş ƒävőřįŧę" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "Ŝävę čĥäʼnģęş", + "subtitle": "Ŧĥę ĴŜØŃ mőđęľ þęľőŵ įş ŧĥę đäŧä şŧřūčŧūřę ŧĥäŧ đęƒįʼnęş ŧĥę đäşĥþőäřđ. Ŧĥįş įʼnčľūđęş đäşĥþőäřđ şęŧŧįʼnģş, päʼnęľ şęŧŧįʼnģş, ľäyőūŧ, qūęřįęş, äʼnđ şő őʼn." + } + }, "data-source-picker": { "open-advanced-button": "Øpęʼn äđväʼnčęđ đäŧä şőūřčę pįčĸęř" }, diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json index 34117d1e055..13bed6318fb 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -210,6 +210,12 @@ "unmark-favorite": "取消标记为收藏" } }, + "dashboard-settings": { + "json-editor": { + "save-button": "", + "subtitle": "" + } + }, "data-source-picker": { "open-advanced-button": "" },