mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-22 08:43:36 -05:00
40 lines
987 B
JavaScript
40 lines
987 B
JavaScript
function CredentialsStrings (BaseString) {
|
|
BaseString.call(this, 'credentials');
|
|
|
|
const { t } = this;
|
|
const ns = this.credentials;
|
|
|
|
ns.state = {
|
|
ADD_BREADCRUMB_LABEL: t.s('CREATE CREDENTIAL'),
|
|
EDIT_BREADCRUMB_LABEL: t.s('EDIT CREDENTIAL')
|
|
};
|
|
|
|
ns.tab = {
|
|
DETAILS: t.s('Details'),
|
|
PERMISSIONS: t.s('Permissions')
|
|
};
|
|
|
|
ns.inputs = {
|
|
GROUP_TITLE: t.s('Type Details'),
|
|
ORGANIZATION_PLACEHOLDER: t.s('SELECT AN ORGANIZATION'),
|
|
CREDENTIAL_TYPE_PLACEHOLDER: t.s('SELECT A CREDENTIAL TYPE')
|
|
};
|
|
|
|
ns.add = {
|
|
PANEL_TITLE: t.s('NEW CREDENTIAL')
|
|
};
|
|
|
|
ns.permissions = {
|
|
TITLE: t.s('CREDENTIALS PERMISSIONS')
|
|
};
|
|
|
|
ns.deleteCredential = {
|
|
CONFIRM: t.s('Are you sure you want to delete this credential?'),
|
|
INVALIDATE: t.s('Doing so will invalidate the following:')
|
|
};
|
|
}
|
|
|
|
CredentialsStrings.$inject = ['BaseStringService'];
|
|
|
|
export default CredentialsStrings;
|