mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
80 lines
2.4 KiB
JavaScript
80 lines
2.4 KiB
JavaScript
function ComponentsStrings (BaseString) {
|
|
BaseString.call(this, 'components');
|
|
|
|
const { t } = this;
|
|
const ns = this.components;
|
|
|
|
ns.REPLACE = t.s('REPLACE');
|
|
ns.REVERT = t.s('REVERT');
|
|
ns.ENCRYPTED = t.s('ENCRYPTED');
|
|
ns.OPTIONS = t.s('OPTIONS');
|
|
ns.SHOW = t.s('SHOW');
|
|
ns.HIDE = t.s('HIDE');
|
|
|
|
ns.message = {
|
|
REQUIRED_INPUT_MISSING: t.s('Please enter a value.'),
|
|
INVALID_INPUT: t.s('Invalid input for this type.')
|
|
};
|
|
|
|
ns.form = {
|
|
SUBMISSION_ERROR_TITLE: t.s('Unable to Submit'),
|
|
SUBMISSION_ERROR_MESSAGE: t.s('Unexpected server error. View the console for more information'),
|
|
SUBMISSION_ERROR_PREFACE: t.s('Unexpected Error')
|
|
};
|
|
|
|
ns.group = {
|
|
UNSUPPORTED_ERROR_PREFACE: t.s('Unsupported input type')
|
|
};
|
|
|
|
ns.label = {
|
|
PROMPT_ON_LAUNCH: t.s('Prompt on launch')
|
|
};
|
|
|
|
ns.select = {
|
|
UNSUPPORTED_TYPE_ERROR: t.s('Unsupported display model type'),
|
|
EMPTY_PLACEHOLDER: t.s('NO OPTIONS AVAILABLE')
|
|
};
|
|
|
|
ns.textarea = {
|
|
SSH_KEY_HINT: t.s('HINT: Drag and drop an SSH private key file on the field below.')
|
|
};
|
|
|
|
ns.lookup = {
|
|
NOT_FOUND: t.s('That value was not found. Please enter or select a valid value.')
|
|
};
|
|
|
|
ns.truncate = {
|
|
DEFAULT: t.s('Copy full revision to clipboard.'),
|
|
COPIED: t.s('Copied to clipboard.')
|
|
};
|
|
|
|
ns.layout = {
|
|
CURRENT_USER_LABEL: t.s('Logged in as'),
|
|
VIEW_DOCS: t.s('View Documentation'),
|
|
LOGOUT: t.s('Logout'),
|
|
DASHBOARD: t.s('Dashboard'),
|
|
JOBS: t.s('Jobs'),
|
|
SCHEDULES: t.s('Schedules'),
|
|
PORTAL_MODE: t.s('Portal Mode'),
|
|
PROJECTS: t.s('Projects'),
|
|
CREDENTIALS: t.s('Credentials'),
|
|
CREDENTIAL_TYPES: t.s('Credential Types'),
|
|
INVENTORIES: t.s('Inventories'),
|
|
TEMPLATES: t.s('Templates'),
|
|
ORGANIZATIONS: t.s('Organizations'),
|
|
USERS: t.s('Users'),
|
|
TEAMS: t.s('Teams'),
|
|
INVENTORY_SCRIPTS: t.s('Inventory Scripts'),
|
|
NOTIFICATIONS: t.s('Notifications'),
|
|
MANAGEMENT_JOBS: t.s('Management Jobs'),
|
|
INSTANCE_GROUPS: t.s('Instance Groups'),
|
|
SETTINGS: t.s('Settings'),
|
|
FOOTER_ABOUT: t.s('About'),
|
|
FOOTER_COPYRIGHT: t.s('Copyright © 2017 Red Hat, Inc.')
|
|
};
|
|
}
|
|
|
|
ComponentsStrings.$inject = ['BaseStringService'];
|
|
|
|
export default ComponentsStrings;
|