From 897fe8953e12957afbe1e55e6f1c71a49498f3c7 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 8 Feb 2022 14:38:14 -0500 Subject: [PATCH] Rename Backend to Dependency (#124067) (#125000) * Rename Backend to Dependency which was missed in #110523 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 73cc08e0755bc1a409e3e4a03870e764a3bbf145) Co-authored-by: Tobias Stadler --- .../waterfall/span_flyout/sticky_span_properties.tsx | 12 ++++++------ x-pack/plugins/translations/translations/ja-JP.json | 1 - x-pack/plugins/translations/translations/zh-CN.json | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx index 3067b335f4861..1e8cf5d19e5e0 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx @@ -49,7 +49,7 @@ export function StickySpanProperties({ span, transaction }: Props) { }); const spanName = span.span.name; - const backendName = span.span.destination?.service.resource; + const dependencyName = span.span.destination?.service.resource; const transactionStickyProperties = transaction ? [ @@ -98,13 +98,13 @@ export function StickySpanProperties({ span, transaction }: Props) { ] : []; - const backendStickyProperties = backendName + const dependencyStickyProperties = dependencyName ? [ { label: i18n.translate( - 'xpack.apm.transactionDetails.spanFlyout.backendLabel', + 'xpack.apm.transactionDetails.spanFlyout.dependencyLabel', { - defaultMessage: 'Backend', + defaultMessage: 'Dependency', } ), fieldName: SPAN_DESTINATION_SERVICE_RESOURCE, @@ -112,7 +112,7 @@ export function StickySpanProperties({ span, transaction }: Props) {