Skip to content
代码片段 群组 项目
提交 823a9a40 编辑于 作者: Etienne Baqué's avatar Etienne Baqué 提交者: James Lopez
浏览文件

Removed more occurrences of Gold

Occurrences to be replaced with Ultimate
上级 f433772f
No related branches found
No related tags found
无相关合并请求
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
true | true | 'You can apply your trial to a new group, an existing group, or your personal account.' true | true | 'You can apply your trial to a new group, an existing group, or your personal account.'
true | false | 'You can apply your trial to a new group or your personal account.' true | false | 'You can apply your trial to a new group or your personal account.'
false | true | 'You can apply your trial to a new group or an existing group.' false | true | 'You can apply your trial to a new group or an existing group.'
false | false | 'Create a new group to start your GitLab Gold trial.' false | false | 'Create a new group to start your GitLab Ultimate trial.'
end end
with_them do with_them do
......
# frozen_string_literal: true # frozen_string_literal: true
RSpec.shared_examples 'dashboard gold trial callout' do RSpec.shared_examples 'dashboard ultimate trial callout' do
before do before do
sign_in(user) sign_in(user)
end end
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
end end
end end
RSpec.shared_examples 'billings gold trial callout' do RSpec.shared_examples 'billings ultimate trial callout' do
context 'on a free plan' do context 'on a free plan' do
let(:plan) { free_plan } let(:plan) { free_plan }
...@@ -74,13 +74,13 @@ ...@@ -74,13 +74,13 @@
visit page_path visit page_path
end end
it 'renders an undismissable gold trial callout' do it 'renders an undismissable ultimate trial callout' do
expect(page).to have_selector '.promotion-callout' expect(page).to have_selector '.promotion-callout'
expect(page).not_to have_selector '.promotion-callout .js-close' expect(page).not_to have_selector '.promotion-callout .js-close'
end end
end end
context "on a plan that isn't gold", :js do context "on a plan that isn't ultimate", :js do
let(:plans) { { bronze: create(:bronze_plan), silver: create(:silver_plan) } } let(:plans) { { bronze: create(:bronze_plan), silver: create(:silver_plan) } }
where(case_names: ->(plan_type) {"like #{plan_type}"}, plan_type: [:bronze, :silver]) where(case_names: ->(plan_type) {"like #{plan_type}"}, plan_type: [:bronze, :silver])
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
visit page_path visit page_path
end end
it 'renders a dismissable gold trial callout' do it 'renders a dismissable ultimate trial callout' do
expect(page).to have_selector '.promotion-callout' expect(page).to have_selector '.promotion-callout'
find('.promotion-callout .js-close').click find('.promotion-callout .js-close').click
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
end end
end end
context 'on a gold plan' do context 'on a ultimate plan' do
let(:plan) { gold_plan } let(:plan) { gold_plan }
let!(:subscription) do let!(:subscription) do
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
visit page_path visit page_path
end end
it "doesn't render a gold trial callout" do it "doesn't render a ultimate trial callout" do
expect(page).not_to have_selector '.promotion-callout' expect(page).not_to have_selector '.promotion-callout'
end end
end end
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
let(:trial_ends_on) { Date.tomorrow } let(:trial_ends_on) { Date.tomorrow }
let(:trial) { true } let(:trial) { true }
context 'with a gold trial' do context 'with a ultimate trial' do
let(:plan) { create(:gold_plan, title: 'Gold') } let(:plan) { create(:gold_plan, title: 'Ultimate') }
it 'displays expiry date and Gold' do it 'displays expiry date and Ultimate' do
render 'shared/billings/trial_status', namespace: group render 'shared/billings/trial_status', namespace: group
expect(rendered).to have_content("Your GitLab.com Gold trial will expire after #{trial_ends_on}. You can retain access to the Gold features by upgrading below.") expect(rendered).to have_content("Your GitLab.com Ultimate trial will expire after #{trial_ends_on}. You can retain access to the Ultimate features by upgrading below.")
end end
end end
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
it 'offers a trial' do it 'offers a trial' do
render 'shared/billings/trial_status', namespace: group render 'shared/billings/trial_status', namespace: group
expect(rendered).to have_content("start a free 30-day trial of GitLab.com Gold") expect(rendered).to have_content("start a free 30-day trial of GitLab.com Ultimate")
end end
end end
end end
...@@ -4466,7 +4466,7 @@ msgstr "" ...@@ -4466,7 +4466,7 @@ msgstr ""
msgid "BillingPlans|If you would like to downgrade your plan please contact %{support_link_start}Customer Support%{support_link_end}." msgid "BillingPlans|If you would like to downgrade your plan please contact %{support_link_start}Customer Support%{support_link_end}."
msgstr "" msgstr ""
   
msgid "BillingPlans|Learn more about each plan by reading our %{faq_link}, or start a free 30-day trial of GitLab.com Gold." msgid "BillingPlans|Learn more about each plan by reading our %{faq_link}, or start a free 30-day trial of GitLab.com Ultimate."
msgstr "" msgstr ""
   
