|
|
@@ -12,7 +12,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
|
|
|
|
|
|
export default function ExamplePage() {
|
|
|
- const { t } = useTranslation('plugin__console-plugin');
|
|
|
+ const { t } = useTranslation('plugin__console-plugin-template');
|
|
|
|
|
|
return (
|
|
|
<>
|
|
|
@@ -28,19 +28,18 @@ export default function ExamplePage() {
|
|
|
<Text component="p">
|
|
|
<span className="console-plugin-template__nice">
|
|
|
{t('Nice!')}
|
|
|
- </span>
|
|
|
+ </span>{' '}
|
|
|
{t('Your plugin is working.')}
|
|
|
</Text>
|
|
|
<Text component="p">
|
|
|
{t(
|
|
|
'This is a custom page contributed by the console plugin template. The extension that adds the page is declared in console-extensions.json in the project root along with the corresponding nav item. Update console-extensions.json to change or add extensions. Code references in console-extensions.json must have a corresonding property',
|
|
|
)}
|
|
|
- This is a custom page contributed by the console plugin template.
|
|
|
<code>{t('exposedModules')}</code>{' '}
|
|
|
{t('in package.json mapping the reference to the module.')}
|
|
|
</Text>
|
|
|
<Text component="p">
|
|
|
- {t('After cloning this project, replace references to')}{' '}
|
|
|
+ {t('After cloning this project, replace references to')}{' '}
|
|
|
<code>{t('console-template-plugin')}</code>{' '}
|
|
|
{t(
|
|
|
'and other plugin metadata in package.json with values for your plugin.',
|