refactor: apply review suggestions

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-09-23 13:55:42 +02:00
parent 7a3d6227de
commit 2d01f6d808
3 changed files with 8 additions and 2 deletions
+2
View File
@@ -229,6 +229,8 @@ export const scaffolderTranslationRef: TranslationRef<
readonly 'ongoingTask.showLogsButtonTitle': 'Show Logs';
readonly 'templateEditorForm.stepper.emptyText': 'There are no spec parameters in the template to preview.';
readonly 'templateTypePicker.title': 'Categories';
readonly 'templateFormPage.title': 'Template Form Playground';
readonly 'templateFormPage.subtitle': 'Edit, preview, and try out templates and template forms';
readonly 'templateEditorPage.title': 'Template Editor';
readonly 'templateEditorPage.subtitle': 'Edit, preview, and try out templates and template forms';
readonly 'templateEditorPage.dryRunResults.title': 'Dry-run results';
@@ -59,8 +59,8 @@ export function TemplateFormPage(props: TemplateFormPageProps) {
return (
<Page themeId="home">
<Header
title={t('templateEditorPage.title')}
subtitle={t('templateEditorPage.subtitle')}
title={t('templateFormPage.title')}
subtitle={t('templateFormPage.subtitle')}
/>
<Content className={classes.root}>
<TemplateFormPreviewer
+4
View File
@@ -192,6 +192,10 @@ export const scaffolderTranslationRef = createTranslationRef({
templateTypePicker: {
title: 'Categories',
},
templateFormPage: {
title: 'Template Form Playground',
subtitle: 'Edit, preview, and try out templates and template forms',
},
templateEditorPage: {
title: 'Template Editor',
subtitle: 'Edit, preview, and try out templates and template forms',