msgid "BillingPlans|Learn more about each plan by visiting our %{pricing_page_link}." msgid "BillingPlans|Learn more about each plan by visiting our %{pricing_page_link}."
...@@ -8552,7 +8552,7 @@ msgstr "" ...@@ -8552,7 +8552,7 @@ msgstr ""
msgid "CurrentUser|Settings" msgid "CurrentUser|Settings"
msgstr "" msgstr ""
   
msgid "CurrentUser|Start a Gold trial" msgid "CurrentUser|Start an Ultimate trial"
msgstr "" msgstr ""
   
msgid "CurrentUser|Upgrade" msgid "CurrentUser|Upgrade"
...@@ -16678,7 +16678,7 @@ msgstr "" ...@@ -16678,7 +16678,7 @@ msgstr ""
msgid "Learn GitLab" msgid "Learn GitLab"
msgstr "" msgstr ""
   
msgid "Learn GitLab - Gold trial" msgid "Learn GitLab - Ultimate trial"
msgstr "" msgstr ""
   
msgid "Learn how to %{link_start}contribute to the built-in templates%{link_end}" msgid "Learn how to %{link_start}contribute to the built-in templates%{link_end}"
...@@ -26968,7 +26968,7 @@ msgstr "" ...@@ -26968,7 +26968,7 @@ msgstr ""
msgid "Start a %{new_merge_request} with these changes" msgid "Start a %{new_merge_request} with these changes"
msgstr "" msgstr ""
   
msgid "Start a Free Gold Trial" msgid "Start a Free Ultimate Trial"
msgstr "" msgstr ""
   
msgid "Start a new discussion..." msgid "Start a new discussion..."
...@@ -27010,7 +27010,7 @@ msgstr "" ...@@ -27010,7 +27010,7 @@ msgstr ""
msgid "Start thread & reopen %{noteable_name}" msgid "Start thread & reopen %{noteable_name}"
msgstr "" msgstr ""
   
msgid "Start your Free Gold Trial" msgid "Start your Free Ultimate Trial"
msgstr "" msgstr ""
   
msgid "Start your free trial" msgid "Start your free trial"
...@@ -30077,7 +30077,7 @@ msgid_plural "Trials|%{plan} Trial %{en_dash} %{num} days left" ...@@ -30077,7 +30077,7 @@ msgid_plural "Trials|%{plan} Trial %{en_dash} %{num} days left"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
   
msgid "Trials|Create a new group to start your GitLab Gold trial." msgid "Trials|Create a new group to start your GitLab Ultimate trial."
msgstr "" msgstr ""
   
msgid "Trials|Go back to GitLab" msgid "Trials|Go back to GitLab"
...@@ -30089,7 +30089,7 @@ msgstr "" ...@@ -30089,7 +30089,7 @@ msgstr ""
msgid "Trials|Skip Trial (Continue with Free Account)" msgid "Trials|Skip Trial (Continue with Free Account)"
msgstr "" msgstr ""
   
msgid "Trials|You can always resume this process by selecting your avatar and choosing 'Start a Gold trial'" msgid "Trials|You can always resume this process by selecting your avatar and choosing 'Start an Ultimate trial'"
msgstr "" msgstr ""
   
msgid "Trials|You can apply your trial to a new group or an existing group." msgid "Trials|You can apply your trial to a new group or an existing group."
...@@ -30116,7 +30116,7 @@ msgstr "" ...@@ -30116,7 +30116,7 @@ msgstr ""
msgid "Trial|Dismiss" msgid "Trial|Dismiss"
msgstr "" msgstr ""
   
msgid "Trial|GitLab Gold trial (optional)" msgid "Trial|GitLab Ultimate trial (optional)"
msgstr "" msgstr ""
   
msgid "Trial|How many employees will use Gitlab?" msgid "Trial|How many employees will use Gitlab?"
...@@ -30131,7 +30131,7 @@ msgstr "" ...@@ -30131,7 +30131,7 @@ msgstr ""
msgid "Trial|Telephone number" msgid "Trial|Telephone number"
msgstr "" msgstr ""
   
msgid "Trial|Upgrade to Gold to keep using GitLab with advanced features." msgid "Trial|Upgrade to Ultimate to keep using GitLab with advanced features."
msgstr "" msgstr ""
   
msgid "Trial|We will activate your trial on your group after you complete this step. After 30 days, you can:" msgid "Trial|We will activate your trial on your group after you complete this step. After 30 days, you can:"
...@@ -32900,7 +32900,7 @@ msgstr "" ...@@ -32900,7 +32900,7 @@ msgstr ""
msgid "Your GitLab group" msgid "Your GitLab group"
msgstr "" msgstr ""
   
msgid "Your Gitlab Gold trial will last 30 days after which point you can keep your free Gitlab account forever. We just need some additional information to activate your trial." msgid "Your Gitlab Ultimate trial will last 30 days after which point you can keep your free Gitlab account forever. We just need some additional information to activate your trial."
msgstr "" msgstr ""
   
msgid "Your Groups" msgid "Your Groups"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册