[v9.3.x] Internationalization: Translate 'Hide / show legend' of PanelHeaderMenuItem (#59133)

Internationalization: Translate 'Hide / show legend' of PanelHeaderMenuItem (#58800)

(cherry picked from commit f2cb248d93)

Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-11-22 17:04:59 +01:00
committed by GitHub
co-authored by Laura Fernández
parent df10c952c5
commit 692bd0ac00
7 changed files with 15 additions and 1 deletions
@@ -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',
});
+2
View File
@@ -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"
}
},
+2
View File
@@ -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"
}
},
+2
View File
@@ -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"
}
},
+2
View File
@@ -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"
}
},
@@ -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įęŵ"
}
},
+2
View File
@@ -312,11 +312,13 @@
},
"panel": {
"header-menu": {
"hide-legend": "",
"inspect": "检查",
"inspect-data": "数据",
"inspect-json": "面板 JSON",
"more": "更多...",
"share": "分享",
"show-legend": "",
"view": "查看"
}
},