PanelTimeSettings: Update wording (#113176)

* PanelTimeSettings: Update wording

* Update wording
This commit is contained in:
Drew Slobodnjak
2025-10-30 09:02:09 -07:00
committed by GitHub
parent 72e244c1e7
commit 7fbe2e5962
2 changed files with 16 additions and 18 deletions
@@ -100,17 +100,17 @@ export class PanelTimeRangeDrawer extends SceneObjectBase<PanelTimeRangeDrawerSt
return (
<Drawer
title={t('dashboard.panel.time-range-settings.title', 'Panel time range settings')}
title={t('dashboard.panel.time-range-settings.title', 'Panel time settings')}
onClose={model.onClose}
size="sm"
>
<Stack direction="column" gap={2}>
<Field
label={t('dashboard.panel.time-range-settings.time-from', 'Custom panel time range')}
label={t('dashboard.panel.time-range-settings.time-from', 'Panel time range')}
noMargin
description={t(
'dashboard.panel.time-range-settings.time-from-description',
'Overrides the dashboard time range. To specify a value not found in the list just type in a custom value, for example 5m or 2h'
'Overrides the dashboard time range. Use one of the preset values or enter a custom value like 5m or 2h.'
)}
>
<Stack>
@@ -129,7 +129,7 @@ export class PanelTimeRangeDrawer extends SceneObjectBase<PanelTimeRangeDrawerSt
noMargin
description={t(
'dashboard.panel.time-range-settings.time-shift-description',
'Adds a time shift relative to the dashboard or panel time range. To specify a value not found in the list just type in a custom value, for example 5m or 2h'
'Adds a time shift relative to the dashboard or panel time range. Use one of the preset values or enter a custom value like 5m or 2h.'
)}
>
<Combobox
@@ -150,12 +150,10 @@ export class PanelTimeRangeDrawer extends SceneObjectBase<PanelTimeRangeDrawerSt
<Label
description={t(
'dashboard.panel.time-range-settings.time-window-compare-description',
'Query and overlay data from a different time period'
'Compare data between two time ranges'
)}
>
<Trans i18nKey="dashboard.panel.time-range-settings.time-window-compare">
Time window comparison
</Trans>
<Trans i18nKey="dashboard.panel.time-range-settings.time-window-compare">Time comparison</Trans>
</Label>
<FeatureBadge featureState={FeatureState.new} />
</Stack>
@@ -172,10 +170,10 @@ export class PanelTimeRangeDrawer extends SceneObjectBase<PanelTimeRangeDrawerSt
<Field
noMargin
label={t('dashboard.panel.time-range-settings.hide-time-info', 'Hidden time info')}
label={t('dashboard.panel.time-range-settings.hide-time-info', 'Hide panel time range')}
description={t(
'dashboard.panel.time-range-settings.hide-time-info-description',
'Do not show the custom time range in the panel header'
'Do not show the panel time range in the panel header'
)}
>
<Switch
+8 -8
View File
@@ -5132,15 +5132,15 @@
},
"panel": {
"time-range-settings": {
"hide-time-info": "Hidden time info",
"hide-time-info-description": "Do not show the custom time range in the panel header",
"time-from": "Custom panel time range",
"time-from-description": "Overrides the dashboard time range. To specify a value not found in the list just type in a custom value, for example 5m or 2h",
"hide-time-info": "Hide panel time range",
"hide-time-info-description": "Do not show the panel time range in the panel header",
"time-from": "Panel time range",
"time-from-description": "Overrides the dashboard time range. Use one of the preset values or enter a custom value like 5m or 2h.",
"time-shift": "Time shift",
"time-shift-description": "Adds a time shift relative to the dashboard or panel time range. To specify a value not found in the list just type in a custom value, for example 5m or 2h",
"time-window-compare": "Time window comparison",
"time-window-compare-description": "Query and overlay data from a different time period",
"title": "Panel time range settings"
"time-shift-description": "Adds a time shift relative to the dashboard or panel time range. Use one of the preset values or enter a custom value like 5m or 2h.",
"time-window-compare": "Time comparison",
"time-window-compare-description": "Compare data between two time ranges",
"title": "Panel time settings"
}
},
"panel-edit": {