fix: change some key

Signed-off-by: mario ma <mario.ma.node@gmail.com>
This commit is contained in:
mario ma
2024-08-15 14:39:54 +08:00
committed by blam
parent adc4890e7f
commit fd775fc4a1
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -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';
@@ -83,7 +83,7 @@ export function TemplateEditorIntro(props: EditorIntroProps) {
<Tooltip
placement="top"
title={t(
'templateEditorPage.templateEditorIntro.loadLocal.unSupportsLoadTooltip',
'templateEditorPage.templateEditorIntro.loadLocal.unsupportedTooltip',
)}
>
<InfoOutlinedIcon />
@@ -121,7 +121,7 @@ export function TemplateEditorPage(props: TemplateEditorPageProps) {
<Page themeId="home">
<Header
title={t('templateEditorPage.title')}
subtitle={t('templateEditorPage.subTitle')}
subtitle={t('templateEditorPage.subtitle')}
>
<ScaffolderPageContextMenu {...scaffolderPageContextMenuProps} />
</Header>
+2 -3
View File
@@ -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',