1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

run credential type through i18n

This commit is contained in:
Keith Grant 2019-07-15 14:41:58 -07:00
parent 761ed6dec0
commit db4a964e64

View File

@ -13,7 +13,7 @@ function CredentialChip({ credential, i18n, ...props }) {
} else if (credential.kind === 'aws' || credential.kind === 'ssh') {
type = credential.kind.toUpperCase();
} else {
type = toTitleCase(credential.kind);
type = i18n._(toTitleCase(credential.kind));
}
return (