diff --git a/public/app/features/dashboard/utils/getPanelMenu.ts b/public/app/features/dashboard/utils/getPanelMenu.ts index 152423751a8..2be759fc7b5 100644 --- a/public/app/features/dashboard/utils/getPanelMenu.ts +++ b/public/app/features/dashboard/utils/getPanelMenu.ts @@ -227,7 +227,9 @@ export function getPanelMenu( if (panel.options.legend) { subMenu.push({ - text: panel.options.legend.showLegend ? 'Hide legend' : 'Show legend', + text: panel.options.legend.showLegend + ? t('panel.header-menu.hide-legend', 'Hide legend') + : t('panel.header-menu.show-legend', 'Show legend'), onClick: onToggleLegend, shortcut: 'p l', }); diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json index 126c634c0a5..940eb77aa34 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "", "inspect": "Überprüfen", "inspect-data": "Daten", "inspect-json": "Panel-JSON", "more": "Mehr …", "share": "Teilen", + "show-legend": "", "view": "Anzeigen" } }, diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 434f5a03416..c3d7bab249e 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "Hide legend", "inspect": "Inspect", "inspect-data": "Data", "inspect-json": "Panel JSON", "more": "More...", "share": "Share", + "show-legend": "Show legend", "view": "View" } }, diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json index bb5d4cd8fe5..b6020ca1118 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "", "inspect": "Inspeccionar", "inspect-data": "Datos", "inspect-json": "JSON de panel", "more": "Más...", "share": "Compartir", + "show-legend": "", "view": "Vista" } }, diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json index d371ed44c7d..50ee9d5efa8 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "", "inspect": "Inspecter", "inspect-data": "Données", "inspect-json": "Panneau JSON", "more": "Plus...", "share": "Partager", + "show-legend": "", "view": "Afficher" } }, diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 0a8db2e7a8a..cef669c3987 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "Ħįđę ľęģęʼnđ", "inspect": "Ĩʼnşpęčŧ", "inspect-data": "Đäŧä", "inspect-json": "Päʼnęľ ĴŜØŃ", "more": "Mőřę...", "share": "Ŝĥäřę", + "show-legend": "Ŝĥőŵ ľęģęʼnđ", "view": "Vįęŵ" } }, diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json index 8d39937c106..c1623c71043 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -304,11 +304,13 @@ }, "panel": { "header-menu": { + "hide-legend": "", "inspect": "检查", "inspect-data": "数据", "inspect-json": "面板 JSON", "more": "更多...", "share": "分享", + "show-legend": "", "view": "查看" } },