PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | js/components/ImportMenu/MigrateForm/MigrateForm.tsx +3 -5 3.10.0-beta.1 → trunk View file →
@@ -46,9 +46,9 @@
46 46 {error.message}
47 47 </StatusDisplay>)}
48 48
49 49 {0 < importedIds.length && (
50 - // translators: %d: number of imported snippets.
50 + // translators: %d: number of imported snippets.
51 51 <StatusDisplay type="success" title={sprintf(__('%d snippets imported!', 'code-snippets'), importedIds.length)}>
52 52 {createInterpolateElement(
53 53 __('Selected snippets have been successfully imported to your <a>Code Snippets library</a>.', 'code-snippets'),
54 54 {
@@ -58,10 +58,10 @@
58 58 )}
59 59 </StatusDisplay>)}
60 60
61 61 {selectedImporter &&
62 - isWorking !== MigrationStep.FetchSnippets && error?.step !== MigrationStep.FetchSnippets &&
63 - 0 === snippetSelection.availableItems.length && 0 === importedIds.length && (
62 + isWorking !== MigrationStep.FetchSnippets && error?.step !== MigrationStep.FetchSnippets &&
63 + 0 === snippetSelection.availableItems.length && 0 === importedIds.length && (
64 64 <ImportCard className="no-snippets-card" role="status" aria-live="polite">
65 65 <div className="card-inner">
66 66 <div className="card-icon" aria-hidden="true">📭</div>
67 67 <h4>{__('No snippets found', 'code-snippets')}</h4>
@@ -90,10 +90,8 @@
90 90 }
91 91
92 92 return (
93 93 <>
94 - <p>{__('If you are using another snippets plugin, you can import those existing snippets to your Code Snippets library.', 'code-snippets')}</p>
95 -
96 94 <ImporterSelector
97 95 value={selectedImporter}
98 96 options={importers}
99 97 isLoading={isWorking === MigrationStep.FetchSnippets}