Merge pull request #7707 from nixocio/ui_update_per_mockup

Update wording to equal mock up

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-07-29 00:06:59 +00:00 committed by GitHub
commit b009b01251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ import Breadcrumbs from '../../components/Breadcrumbs';
function CredentialTypes({ i18n }) {
const [breadcrumbConfig, setBreadcrumbConfig] = useState({
'/credential_types': i18n._(t`Credential Types`),
'/credential_types/add': i18n._(t`Create Credential Types`),
'/credential_types/add': i18n._(t`Create new credential type`),
});
const buildBreadcrumbConfig = useCallback(
@ -21,10 +21,10 @@ function CredentialTypes({ i18n }) {
}
setBreadcrumbConfig({
'/credential_types': i18n._(t`Credential Types`),
'/credential_types/add': i18n._(t`Create Credential Types`),
'/credential_types/add': i18n._(t`Create new credential Type`),
[`/credential_types/${credentialTypes.id}`]: `${credentialTypes.name}`,
[`/credential_types/${credentialTypes.id}/edit`]: i18n._(
t`Edit Details`
t`Edit details`
),
[`/credential_types/${credentialTypes.id}/details`]: i18n._(t`Details`),
});

View File

@ -122,7 +122,7 @@ function TemplateList({ i18n }) {
if (canAddJT) {
addButtonOptions.push({
label: i18n._(t`Template`),
label: i18n._(t`Job Template`),
url: `/templates/job_template/add/`,
});
}