mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 00:07:40 -02:30
Merge pull request #7182 from nixocio/ui_issue_7170
Add Wizard buttons as internationalization Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -312,6 +312,8 @@ class AddResourceRole extends React.Component {
|
|||||||
steps={steps}
|
steps={steps}
|
||||||
title={wizardTitle}
|
title={wizardTitle}
|
||||||
nextButtonText={currentStep.nextButtonText || undefined}
|
nextButtonText={currentStep.nextButtonText || undefined}
|
||||||
|
backButtonText={i18n._(t`Back`)}
|
||||||
|
cancelButtonText={i18n._(t`Cancel`)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ function LaunchPrompt({ config, resource, onLaunch, onCancel, i18n }) {
|
|||||||
}}
|
}}
|
||||||
title={i18n._(t`Prompts`)}
|
title={i18n._(t`Prompts`)}
|
||||||
steps={steps}
|
steps={steps}
|
||||||
|
backButtonText={i18n._(t`Back`)}
|
||||||
|
cancelButtonText={i18n._(t`Cancel`)}
|
||||||
|
nextButtonText={i18n._(t`Next`)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Formik>
|
</Formik>
|
||||||
|
|||||||
Reference in New Issue
Block a user