Commit 4696e416 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'ag-3097-cl-occurences' into 'master'

Replace occurrences of variances for Cloud Licensing

See merge request gitlab-org/gitlab!62450
parents 252e1089 ccbe7876
...@@ -14,9 +14,9 @@ export const subscriptionActivationInsertCode = __( ...@@ -14,9 +14,9 @@ export const subscriptionActivationInsertCode = __(
export const howToActivateSubscription = s__( export const howToActivateSubscription = s__(
'SuperSonics|Learn how to %{linkStart}activate your subscription%{linkEnd}.', 'SuperSonics|Learn how to %{linkStart}activate your subscription%{linkEnd}.',
); );
export const activateLabel = s__('CloudLicense|Activate'); export const activateLabel = s__('SuperSonics|Activate');
export const activateSubscription = s__('CloudLicense|Activate subscription'); export const activateSubscription = s__('SuperSonics|Activate subscription');
export const enterActivationCode = s__('CloudLicense|Enter activation code'); export const enterActivationCode = s__('SuperSonics|Enter activation code');
export const noActiveSubscription = s__(`SuperSonics|You do not have an active subscription`); export const noActiveSubscription = s__(`SuperSonics|You do not have an active subscription`);
export const subscriptionDetailsHeaderText = s__('SuperSonics|Subscription details'); export const subscriptionDetailsHeaderText = s__('SuperSonics|Subscription details');
export const licensedToHeaderText = s__('SuperSonics|Licensed to'); export const licensedToHeaderText = s__('SuperSonics|Licensed to');
...@@ -41,21 +41,21 @@ export const removeLicense = __('Remove license'); ...@@ -41,21 +41,21 @@ export const removeLicense = __('Remove license');
export const removeLicenseConfirm = __('Are you sure you want to remove the license?'); export const removeLicenseConfirm = __('Are you sure you want to remove the license?');
export const uploadLicense = __('Upload license'); export const uploadLicense = __('Upload license');
export const uploadLegacyLicense = s__('SuperSonics|Upload a legacy license'); export const uploadLegacyLicense = s__('SuperSonics|Upload a legacy license');
export const billableUsersTitle = s__('CloudLicense|Billable users'); export const billableUsersTitle = s__('SuperSonics|Billable users');
export const maximumUsersTitle = s__('CloudLicense|Maximum users'); export const maximumUsersTitle = s__('SuperSonics|Maximum users');
export const usersInSubscriptionTitle = s__('CloudLicense|Users in subscription'); export const usersInSubscriptionTitle = s__('SuperSonics|Users in subscription');
export const usersOverSubscriptionTitle = s__('CloudLicense|Users over subscription'); export const usersOverSubscriptionTitle = s__('SuperSonics|Users over subscription');
export const billableUsersText = s__( export const billableUsersText = s__(
'CloudLicense|This is the number of %{billableUsersLinkStart}billable users%{billableUsersLinkEnd} on your installation, and this is the minimum number you need to purchase when you renew your license.', 'SuperSonics|This is the number of %{billableUsersLinkStart}billable users%{billableUsersLinkEnd} on your installation, and this is the minimum number you need to purchase when you renew your license.',
); );
export const maximumUsersText = s__( export const maximumUsersText = s__(
'CloudLicense|This is the highest peak of users on your installation since the license started.', 'SuperSonics|This is the highest peak of users on your installation since the license started.',
); );
export const usersInSubscriptionText = s__( export const usersInSubscriptionText = s__(
`CloudLicense|Users with a Guest role or those who don't belong to a Project or Group will not use a seat from your license.`, `SuperSonics|Users with a Guest role or those who don't belong to a Project or Group will not use a seat from your license.`,
); );
export const usersOverSubscriptionText = s__( export const usersOverSubscriptionText = s__(
`CloudLicense|You'll be charged for %{trueUpLinkStart}users over license%{trueUpLinkEnd} on a quarterly or annual basis, depending on the terms of your agreement.`, `SuperSonics|You'll be charged for %{trueUpLinkStart}users over license%{trueUpLinkEnd} on a quarterly or annual basis, depending on the terms of your agreement.`,
); );
export const subscriptionTable = { export const subscriptionTable = {
activatedAt: s__('SuperSonics|Activated on'), activatedAt: s__('SuperSonics|Activated on'),
...@@ -74,10 +74,10 @@ export const manualSyncFailureText = s__( ...@@ -74,10 +74,10 @@ export const manualSyncFailureText = s__(
); );
export const subscriptionActivationForm = { export const subscriptionActivationForm = {
activationCode: s__('CloudLicense|Activation code'), activationCode: s__('SuperSonics|Activation code'),
pasteActivationCode: s__('CloudLicense|Paste your activation code'), pasteActivationCode: s__('SuperSonics|Paste your activation code'),
acceptTerms: s__( acceptTerms: s__(
'CloudLicense|I agree that my use of the GitLab Software is subject to the Subscription Agreement located at the %{linkStart}Terms of Service%{linkEnd}, unless otherwise agreed to in writing with GitLab.', 'SuperSonics|I agree that my use of the GitLab Software is subject to the Subscription Agreement located at the %{linkStart}Terms of Service%{linkEnd}, unless otherwise agreed to in writing with GitLab.',
), ),
}; };
...@@ -100,19 +100,19 @@ export const subscriptionHistoryQueries = { ...@@ -100,19 +100,19 @@ export const subscriptionHistoryQueries = {
}; };
export const trialCard = { export const trialCard = {
title: s__('CloudLicense|Free trial'), title: s__('SuperSonics|Free trial'),
description: s__( description: s__(
'CloudLicense|You can start a free trial of GitLab Ultimate without any obligation or payment details.', 'SuperSonics|You can start a free trial of GitLab Ultimate without any obligation or payment details.',
), ),
startTrial: s__('CloudLicense|Start free trial'), startTrial: s__('SuperSonics|Start free trial'),
}; };
export const buySubscriptionCard = { export const buySubscriptionCard = {
title: s__('CloudLicense|Subscription'), title: s__('SuperSonics|Subscription'),
description: s__( description: s__(
'CloudLicense|Ready to get started? A GitLab plan is ideal for scaling organizations and for multi team usage.', 'SuperSonics|Ready to get started? A GitLab plan is ideal for scaling organizations and for multi team usage.',
), ),
buttonLabel: s__('CloudLicense|Buy subscription'), buttonLabel: s__('SuperSonics|Buy subscription'),
}; };
export const CONNECTIVITY_ERROR = 'CONNECTIVITY_ERROR'; export const CONNECTIVITY_ERROR = 'CONNECTIVITY_ERROR';
...@@ -121,9 +121,9 @@ export const generalActivationError = s__( ...@@ -121,9 +121,9 @@ export const generalActivationError = s__(
); );
export const connectivityErrorAlert = { export const connectivityErrorAlert = {
subtitle: s__( subtitle: s__(
'CloudLicense|To activate your subscription, connect to GitLab servers through the %{linkStart}Cloud Sync service%{linkEnd}, a hassle-free way to manage your subscription.', 'SuperSonics|To activate your subscription, connect to GitLab servers through the %{linkStart}Cloud Licensing%{linkEnd} service, a hassle-free way to manage your subscription.',
), ),
helpText: s__( helpText: s__(
'CloudLicense|Get help for the most common connectivity issues by %{linkStart}troubleshooting the activation code%{linkEnd}.', 'SuperSonics|Get help for the most common connectivity issues by %{linkStart}troubleshooting the activation code%{linkEnd}.',
), ),
}; };
...@@ -6,7 +6,7 @@ module GitlabSubscriptions ...@@ -6,7 +6,7 @@ module GitlabSubscriptions
class ActivateService class ActivateService
ERROR_MESSAGES = { ERROR_MESSAGES = {
not_self_managed: 'Not self-managed instance', not_self_managed: 'Not self-managed instance',
disabled: 'Cloud license is disabled' disabled: 'Cloud licensing is disabled'
}.freeze }.freeze
def execute(activation_code) def execute(activation_code)
......
...@@ -6778,72 +6778,6 @@ msgstr "" ...@@ -6778,72 +6778,6 @@ msgstr ""
msgid "Cloud licenses can not be removed." msgid "Cloud licenses can not be removed."
msgstr "" msgstr ""
msgid "CloudLicense|Activate"
msgstr ""
msgid "CloudLicense|Activate subscription"
msgstr ""
msgid "CloudLicense|Activation code"
msgstr ""
msgid "CloudLicense|Billable users"
msgstr ""
msgid "CloudLicense|Buy subscription"
msgstr ""
msgid "CloudLicense|Enter activation code"
msgstr ""
msgid "CloudLicense|Free trial"
msgstr ""
msgid "CloudLicense|Get help for the most common connectivity issues by %{linkStart}troubleshooting the activation code%{linkEnd}."
msgstr ""
msgid "CloudLicense|I agree that my use of the GitLab Software is subject to the Subscription Agreement located at the %{linkStart}Terms of Service%{linkEnd}, unless otherwise agreed to in writing with GitLab."
msgstr ""
msgid "CloudLicense|Maximum users"
msgstr ""
msgid "CloudLicense|Paste your activation code"
msgstr ""
msgid "CloudLicense|Ready to get started? A GitLab plan is ideal for scaling organizations and for multi team usage."
msgstr ""
msgid "CloudLicense|Start free trial"
msgstr ""
msgid "CloudLicense|Subscription"
msgstr ""
msgid "CloudLicense|This is the highest peak of users on your installation since the license started."
msgstr ""
msgid "CloudLicense|This is the number of %{billableUsersLinkStart}billable users%{billableUsersLinkEnd} on your installation, and this is the minimum number you need to purchase when you renew your license."
msgstr ""
msgid "CloudLicense|To activate your subscription, connect to GitLab servers through the %{linkStart}Cloud Sync service%{linkEnd}, a hassle-free way to manage your subscription."
msgstr ""
msgid "CloudLicense|Users in subscription"
msgstr ""
msgid "CloudLicense|Users over subscription"
msgstr ""
msgid "CloudLicense|Users with a Guest role or those who don't belong to a Project or Group will not use a seat from your license."
msgstr ""
msgid "CloudLicense|You can start a free trial of GitLab Ultimate without any obligation or payment details."
msgstr ""
msgid "CloudLicense|You'll be charged for %{trueUpLinkStart}users over license%{trueUpLinkEnd} on a quarterly or annual basis, depending on the terms of your agreement."
msgstr ""
msgid "Cluster" msgid "Cluster"
msgstr "" msgstr ""
...@@ -31609,15 +31543,42 @@ msgstr "" ...@@ -31609,15 +31543,42 @@ msgstr ""
msgid "Sunday" msgid "Sunday"
msgstr "" msgstr ""
msgid "SuperSonics|Activate"
msgstr ""
msgid "SuperSonics|Activate subscription"
msgstr ""
msgid "SuperSonics|Activated on" msgid "SuperSonics|Activated on"
msgstr "" msgstr ""
msgid "SuperSonics|Activation code"
msgstr ""
msgid "SuperSonics|An error occurred while activating your subscription." msgid "SuperSonics|An error occurred while activating your subscription."
msgstr "" msgstr ""
msgid "SuperSonics|Billable users"
msgstr ""
msgid "SuperSonics|Buy subscription"
msgstr ""
msgid "SuperSonics|Enter activation code"
msgstr ""
msgid "SuperSonics|Expires on" msgid "SuperSonics|Expires on"
msgstr "" msgstr ""
msgid "SuperSonics|Free trial"
msgstr ""
msgid "SuperSonics|Get help for the most common connectivity issues by %{linkStart}troubleshooting the activation code%{linkEnd}."
msgstr ""
msgid "SuperSonics|I agree that my use of the GitLab Software is subject to the Subscription Agreement located at the %{linkStart}Terms of Service%{linkEnd}, unless otherwise agreed to in writing with GitLab."
msgstr ""
msgid "SuperSonics|ID" msgid "SuperSonics|ID"
msgstr "" msgstr ""
...@@ -31633,18 +31594,33 @@ msgstr "" ...@@ -31633,18 +31594,33 @@ msgstr ""
msgid "SuperSonics|Manage" msgid "SuperSonics|Manage"
msgstr "" msgstr ""
msgid "SuperSonics|Maximum users"
msgstr ""
msgid "SuperSonics|Paste your activation code"
msgstr ""
msgid "SuperSonics|Plan" msgid "SuperSonics|Plan"
msgstr "" msgstr ""
msgid "SuperSonics|Ready to get started? A GitLab plan is ideal for scaling organizations and for multi team usage."
msgstr ""
msgid "SuperSonics|Renews" msgid "SuperSonics|Renews"
msgstr "" msgstr ""
msgid "SuperSonics|Seats" msgid "SuperSonics|Seats"
msgstr "" msgstr ""
msgid "SuperSonics|Start free trial"
msgstr ""
msgid "SuperSonics|Started" msgid "SuperSonics|Started"
msgstr "" msgstr ""
msgid "SuperSonics|Subscription"
msgstr ""
msgid "SuperSonics|Subscription details" msgid "SuperSonics|Subscription details"
msgstr "" msgstr ""
...@@ -31660,21 +31636,45 @@ msgstr "" ...@@ -31660,21 +31636,45 @@ msgstr ""
msgid "SuperSonics|This field is required." msgid "SuperSonics|This field is required."
msgstr "" msgstr ""
msgid "SuperSonics|This is the highest peak of users on your installation since the license started."
msgstr ""
msgid "SuperSonics|This is the number of %{billableUsersLinkStart}billable users%{billableUsersLinkEnd} on your installation, and this is the minimum number you need to purchase when you renew your license."
msgstr ""
msgid "SuperSonics|To activate your subscription, connect to GitLab servers through the %{linkStart}Cloud Licensing%{linkEnd} service, a hassle-free way to manage your subscription."
msgstr ""
msgid "SuperSonics|Type" msgid "SuperSonics|Type"
msgstr "" msgstr ""
msgid "SuperSonics|Upload a legacy license" msgid "SuperSonics|Upload a legacy license"
msgstr "" msgstr ""
msgid "SuperSonics|Users in subscription"
msgstr ""
msgid "SuperSonics|Users over subscription"
msgstr ""
msgid "SuperSonics|Users with a Guest role or those who don't belong to a Project or Group will not use a seat from your license."
msgstr ""
msgid "SuperSonics|Valid From" msgid "SuperSonics|Valid From"
msgstr "" msgstr ""
msgid "SuperSonics|You can no longer sync your subscription details with GitLab. Get help for the most common connectivity issues by %{connectivityHelpLinkStart}troubleshooting the activation code%{connectivityHelpLinkEnd}." msgid "SuperSonics|You can no longer sync your subscription details with GitLab. Get help for the most common connectivity issues by %{connectivityHelpLinkStart}troubleshooting the activation code%{connectivityHelpLinkEnd}."
msgstr "" msgstr ""
msgid "SuperSonics|You can start a free trial of GitLab Ultimate without any obligation or payment details."
msgstr ""
msgid "SuperSonics|You do not have an active subscription" msgid "SuperSonics|You do not have an active subscription"
msgstr "" msgstr ""
msgid "SuperSonics|You'll be charged for %{trueUpLinkStart}users over license%{trueUpLinkEnd} on a quarterly or annual basis, depending on the terms of your agreement."
msgstr ""
msgid "SuperSonics|Your subscription" msgid "SuperSonics|Your subscription"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment