ArthurKnaus 1 год назад
Родитель
Сommit
763df509c4

+ 1 - 1
static/app/components/modals/widgetViewerModal.tsx

@@ -1214,7 +1214,7 @@ function OpenButton({
       path = getWidgetReleasesUrl(widget, selection, organization);
       break;
     case WidgetType.METRICS:
-      openLabel = t('Open in DDM');
+      openLabel = t('Open in Metrics');
       path = getWidgetDDMUrl(widget, selection, organization);
       break;
     case WidgetType.DISCOVER:

+ 1 - 1
static/app/views/alerts/rules/metric/metricRulePresets.tsx

@@ -50,7 +50,7 @@ export function makeDefaultCta({
   if (isCustomMetricField(rule.aggregate)) {
     const {mri, op} = parseField(rule.aggregate) ?? {};
     return {
-      buttonText: t('Open in DDM'),
+      buttonText: t('Open in Metrics'),
       to: getDdmUrl(orgSlug, {
         start: timePeriod.start,
         end: timePeriod.end,

+ 1 - 1
static/app/views/dashboards/widgetCard/widgetCardContextMenu.tsx

@@ -202,7 +202,7 @@ function WidgetCardContextMenu({
 
     menuOptions.push({
       key: 'open-in-ddm',
-      label: t('Open in DDM'),
+      label: t('Open in Metrics'),
       to: ddmLocation,
     });
   }

+ 1 - 1
static/app/views/settings/projectMetrics/projectMetricsDetails.tsx

@@ -101,7 +101,7 @@ function ProjectMetricsDetails({project, params, organization}: Props) {
             })}
             size="sm"
           >
-            {t('Open in DDM')}
+            {t('Open in Metrics')}
           </LinkButton>
         }
       />