From 8d57a39890cc9adab8d6f3f3081bbeebdf6af59a Mon Sep 17 00:00:00 2001 From: Ross Byrne <robyrne@gitlab.com> Date: Thu, 18 Jan 2024 09:03:44 +0000 Subject: [PATCH] Updated copy for due pro hand-raise PQL on billings page Changelog: changed EE: true --- ee/app/views/groups/billings/index.html.haml | 4 ++-- ee/spec/views/groups/billings/index.html.haml_spec.rb | 8 ++++---- locale/gitlab.pot | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ee/app/views/groups/billings/index.html.haml b/ee/app/views/groups/billings/index.html.haml index 2db12b7f6bad4..e34949bc76ba5 100644 --- a/ee/app/views/groups/billings/index.html.haml +++ b/ee/app/views/groups/billings/index.html.haml @@ -27,11 +27,11 @@ - c.with_body do %h5 = sprite_icon('tanuki-ai', css_class: 'gl-mr-2') - = s_('CodeSuggestions|Introducing Duo Pro') + = s_('CodeSuggestions|Introducing the GitLab Duo Pro add-on') %p - docs_link_url = help_page_path('user/project/repository/code_suggestions/index') - docs_link = link_to('', docs_link_url, target: '_blank', rel: 'noopener noreferrer') - = safe_format(s_("CodeSuggestions|Enhance your coding experience with intelligent recommendations. %{linkStart}Duo Pro%{linkEnd} offers features that use generative AI to suggest code."), + = safe_format(s_("CodeSuggestions|Boost productivity by using %{linkStart}Code Suggestions%{linkEnd} to write and understand code. Code Suggestions is part of the GitLab Duo Pro add-on, available to Premium and Ultimate users now."), tag_pair(docs_link, :linkStart, :linkEnd)) .js-hand-raise-lead-button{ data: code_suggestions_hand_raise_props(@group) } diff --git a/ee/spec/views/groups/billings/index.html.haml_spec.rb b/ee/spec/views/groups/billings/index.html.haml_spec.rb index 1f585d8c9d0c5..2369a24fb5cff 100644 --- a/ee/spec/views/groups/billings/index.html.haml_spec.rb +++ b/ee/spec/views/groups/billings/index.html.haml_spec.rb @@ -93,10 +93,10 @@ def expect_to_have_tracking(action:, label: nil) it 'renders the code suggestions component' do render - expect(rendered).to have_content(s_('CodeSuggestions|Introducing Duo Pro')) - expect(rendered).to have_content('Enhance your coding experience with intelligent recommendations') + expect(rendered).to have_content(s_('CodeSuggestions|Introducing the GitLab Duo Pro add-on')) + expect(rendered).to have_content('Boost productivity by using Code Suggestions to write and understand code.') href = help_page_path('user/project/repository/code_suggestions/index') - expect(rendered).to have_link('Duo Pro', href: href) + expect(rendered).to have_link('Code Suggestions', href: href) hand_raise_selector = '.js-hand-raise-lead-button[data-track-label="code_suggestions_hand_raise_lead_form"]' expect(rendered).to have_selector(hand_raise_selector) end @@ -110,7 +110,7 @@ def expect_to_have_tracking(action:, label: nil) it 'does not render the code suggestions component' do render - expect(rendered).not_to have_content(s_('CodeSuggestions|Introducing the Code Suggestions add-on')) + expect(rendered).not_to have_content(s_('CodeSuggestions|Introducing the GitLab Duo Pro add-on')) end end end diff --git a/locale/gitlab.pot b/locale/gitlab.pot index e191e928bb0a5..902d3875e502d 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -12104,6 +12104,9 @@ msgstr "" msgid "CodeSuggestions|A user can be assigned a Duo Pro seat only once each billable month." msgstr "" +msgid "CodeSuggestions|Boost productivity by using %{linkStart}Code Suggestions%{linkEnd} to write and understand code. Code Suggestions is part of the GitLab Duo Pro add-on, available to Premium and Ultimate users now." +msgstr "" + msgid "CodeSuggestions|Code Suggestions" msgstr "" @@ -12125,6 +12128,9 @@ msgstr "" msgid "CodeSuggestions|Introducing Duo Pro" msgstr "" +msgid "CodeSuggestions|Introducing the GitLab Duo Pro add-on" +msgstr "" + msgid "CodeSuggestions|Manage seat assignments for Duo Pro across your instance." msgstr "" -- GitLab