Files
awx/awx/ui/client/features/credentials/credentials.strings.js
2017-11-29 18:27:24 -05:00

37 lines
995 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'),
GCE_FILE_INPUT_LABEL: t.s('Service Account JSON File'),
GCE_FILE_INPUT_HELP_TEXT: t.s('Provide account information using Google Compute Engine JSON credentials file.')
};
ns.add = {
PANEL_TITLE: t.s('NEW CREDENTIAL')
};
ns.permissions = {
TITLE: t.s('CREDENTIALS PERMISSIONS')
};
}
CredentialsStrings.$inject = ['BaseStringService'];
export default CredentialsStrings;