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 6fec3d0e190..01f01dfe9b7 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -312,11 +312,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 ae0fd8c3673..ab320e368c1 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -312,11 +312,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 d0d4a1f1452..49eea1a922b 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -312,11 +312,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 947911823a0..eb9ab8a3684 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -312,11 +312,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 0108ba1278c..14302dddc4c 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -312,11 +312,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 aa0fe40c762..905a0ab1116 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -312,11 +312,13 @@ }, "panel": { "header-menu": { + "hide-legend": "", "inspect": "检查", "inspect-data": "数据", "inspect-json": "面板 JSON", "more": "更多...", "share": "分享", + "show-legend": "", "view": "查看" } },