CloudMigrations: Make improvements to the text content (#103770)

* change copy configuration

* comma and this token after token creation

* securely migrate and you'll need token

* add caret and modify steps

* period after check failed resources

* learn about migrating v1

* building snapshot reduce text

* right caret connect to a cloud stack

* building snapshot reduce text v2

* make i18n-extract after merge
This commit is contained in:
Dana Axinte
2025-04-10 13:50:37 +01:00
committed by GitHub
parent 757be6365a
commit 6fde69c333
10 changed files with 42 additions and 47 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
generalNodeLinks = append(generalNodeLinks, &navtree.NavLink{
Text: "Migrate to Grafana Cloud",
Id: "migrate-to-cloud",
SubTitle: "Copy configuration from your self-managed installation to a cloud stack",
SubTitle: "Copy resources from your self-managed installation to a cloud stack",
Url: s.cfg.AppSubURL + "/admin/migrate-to-cloud",
})
}
@@ -284,10 +284,7 @@ export function getNavSubTitle(navId: string | undefined) {
case 'storage':
return t('nav.storage.subtitle', 'Manage file storage');
case 'migrate-to-cloud':
return t(
'nav.migrate-to-cloud.subtitle',
'Copy configuration from your self-managed installation to a cloud stack'
);
return t('nav.migrate-to-cloud.subtitle', 'Copy resources from your self-managed installation to a cloud stack');
case 'support-bundles':
return t('nav.support-bundles.subtitle', 'Download support bundles');
case 'admin':
@@ -6,8 +6,8 @@ export const InfoPane = () => {
return (
<InfoItem title={t('migrate-to-cloud.migrate-to-this-stack.title', 'Let us help you migrate to this stack')}>
<Trans i18nKey="migrate-to-cloud.migrate-to-this-stack.body">
You can migrate some resources from your self-managed Grafana installation to this cloud stack. To do this
securely, you&apos;ll need to generate a migration token. Your self-managed instance will use the token to
You can securely migrate some resources from your self-managed Grafana installation to this cloud stack. To get
started, you&apos;ll need to generate a migration token. Your self-managed instance will use the token to
authenticate with this cloud stack.
</Trans>
</InfoItem>
@@ -23,7 +23,8 @@ export const MigrationStepsPane = () => {
<ol className={styles.list}>
<li>
<Trans i18nKey="migrate-to-cloud.get-started.step-1">
Log in to your self-managed instance and navigate to Administration, General, Migrate to Grafana Cloud.
Log in to your self-managed instance and navigate to Administration &gt; General &gt; Migrate to Grafana
Cloud.
</Trans>
</li>
<li>
@@ -33,17 +34,24 @@ export const MigrationStepsPane = () => {
</li>
<li>
<Trans i18nKey="migrate-to-cloud.get-started.step-3">
You&apos;ll be prompted for a migration token. Generate one from this screen.
You&apos;ll be prompted for a migration token. Generate one from this screen. Enter your token and click
&quot;Connect to this stack&quot;.
</Trans>
</li>
<li>
<Trans i18nKey="migrate-to-cloud.get-started.step-4">
In your self-managed instance, select &quot;Upload everything&quot; to upload data sources and
dashboards to this cloud stack.
After connecting to the cloud stack, click &quot;Build snapshot&quot; to create a snapshot of your
self-managed instance.
</Trans>
</li>
<li>
<Trans i18nKey="migrate-to-cloud.get-started.step-5">
After a snapshot is created, click &quot;Upload snapshot&quot; to copy the resources to your cloud
stack.
</Trans>
</li>
<li>
<Trans i18nKey="migrate-to-cloud.get-started.step-6">
If some of your data sources will not work over the public internet, you’ll need to install Private Data
Source Connect in your self-managed environment.
</Trans>
@@ -41,7 +41,7 @@ function TokenSuccessContent({ migrationToken }: { migrationToken: string }) {
<Field
description={t(
'migrate-to-cloud.migration-token.modal-field-description',
'Copy the token now as you will not be able to see it again. Losing a token requires creating a new one.'
'Copy the token now, as you will not be able to see it again. Losing this token requires creating a new one.'
)}
htmlFor={inputId}
label={t('migrate-to-cloud.migration-token.modal-field-label', 'Token')}
@@ -136,8 +136,8 @@ export const ConnectModal = ({ isOpen, isLoading, error, hideModal, onConfirm }:
<div>
<Trans i18nKey="migrate-to-cloud.connect-modal.body-token-instructions">
Log into your cloud stack and navigate to Administration, General, Migrate to Grafana Cloud. Create a
migration token on that screen and paste the token here.
Log into your cloud stack and navigate to Administration &gt; General &gt; Migrate to Grafana Cloud.
Create a migration token on that screen and paste the token here.
</Trans>
</div>
@@ -7,7 +7,7 @@ export const InfoPaneRight = () => {
return (
<Stack gap={4} direction="column">
<InfoItem
title={t('migrate-to-cloud.pdc.title', 'Not all my data sources are on the public internet')}
title={t('migrate-to-cloud.pdc.title', 'What if not all my data sources are on the public internet?')}
linkTitle={t('migrate-to-cloud.pdc.link-title', 'Learn about PDC')}
linkHref="https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect"
>
@@ -27,13 +27,12 @@ export const InfoPaneRight = () => {
</Trans>
</InfoItem>
<InfoItem
title={t('migrate-to-cloud.can-i-move.title', 'Can I move this installation to Grafana Cloud?')}
linkTitle={t('migrate-to-cloud.can-i-move.link-title', 'Learn about migrating other settings')}
title={t('migrate-to-cloud.can-i-move.title', 'Where can I learn more about migrating to Grafana Cloud?')}
linkTitle={t('migrate-to-cloud.can-i-move.link-title', 'Learn about migrating to Grafana Cloud')}
linkHref="https://grafana.com/docs/grafana-cloud/account-management/migration-guide"
>
<Trans i18nKey="migrate-to-cloud.can-i-move.body">
Once you connect this installation to a cloud stack, you&apos;ll be able to upload data sources and
dashboards.
You can use the migration assistant to migrate a large proportion of your Grafana resources.
</Trans>
</InfoItem>
</Stack>
@@ -542,7 +542,7 @@ function getError(props: GetErrorProps): ErrorDescription | undefined {
if (errorCount > 0) {
msgBody = t(
'migrate-to-cloud.onprem.migration-finished-with-errors-body',
'The migration has completed, but some items could not be migrated to the cloud stack. Check the failed resources for more details'
'The migration has completed, but some items could not be migrated to the cloud stack. Check the failed resources for more details.'
);
} else if (warningCount > 0) {
msgBody = t(
@@ -48,20 +48,10 @@ export function CreatingSnapshotCTA(props: SnapshotCTAProps) {
const { disabled, isLoading, onClick } = props;
return (
<CTAInfo
title={t('migrate-to-cloud.building-snapshot.title', 'Building installation snapshot')}
accessory={<Spinner inline />}
>
<CTAInfo title={t('migrate-to-cloud.building-snapshot.title', 'Building snapshot')} accessory={<Spinner inline />}>
<Text element="p" variant="body" color="secondary">
<Trans i18nKey="migrate-to-cloud.building-snapshot.description">
We&apos;re creating a point-in-time snapshot of the current state of this installation. Once the snapshot is
complete. you&apos;ll be able to upload it to Grafana Cloud.
</Trans>
</Text>
<Text element="p" variant="body" color="secondary">
<Trans i18nKey="migrate-to-cloud.building-snapshot.description-eta">
Creating a snapshot typically takes less than two minutes.
We&apos;re gathering your resources for migration to Grafana Cloud. This should only take a moment.
</Trans>
</Text>
+16 -15
View File
@@ -5335,14 +5335,14 @@
"when-complete": "Once the snapshot is complete, you will be able to upload it to your cloud stack."
},
"building-snapshot": {
"description": "We're creating a point-in-time snapshot of the current state of this installation. Once the snapshot is complete. you'll be able to upload it to Grafana Cloud.",
"description": "We're gathering your resources for migration to Grafana Cloud. This should only take a moment.",
"description-eta": "Creating a snapshot typically takes less than two minutes.",
"title": "Building installation snapshot"
"title": "Building snapshot"
},
"can-i-move": {
"body": "Once you connect this installation to a cloud stack, you'll be able to upload data sources and dashboards.",
"link-title": "Learn about migrating other settings",
"title": "Can I move this installation to Grafana Cloud?"
"body": "You can use the migration assistant to migrate a large proportion of your Grafana resources.",
"link-title": "Learn about migrating to Grafana Cloud",
"title": "Where can I learn more about migrating to Grafana Cloud?"
},
"configure-snapshot": {
"description": "Select which resources you want to include in the snapshot to migrate.",
@@ -5357,7 +5357,7 @@
"body-token": "Your self-managed Grafana installation needs special access to securely migrate content. You'll need to create a migration token on your chosen cloud stack.",
"body-token-field": "Migration token",
"body-token-field-placeholder": "Paste token here",
"body-token-instructions": "Log into your cloud stack and navigate to Administration, General, Migrate to Grafana Cloud. Create a migration token on that screen and paste the token here.",
"body-token-instructions": "Log into your cloud stack and navigate to Administration > General > Migrate to Grafana Cloud. Create a migration token on that screen and paste the token here.",
"body-view-stacks": "View my cloud stacks",
"cancel": "Cancel",
"connect": "Connect to this stack",
@@ -5401,11 +5401,12 @@
"body": "The migration process must be started from your self-managed Grafana instance.",
"configure-pdc-link": "Configure PDC for this stack",
"link-title": "Learn more about Private Data Source Connect",
"step-1": "Log in to your self-managed instance and navigate to Administration, General, Migrate to Grafana Cloud.",
"step-1": "Log in to your self-managed instance and navigate to Administration > General > Migrate to Grafana Cloud.",
"step-2": "Select \"Migrate this instance to Cloud\".",
"step-3": "You'll be prompted for a migration token. Generate one from this screen.",
"step-4": "In your self-managed instance, select \"Upload everything\" to upload data sources and dashboards to this cloud stack.",
"step-5": "If some of your data sources will not work over the public internet, you’ll need to install Private Data Source Connect in your self-managed environment.",
"step-3": "You'll be prompted for a migration token. Generate one from this screen. Enter your token and click \"Connect to this stack\".",
"step-4": "After connecting to the cloud stack, click \"Build snapshot\" to create a snapshot of your self-managed instance.",
"step-5": "After a snapshot is created, click \"Upload snapshot\" to copy the resources to your cloud stack.",
"step-6": "If some of your data sources will not work over the public internet, you’ll need to install Private Data Source Connect in your self-managed environment.",
"title": "Performing a migration"
},
"is-it-secure": {
@@ -5414,7 +5415,7 @@
"title": "Is it secure?"
},
"migrate-to-this-stack": {
"body": "You can migrate some resources from your self-managed Grafana installation to this cloud stack. To do this securely, you'll need to generate a migration token. Your self-managed instance will use the token to authenticate with this cloud stack.",
"body": "You can securely migrate some resources from your self-managed Grafana installation to this cloud stack. To get started, you'll need to generate a migration token. Your self-managed instance will use the token to authenticate with this cloud stack.",
"link-title": "View the full migration guide",
"title": "Let us help you migrate to this stack"
},
@@ -5432,7 +5433,7 @@
"modal-close": "Close",
"modal-copy-and-close": "Copy to clipboard and close",
"modal-copy-button": "Copy to clipboard",
"modal-field-description": "Copy the token now as you will not be able to see it again. Losing a token requires creating a new one.",
"modal-field-description": "Copy the token now, as you will not be able to see it again. Losing this token requires creating a new one.",
"modal-field-label": "Token",
"modal-title": "Migration token created",
"status": "Current status: <2></2>"
@@ -5449,7 +5450,7 @@
"get-session-error-title": "Error loading migration configuration",
"get-snapshot-error-title": "Error loading snapshot",
"migration-finished-with-caveat-title": "Resource migration complete",
"migration-finished-with-errors-body": "The migration has completed, but some items could not be migrated to the cloud stack. Check the failed resources for more details",
"migration-finished-with-errors-body": "The migration has completed, but some items could not be migrated to the cloud stack. Check the failed resources for more details.",
"migration-finished-with-warnings-body": "The migration has completed with some warnings. Check individual resources for more details",
"snapshot-error-status-body": "There was an error creating the snapshot or starting the migration process. See the Grafana server logs for more details",
"snapshot-error-status-title": "Error migrating resources",
@@ -5461,7 +5462,7 @@
"pdc": {
"body": "Exposing your data sources to the internet can raise security concerns. Private data source connect (PDC) allows Grafana Cloud to access your existing data sources over a secure network tunnel.",
"link-title": "Learn about PDC",
"title": "Not all my data sources are on the public internet"
"title": "What if not all my data sources are on the public internet?"
},
"pricing": {
"body": "Grafana Cloud has a generous free plan and a 14 day unlimited usage trial. After your trial expires, you'll be billed based on usage over the free plan limits.",
@@ -5796,7 +5797,7 @@
"subtitle": "Manage folder dashboards and permissions"
},
"migrate-to-cloud": {
"subtitle": "Copy configuration from your self-managed installation to a cloud stack",
"subtitle": "Copy resources from your self-managed installation to a cloud stack",
"title": "Migrate to Grafana Cloud"
},
"monitoring": {