diff --git a/ee/app/views/groups/billings/index.html.haml b/ee/app/views/groups/billings/index.html.haml index 2db12b7f6bad4974aada51f57459ac115d8ee606..e34949bc76ba50825d01ecccfaeae1f5f3087da0 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 1f585d8c9d0c5d1e4ae14de3041c7c0fe1386d51..2369a24fb5cff9784bb2c37995448a036212ac5c 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 1f95c0400563143d5ece029323b2b52bcd5a16e8..fd802b0c5d0b638af022dced3ae3a5fd511fa100 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 ""