Dashboards: Rename layout display names: Default grid => Custom, Responsive grid => Auto (#101673)

Dashboards: Rename layout display name
This commit is contained in:
Torkel Ödegaard
2025-03-06 11:39:45 +01:00
committed by GitHub
parent 904d58e936
commit 463e3143ab
4 changed files with 12 additions and 12 deletions
@@ -47,10 +47,10 @@ export class DefaultGridLayoutManager
public static readonly descriptor: LayoutRegistryItem = {
get name() {
return t('dashboard.default-layout.name', 'Default grid');
return t('dashboard.default-layout.name', 'Custom');
},
get description() {
return t('dashboard.default-layout.description', 'The default grid layout');
return t('dashboard.default-layout.description', 'Manually size and position panels');
},
id: 'default-grid',
createFromLayout: DefaultGridLayoutManager.createFromLayout,
@@ -25,10 +25,10 @@ export class ResponsiveGridLayoutManager
public static readonly descriptor: LayoutRegistryItem = {
get name() {
return t('dashboard.responsive-layout.name', 'Responsive grid');
return t('dashboard.responsive-layout.name', 'Auto');
},
get description() {
return t('dashboard.responsive-layout.description', 'CSS layout that adjusts to the available space');
return t('dashboard.responsive-layout.description', 'Automatically positions panels into a grid.');
},
id: 'responsive-grid',
createFromLayout: ResponsiveGridLayoutManager.createFromLayout,
+4 -4
View File
@@ -1011,7 +1011,7 @@
"subtitle": "Alert rules related to this dashboard"
},
"default-layout": {
"description": "The default grid layout",
"description": "Manually size and position panels",
"item-options": {
"repeat": {
"direction": {
@@ -1027,7 +1027,7 @@
}
}
},
"name": "Default grid",
"name": "Custom",
"row-actions": {
"delete": "Delete row",
"modal": {
@@ -1190,7 +1190,7 @@
}
},
"responsive-layout": {
"description": "CSS layout that adjusts to the available space",
"description": "Automatically positions panels into a grid.",
"item-options": {
"hide-no-data": "Hide when no data",
"repeat": {
@@ -1201,7 +1201,7 @@
},
"title": "Layout options"
},
"name": "Responsive grid",
"name": "Auto",
"options": {
"columns": "Columns",
"fixed": "Fixed: {{size}}px",
+4 -4
View File
@@ -1011,7 +1011,7 @@
"subtitle": "Åľęřŧ řūľęş řęľäŧęđ ŧő ŧĥįş đäşĥþőäřđ"
},
"default-layout": {
"description": "Ŧĥę đęƒäūľŧ ģřįđ ľäyőūŧ",
"description": "Mäʼnūäľľy şįžę äʼnđ pőşįŧįőʼn päʼnęľş",
"item-options": {
"repeat": {
"direction": {
@@ -1027,7 +1027,7 @@
}
}
},
"name": "Đęƒäūľŧ ģřįđ",
"name": "Cūşŧőm",
"row-actions": {
"delete": "Đęľęŧę řőŵ",
"modal": {
@@ -1190,7 +1190,7 @@
}
},
"responsive-layout": {
"description": "CŜŜ ľäyőūŧ ŧĥäŧ äđĵūşŧş ŧő ŧĥę äväįľäþľę şpäčę",
"description": "Åūŧőmäŧįčäľľy pőşįŧįőʼnş päʼnęľş įʼnŧő ä ģřįđ.",
"item-options": {
"hide-no-data": "Ħįđę ŵĥęʼn ʼnő đäŧä",
"repeat": {
@@ -1201,7 +1201,7 @@
},
"title": "Ŀäyőūŧ őpŧįőʼnş"
},
"name": "Ŗęşpőʼnşįvę ģřįđ",
"name": "Åūŧő",
"options": {
"columns": "Cőľūmʼnş",
"fixed": "Fįχęđ: {{size}}pχ",