Skip to content
代码片段 群组 项目
未验证 提交 8d57a398 编辑于 作者: Ross Byrne's avatar Ross Byrne 提交者: GitLab
浏览文件

Updated copy for due pro hand-raise PQL on billings page

Changelog: changed
EE: true
上级 efb3b0d8
No related branches found
No related tags found
无相关合并请求
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
- c.with_body do - c.with_body do
%h5 %h5
= sprite_icon('tanuki-ai', css_class: 'gl-mr-2') = sprite_icon('tanuki-ai', css_class: 'gl-mr-2')
= s_('CodeSuggestions|Introducing Duo Pro') = s_('CodeSuggestions|Introducing the GitLab Duo Pro add-on')
%p %p
- docs_link_url = help_page_path('user/project/repository/code_suggestions/index') - docs_link_url = help_page_path('user/project/repository/code_suggestions/index')
- docs_link = link_to('', docs_link_url, target: '_blank', rel: 'noopener noreferrer') - 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)) tag_pair(docs_link, :linkStart, :linkEnd))
.js-hand-raise-lead-button{ data: code_suggestions_hand_raise_props(@group) } .js-hand-raise-lead-button{ data: code_suggestions_hand_raise_props(@group) }
......
...@@ -93,10 +93,10 @@ def expect_to_have_tracking(action:, label: nil) ...@@ -93,10 +93,10 @@ def expect_to_have_tracking(action:, label: nil)
it 'renders the code suggestions component' do it 'renders the code suggestions component' do
render render
expect(rendered).to have_content(s_('CodeSuggestions|Introducing Duo Pro')) expect(rendered).to have_content(s_('CodeSuggestions|Introducing the GitLab Duo Pro add-on'))
expect(rendered).to have_content('Enhance your coding experience with intelligent recommendations') 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') 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"]' 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) expect(rendered).to have_selector(hand_raise_selector)
end end
...@@ -110,7 +110,7 @@ def expect_to_have_tracking(action:, label: nil) ...@@ -110,7 +110,7 @@ def expect_to_have_tracking(action:, label: nil)
it 'does not render the code suggestions component' do it 'does not render the code suggestions component' do
render 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 end
end end
......
...@@ -12104,6 +12104,9 @@ msgstr "" ...@@ -12104,6 +12104,9 @@ msgstr ""
msgid "CodeSuggestions|A user can be assigned a Duo Pro seat only once each billable month." msgid "CodeSuggestions|A user can be assigned a Duo Pro seat only once each billable month."
msgstr "" 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" msgid "CodeSuggestions|Code Suggestions"
msgstr "" msgstr ""
   
...@@ -12125,6 +12128,9 @@ msgstr "" ...@@ -12125,6 +12128,9 @@ msgstr ""
msgid "CodeSuggestions|Introducing Duo Pro" msgid "CodeSuggestions|Introducing Duo Pro"
msgstr "" msgstr ""
   
msgid "CodeSuggestions|Introducing the GitLab Duo Pro add-on"
msgstr ""
msgid "CodeSuggestions|Manage seat assignments for Duo Pro across your instance." msgid "CodeSuggestions|Manage seat assignments for Duo Pro across your instance."
msgstr "" msgstr ""
   
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册