From fd775fc4a1b6f0909e7d9a8ee8f5bc5906f47a1d Mon Sep 17 00:00:00 2001 From: mario ma Date: Thu, 15 Aug 2024 14:39:54 +0800 Subject: [PATCH] fix: change some key Signed-off-by: mario ma --- plugins/scaffolder/api-report-alpha.md | 4 ++-- .../src/next/TemplateEditorPage/TemplateEditorIntro.tsx | 2 +- .../src/next/TemplateEditorPage/TemplateEditorPage.tsx | 2 +- plugins/scaffolder/src/translation.ts | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/scaffolder/api-report-alpha.md b/plugins/scaffolder/api-report-alpha.md index 2316f9c80c..f0a68919a4 100644 --- a/plugins/scaffolder/api-report-alpha.md +++ b/plugins/scaffolder/api-report-alpha.md @@ -198,7 +198,7 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'ongoingTask.showLogsButtonTitle': 'Show Logs'; readonly 'templateTypePicker.title': 'Categories'; readonly 'templateEditorPage.title': 'Template Editor'; - readonly 'templateEditorPage.subTitle': 'Edit, preview, and try out templates and template forms'; + readonly 'templateEditorPage.subtitle': 'Edit, preview, and try out templates and template forms'; readonly 'templateEditorPage.dryRunResults.title': 'Dry-run results'; readonly 'templateEditorPage.dryRunResultsList.title': 'Result {{resultId}}'; readonly 'templateEditorPage.dryRunResultsList.deleteButtonTitle': 'Delete result'; @@ -218,7 +218,7 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templateEditorPage.templateEditorIntro.title': 'Get started by choosing one of the options below'; readonly 'templateEditorPage.templateEditorIntro.loadLocal.title': 'Load Template Directory'; readonly 'templateEditorPage.templateEditorIntro.loadLocal.description': 'Load a local template directory, allowing you to both edit and try executing your own template.'; - readonly 'templateEditorPage.templateEditorIntro.loadLocal.unSupportsLoadTooltip': 'Only supported in some Chromium-based browsers'; + readonly 'templateEditorPage.templateEditorIntro.loadLocal.unsupportedTooltip': 'Only supported in some Chromium-based browsers'; readonly 'templateEditorPage.templateEditorIntro.formEditor.title': 'Edit Template Form'; readonly 'templateEditorPage.templateEditorIntro.formEditor.description': 'Preview and edit a template form, either using a sample template or by loading a template from the catalog.'; readonly 'templateEditorPage.templateEditorIntro.fieldExplorer.title': 'Custom Field Explorer'; diff --git a/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorIntro.tsx b/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorIntro.tsx index 2318c90659..d785708a51 100644 --- a/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorIntro.tsx +++ b/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorIntro.tsx @@ -83,7 +83,7 @@ export function TemplateEditorIntro(props: EditorIntroProps) { diff --git a/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorPage.tsx b/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorPage.tsx index 924fe6964e..6e7c921e91 100644 --- a/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorPage.tsx +++ b/plugins/scaffolder/src/next/TemplateEditorPage/TemplateEditorPage.tsx @@ -121,7 +121,7 @@ export function TemplateEditorPage(props: TemplateEditorPageProps) {
diff --git a/plugins/scaffolder/src/translation.ts b/plugins/scaffolder/src/translation.ts index eb6e4d005a..bf584bb7ad 100644 --- a/plugins/scaffolder/src/translation.ts +++ b/plugins/scaffolder/src/translation.ts @@ -191,7 +191,7 @@ export const scaffolderTranslationRef = createTranslationRef({ }, templateEditorPage: { title: 'Template Editor', - subTitle: 'Edit, preview, and try out templates and template forms', + subtitle: 'Edit, preview, and try out templates and template forms', dryRunResults: { title: 'Dry-run results', }, @@ -232,8 +232,7 @@ export const scaffolderTranslationRef = createTranslationRef({ title: 'Load Template Directory', description: 'Load a local template directory, allowing you to both edit and try executing your own template.', - unSupportsLoadTooltip: - 'Only supported in some Chromium-based browsers', + unsupportedTooltip: 'Only supported in some Chromium-based browsers', }, formEditor: { title: 'Edit Template Form',