From e900df56e5f9ed80518f32fd48c3b496a8403f55 Mon Sep 17 00:00:00 2001
From: Pavel Shutsin <pshutsin@gitlab.com>
Date: Thu, 11 Apr 2024 11:20:45 +0200
Subject: [PATCH] Improve AI analytics tooltip text

---
 app/assets/javascripts/analytics/shared/constants.js            | 2 +-
 .../components/__snapshots__/metric_table_spec.js.snap          | 2 +-
 locale/gitlab.pot                                               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/assets/javascripts/analytics/shared/constants.js b/app/assets/javascripts/analytics/shared/constants.js
index 15c5cedcb564..144f02582ef5 100644
--- a/app/assets/javascripts/analytics/shared/constants.js
+++ b/app/assets/javascripts/analytics/shared/constants.js
@@ -234,7 +234,7 @@ export const METRIC_TOOLTIPS = {
   },
   [AI_METRICS.CODE_SUGGESTIONS_USAGE_RATE]: {
     description: s__(
-      'ValueStreamAnalytics|Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique contributors.',
+      'ValueStreamAnalytics|Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique code contributors.',
     ),
     groupLink: '',
     projectLink: '',
diff --git a/ee/spec/frontend/analytics/dashboards/ai_impact/components/__snapshots__/metric_table_spec.js.snap b/ee/spec/frontend/analytics/dashboards/ai_impact/components/__snapshots__/metric_table_spec.js.snap
index edc0b5063b95..5edd15ec0a16 100644
--- a/ee/spec/frontend/analytics/dashboards/ai_impact/components/__snapshots__/metric_table_spec.js.snap
+++ b/ee/spec/frontend/analytics/dashboards/ai_impact/components/__snapshots__/metric_table_spec.js.snap
@@ -23,7 +23,7 @@ exports[`Metric table for the change_failure_rate table row when the data is loa
 
 exports[`Metric table for the code_suggestions_usage_rate table row when the data is loaded renders the metric values 1`] = `
 "Code Suggestions usage  
-    Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique contributors.
+    Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique code contributors.
     
       Go to docs
       
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 6d6cb082f2c3..3a468b04ff45 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -56083,7 +56083,7 @@ msgstr ""
 msgid "ValueStreamAnalytics|Merge request analytics"
 msgstr ""
 
-msgid "ValueStreamAnalytics|Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique contributors."
+msgid "ValueStreamAnalytics|Monthly user engagement with AI Code Suggestions. Percentage ratio calculated as monthly unique Code Suggestions users / total monthly unique code contributors."
 msgstr ""
 
 msgid "ValueStreamAnalytics|New Value Stream"
-- 
GitLab