diff --git a/public/app/features/dashboard/components/DashboardSettings/AutoRefreshIntervals.tsx b/public/app/features/dashboard/components/DashboardSettings/AutoRefreshIntervals.tsx index d1c2678ca91..629845f7b12 100644 --- a/public/app/features/dashboard/components/DashboardSettings/AutoRefreshIntervals.tsx +++ b/public/app/features/dashboard/components/DashboardSettings/AutoRefreshIntervals.tsx @@ -1,6 +1,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { Input, defaultIntervals, Field } from '@grafana/ui'; +import { t } from 'app/core/internationalization'; import { getTimeSrv } from '../../services/TimeSrv'; @@ -58,8 +59,11 @@ export const AutoRefreshIntervals = ({ return ( diff --git a/public/app/features/dashboard/components/DashboardSettings/GeneralSettings.tsx b/public/app/features/dashboard/components/DashboardSettings/GeneralSettings.tsx index 0a4b10ecc34..9799ff63c91 100644 --- a/public/app/features/dashboard/components/DashboardSettings/GeneralSettings.tsx +++ b/public/app/features/dashboard/components/DashboardSettings/GeneralSettings.tsx @@ -16,6 +16,7 @@ import { import { Box } from '@grafana/ui/src/unstable'; import { Page } from 'app/core/components/Page/Page'; import { FolderPicker } from 'app/core/components/Select/FolderPicker'; +import { t, Trans } from 'app/core/internationalization'; import { updateTimeZoneDashboard, updateWeekStartDashboard } from 'app/features/dashboard/state/actions'; import { DeleteDashboardButton } from '../DeleteDashboard/DeleteDashboardButton'; @@ -124,7 +125,10 @@ export function GeneralSettingsUnconnected({ - + + {config.featureToggles.dashgpt && ( )} @@ -141,7 +145,10 @@ export function GeneralSettingsUnconnected({ - + + {config.featureToggles.dashgpt && ( )} @@ -155,11 +162,11 @@ export function GeneralSettingsUnconnected({ onChange={(e: ChangeEvent) => onDescriptionChange(e.target.value)} /> - + - + @@ -196,10 +206,13 @@ export function GeneralSettingsUnconnected({ /> {/* @todo: Update "Graph tooltip" description to remove prompt about reloading when resolving #46581 */} - + { render() { return ( - - + + { width={40} /> - + { refreshIntervals={this.props.refreshIntervals} onRefreshIntervalChange={this.props.onRefreshIntervalChange} /> - + { defaultValue={this.props.nowDelay} /> - + { /> diff --git a/public/app/features/dashboard/components/DeleteDashboard/DeleteDashboardButton.tsx b/public/app/features/dashboard/components/DeleteDashboard/DeleteDashboardButton.tsx index 8b8ec48e753..1220d277548 100644 --- a/public/app/features/dashboard/components/DeleteDashboard/DeleteDashboardButton.tsx +++ b/public/app/features/dashboard/components/DeleteDashboard/DeleteDashboardButton.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { Button, ModalsController } from '@grafana/ui'; +import { Trans } from 'app/core/internationalization'; import { DashboardModel } from '../../state'; @@ -23,7 +24,7 @@ export const DeleteDashboardButton = ({ dashboard }: Props) => ( }} aria-label="Dashboard settings page delete dashboard button" > - Delete Dashboard + Delete Dashboard )} diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json index 4c8120c64e8..bb927adc9e2 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -260,9 +260,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "", + "general": { + "auto-refresh-description": "", + "auto-refresh-label": "", + "description-label": "", + "editable-description": "", + "editable-label": "", + "folder-label": "", + "panel-options-graph-tooltip-description": "", + "panel-options-graph-tooltip-label": "", + "panel-options-label": "", + "tags-label": "", + "title-label": "" + }, "json-editor": { "save-button": "", "subtitle": "" + }, + "time-picker": { + "hide-time-picker": "", + "now-delay-description": "", + "now-delay-label": "", + "refresh-live-dashboards-description": "", + "refresh-live-dashboards-label": "", + "time-options-label": "", + "time-zone-label": "", + "week-start-label": "" } }, "data-source-picker": { diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 132417d0a36..06275996598 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -260,9 +260,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "Delete Dashboard", + "general": { + "auto-refresh-description": "Define the auto refresh intervals that should be available in the auto refresh list.", + "auto-refresh-label": "Auto refresh", + "description-label": "Description", + "editable-description": "Set to read-only to disable all editing. Reload the dashboard for changes to take effect", + "editable-label": "Editable", + "folder-label": "Folder", + "panel-options-graph-tooltip-description": "Controls tooltip and hover highlight behavior across different panels. Reload the dashboard for changes to take effect", + "panel-options-graph-tooltip-label": "Graph tooltip", + "panel-options-label": "Panel options", + "tags-label": "Tags", + "title-label": "Title" + }, "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." + }, + "time-picker": { + "hide-time-picker": "Hide time picker", + "now-delay-description": "Exclude recent data that may be incomplete.", + "now-delay-label": "Now delay", + "refresh-live-dashboards-description": "Continuously re-draw panels where the time range references 'now'", + "refresh-live-dashboards-label": "Refresh live dashboards", + "time-options-label": "Time options", + "time-zone-label": "Time zone", + "week-start-label": "Week start" } }, "data-source-picker": { diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json index 448ad5c9c2e..5c37dee4944 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -265,9 +265,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "", + "general": { + "auto-refresh-description": "", + "auto-refresh-label": "", + "description-label": "", + "editable-description": "", + "editable-label": "", + "folder-label": "", + "panel-options-graph-tooltip-description": "", + "panel-options-graph-tooltip-label": "", + "panel-options-label": "", + "tags-label": "", + "title-label": "" + }, "json-editor": { "save-button": "", "subtitle": "" + }, + "time-picker": { + "hide-time-picker": "", + "now-delay-description": "", + "now-delay-label": "", + "refresh-live-dashboards-description": "", + "refresh-live-dashboards-label": "", + "time-options-label": "", + "time-zone-label": "", + "week-start-label": "" } }, "data-source-picker": { diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json index 6a829e57a13..5fe33fe0e6f 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -265,9 +265,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "", + "general": { + "auto-refresh-description": "", + "auto-refresh-label": "", + "description-label": "", + "editable-description": "", + "editable-label": "", + "folder-label": "", + "panel-options-graph-tooltip-description": "", + "panel-options-graph-tooltip-label": "", + "panel-options-label": "", + "tags-label": "", + "title-label": "" + }, "json-editor": { "save-button": "", "subtitle": "" + }, + "time-picker": { + "hide-time-picker": "", + "now-delay-description": "", + "now-delay-label": "", + "refresh-live-dashboards-description": "", + "refresh-live-dashboards-label": "", + "time-options-label": "", + "time-zone-label": "", + "week-start-label": "" } }, "data-source-picker": { diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 988383234a1..36835e932d7 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -260,9 +260,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "Đęľęŧę Đäşĥþőäřđ", + "general": { + "auto-refresh-description": "Đęƒįʼnę ŧĥę äūŧő řęƒřęşĥ įʼnŧęřväľş ŧĥäŧ şĥőūľđ þę äväįľäþľę įʼn ŧĥę äūŧő řęƒřęşĥ ľįşŧ.", + "auto-refresh-label": "Åūŧő řęƒřęşĥ", + "description-label": "Đęşčřįpŧįőʼn", + "editable-description": "Ŝęŧ ŧő řęäđ-őʼnľy ŧő đįşäþľę äľľ ęđįŧįʼnģ. Ŗęľőäđ ŧĥę đäşĥþőäřđ ƒőř čĥäʼnģęş ŧő ŧäĸę ęƒƒęčŧ", + "editable-label": "Ēđįŧäþľę", + "folder-label": "Főľđęř", + "panel-options-graph-tooltip-description": "Cőʼnŧřőľş ŧőőľŧįp äʼnđ ĥővęř ĥįģĥľįģĥŧ þęĥävįőř äčřőşş đįƒƒęřęʼnŧ päʼnęľş. Ŗęľőäđ ŧĥę đäşĥþőäřđ ƒőř čĥäʼnģęş ŧő ŧäĸę ęƒƒęčŧ", + "panel-options-graph-tooltip-label": "Ğřäpĥ ŧőőľŧįp", + "panel-options-label": "Päʼnęľ őpŧįőʼnş", + "tags-label": "Ŧäģş", + "title-label": "Ŧįŧľę" + }, "json-editor": { "save-button": "Ŝävę čĥäʼnģęş", "subtitle": "Ŧĥę ĴŜØŃ mőđęľ þęľőŵ įş ŧĥę đäŧä şŧřūčŧūřę ŧĥäŧ đęƒįʼnęş ŧĥę đäşĥþőäřđ. Ŧĥįş įʼnčľūđęş đäşĥþőäřđ şęŧŧįʼnģş, päʼnęľ şęŧŧįʼnģş, ľäyőūŧ, qūęřįęş, äʼnđ şő őʼn." + }, + "time-picker": { + "hide-time-picker": "Ħįđę ŧįmę pįčĸęř", + "now-delay-description": "Ēχčľūđę řęčęʼnŧ đäŧä ŧĥäŧ mäy þę įʼnčőmpľęŧę.", + "now-delay-label": "Ńőŵ đęľäy", + "refresh-live-dashboards-description": "Cőʼnŧįʼnūőūşľy řę-đřäŵ päʼnęľş ŵĥęřę ŧĥę ŧįmę řäʼnģę řęƒęřęʼnčęş 'ʼnőŵ'", + "refresh-live-dashboards-label": "Ŗęƒřęşĥ ľįvę đäşĥþőäřđş", + "time-options-label": "Ŧįmę őpŧįőʼnş", + "time-zone-label": "Ŧįmę žőʼnę", + "week-start-label": "Ŵęęĸ şŧäřŧ" } }, "data-source-picker": { diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json index d56d901f626..84bde632b13 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -255,9 +255,33 @@ } }, "dashboard-settings": { + "dashboard-delete-button": "", + "general": { + "auto-refresh-description": "", + "auto-refresh-label": "", + "description-label": "", + "editable-description": "", + "editable-label": "", + "folder-label": "", + "panel-options-graph-tooltip-description": "", + "panel-options-graph-tooltip-label": "", + "panel-options-label": "", + "tags-label": "", + "title-label": "" + }, "json-editor": { "save-button": "", "subtitle": "" + }, + "time-picker": { + "hide-time-picker": "", + "now-delay-description": "", + "now-delay-label": "", + "refresh-live-dashboards-description": "", + "refresh-live-dashboards-label": "", + "time-options-label": "", + "time-zone-label": "", + "week-start-label": "" } }, "data-source-picker": {