|
@@ -22,7 +22,280 @@ angular.module('ambariAdminConsole')
|
|
|
$translateProvider.translations('en',{
|
|
|
'CLUSTER.ADMINISTRATOR': 'Operator',
|
|
|
'CLUSTER.USER': 'Read-Only',
|
|
|
- 'VIEW.USER': 'Use'
|
|
|
+ 'VIEW.USER': 'Use',
|
|
|
+
|
|
|
+ 'common': {
|
|
|
+ 'ambari': 'Ambari',
|
|
|
+ 'apacheAmbari': 'Apache Ambari',
|
|
|
+ 'about': 'About',
|
|
|
+ 'version': 'Version',
|
|
|
+ 'signOut': 'Sign out',
|
|
|
+ 'clusters': 'Clusters',
|
|
|
+ 'views': 'Views',
|
|
|
+ 'roles': 'Roles',
|
|
|
+ 'users': 'Users',
|
|
|
+ 'groups': 'Groups',
|
|
|
+ 'versions': 'Versions',
|
|
|
+ 'details': 'Details',
|
|
|
+ 'goToDashboard': 'Go to Dashboard',
|
|
|
+ 'noClusters': 'No Clusters',
|
|
|
+ 'view': 'View',
|
|
|
+ 'displayLabel': 'Display label',
|
|
|
+ 'search': 'Search',
|
|
|
+ 'name': 'Name',
|
|
|
+ 'any': 'Any',
|
|
|
+ 'none': 'None',
|
|
|
+ 'type': 'Type',
|
|
|
+ 'add': 'Add {{term}}',
|
|
|
+ 'delete': 'Delete {{term}}',
|
|
|
+ 'cannotDelete': 'Cannot Delete {{term}}',
|
|
|
+ 'privileges': 'Privileges',
|
|
|
+ 'cluster': 'Cluster',
|
|
|
+ 'clusterRole': 'Cluster Role',
|
|
|
+ 'viewPermissions': 'View Permissions',
|
|
|
+ 'getInvolved': 'Get involved!',
|
|
|
+ 'license': 'Licensed under the Apache License, Version 2.0',
|
|
|
+ 'tableFilterMessage': '{{showed}} of {{total}} {{term}} showing',
|
|
|
+ 'yes': 'Yes',
|
|
|
+ 'no': 'No',
|
|
|
+ 'renameCluster': 'Rename Cluster',
|
|
|
+ 'renameClusterTip': 'Only alpha-numeric characters, up to 80 characters',
|
|
|
+ 'clusterCreationInProgress': 'Cluster creation in progress...',
|
|
|
+ 'userGroupManagement': 'User + Group Management',
|
|
|
+ 'all': 'All',
|
|
|
+ 'group': 'Group',
|
|
|
+ 'user': 'User',
|
|
|
+ 'deleteConfirmation': 'Are you sure you want to delete {{instanceType}} {{instanceName}}?',
|
|
|
+ 'local': 'Local',
|
|
|
+ 'ldap': 'LDAP',
|
|
|
+ 'jwt': 'JWT',
|
|
|
+ 'warning': 'Warning',
|
|
|
+
|
|
|
+ 'clusterNameChangeConfirmation': {
|
|
|
+ 'title': 'Confirm Cluster Name Change',
|
|
|
+ 'message': 'Are you sure you want to change the cluster name to {{clusterName}}?'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'controls': {
|
|
|
+ 'cancel': 'Cancel',
|
|
|
+ 'close': 'Close',
|
|
|
+ 'ok': 'OK',
|
|
|
+ 'save': 'Save',
|
|
|
+ 'clearFilters': 'clear filters',
|
|
|
+ 'confirmChange': 'Confirm Change',
|
|
|
+ 'discard': 'Discard'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'fieldRequired': 'Field required!',
|
|
|
+ 'fieldIsRequired': 'This field is required.',
|
|
|
+ 'noSpecialChars': 'Must no contain special characters!',
|
|
|
+ 'instanceExists': 'Instance with this name already exists.',
|
|
|
+ 'nothingToDisplay': 'No {{term}} to display.',
|
|
|
+ 'noPrivileges': 'No {{term}} privileges',
|
|
|
+ 'noPrivilegesDescription': 'This {{term}} does not have any privileges.',
|
|
|
+ 'timeOut': 'You will be automatically logged out in <b>{{time}}</b> seconds due to inactivity.',
|
|
|
+ 'isInvalid': '{{term}} Invalid.',
|
|
|
+ 'cannotSavePermissions': 'Cannot save permissions',
|
|
|
+ 'cannotLoadPrivileges': 'Cannot load privileges',
|
|
|
+ 'cannotLoadClusterStatus': 'Cannot load cluster status',
|
|
|
+ 'clusterRenamed': 'The cluster has been renamed to {{clusterName}}.',
|
|
|
+ 'cannotRenameCluster': 'Cannot rename cluster to {{clusterName}}',
|
|
|
+ 'unsavedChanges': 'You have unsaved changes. Save changes or discard?'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'main': {
|
|
|
+ 'title': 'Welcome to Apache Ambari',
|
|
|
+ 'noClusterDescription': 'Provision a cluster, manage who can access the cluster, and customize views for Ambari users.',
|
|
|
+ 'hasClusterDescription': 'Monitor your cluster resources, manage who can access the cluster, and customize views for Ambari users.',
|
|
|
+ 'autoLogOut': 'Automatic Logout',
|
|
|
+
|
|
|
+ 'operateCluster': {
|
|
|
+ 'title': 'Operate Your Cluster',
|
|
|
+ 'description': 'Manage the configuration of your cluster and monitor the health of your services',
|
|
|
+ 'manageRoles': 'Manage Roles'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'createCluster': {
|
|
|
+ 'title': 'Create a Cluster',
|
|
|
+ 'description': 'Use the Install Wizard to select services and configure your cluster',
|
|
|
+ 'launchInstallWizard': 'Launch Install Wizard'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'manageUsersAndGroups': {
|
|
|
+ 'title': 'Manage Users + Groups',
|
|
|
+ 'description': 'Manage the users and groups that can access Ambari'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'deployViews': {
|
|
|
+ 'title': 'Deploy Views',
|
|
|
+ 'description': 'Create view instances and grant permissions'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'controls': {
|
|
|
+ 'remainLoggedIn': 'Remain Logged In',
|
|
|
+ 'logOut': 'Log Out Now'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'views': {
|
|
|
+ 'viewInstance': 'View Instance',
|
|
|
+ 'create': 'Create Instance',
|
|
|
+ 'createViewInstance': 'Create View Instance',
|
|
|
+ 'edit': 'Edit',
|
|
|
+ 'viewName': 'View Name',
|
|
|
+ 'instances': 'Instances',
|
|
|
+ 'instanceName': 'Instance Name',
|
|
|
+ 'instanceId': 'Instance ID',
|
|
|
+ 'displayName': 'Display Name',
|
|
|
+ 'settings': 'Settings',
|
|
|
+ 'advanced': 'Advanced',
|
|
|
+ 'visible': 'Visible',
|
|
|
+ 'description': 'Description',
|
|
|
+ 'instanceDescription': 'Instance Description',
|
|
|
+ 'clusterConfiguration': 'Cluster Configuration',
|
|
|
+ 'localCluster': 'Local Ambari Managed Cluster',
|
|
|
+ 'clusterName': 'Cluster Name',
|
|
|
+ 'custom': 'Custom',
|
|
|
+ 'icon': 'Icon',
|
|
|
+ 'icon64': 'Icon64',
|
|
|
+ 'permissions': 'Permissions',
|
|
|
+ 'permission': 'Permission',
|
|
|
+ 'grantUsers': 'Grant permission to these users',
|
|
|
+ 'grantGroups': 'Grant permission to these groups',
|
|
|
+ 'configuration': 'Configuration',
|
|
|
+ 'goToInstance': 'Go to instance',
|
|
|
+ 'pending': 'Pending...',
|
|
|
+ 'deploying': 'Deploying...',
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'noSpecialChars': 'Must not contain any special characters.',
|
|
|
+ 'noSpecialCharsOrSpaces': 'Must not contain any special characters or spaces.',
|
|
|
+ 'noProperties': 'There are no properties defined for this view.',
|
|
|
+ 'noPermissions': 'There are no permissions defined for this view.',
|
|
|
+ 'cannotEditInstance': 'Cannot Edit Static Instances',
|
|
|
+ 'cannotDeleteStaticInstance': 'Cannot Delete Static Instances',
|
|
|
+ 'deployError': 'Error deploying. Check Ambari Server log.',
|
|
|
+ 'unableToCreate': 'Unable to create view instances',
|
|
|
+ 'onlySimpleChars': 'Must contain only simple characters.',
|
|
|
+ 'cannotUseOption': 'This view cannot use this option',
|
|
|
+ 'unableToResetErrorMessage': 'Unable to reset error message for prop: {{key}}',
|
|
|
+ 'instanceCreated': 'Created View Instance {{instanceName}}',
|
|
|
+ 'unableToParseError': 'Unable to parse error message: {{message}}',
|
|
|
+ 'cannotCreateInstance': 'Cannot create instance',
|
|
|
+ 'cannotLoadInstanceInfo': 'Cannot load instance info',
|
|
|
+ 'cannotLoadPermissions': 'Cannot load permissions',
|
|
|
+ 'cannotSaveSettings': 'Cannot save settings',
|
|
|
+ 'cannotSaveProperties': 'Cannot save properties',
|
|
|
+ 'cannotDeleteInstance': 'Cannot delete instance',
|
|
|
+ 'cannotLoadViews': 'Cannot load views'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'clusters': {
|
|
|
+ 'switchToList': 'Switch to list view',
|
|
|
+ 'switchToBlock': 'Switch to block view',
|
|
|
+ 'role': 'Role',
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'cannotLoadClusterData': 'Cannot load cluster data'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'groups': {
|
|
|
+ 'createLocal': 'Create Local Group',
|
|
|
+ 'name': 'Group name',
|
|
|
+ 'members': 'Members',
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'groupCreated': 'Created group <a href="#/groups/{{groupName}}/edit">{{groupName}}</a>',
|
|
|
+ 'groupCreationError': 'Group creation error',
|
|
|
+ 'cannotUpdateGroupMembers': 'Cannot update group members',
|
|
|
+ 'getGroupsListError': 'Get groups list error'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'users': {
|
|
|
+ 'username': 'Username',
|
|
|
+ 'userName': 'User name',
|
|
|
+ 'ambariAdmin': 'Ambari Admin',
|
|
|
+ 'changePassword': 'Change Password',
|
|
|
+ 'changePasswordFor': 'Change Password for {{userName}}',
|
|
|
+ 'yourPassword': 'Your Password',
|
|
|
+ 'newPassword': 'New User Password',
|
|
|
+ 'newPasswordConfirmation': 'New User Password Confirmation',
|
|
|
+ 'create': 'Create Local User',
|
|
|
+ 'active': 'Active',
|
|
|
+ 'inactive': 'Inactive',
|
|
|
+ 'status': 'Status',
|
|
|
+ 'password': 'Password',
|
|
|
+ 'passwordConfirmation': 'Password сonfirmation',
|
|
|
+ 'userIsAdmin': 'This user is an Ambari Admin and has all privileges.',
|
|
|
+
|
|
|
+ 'changeStatusConfirmation': {
|
|
|
+ 'title': 'Change Status',
|
|
|
+ 'message': 'Are you sure you want to change status for user "{{userName}}" to {{status}}?'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'changePrivilegeConfirmation': {
|
|
|
+ 'title': 'Change Admin Privilege',
|
|
|
+ 'message': 'Are you sure you want to {{action}} Admin privilege to user "{{userName}}"?'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'roles': {
|
|
|
+ 'clusterUser': 'Cluster User',
|
|
|
+ 'clusterAdministrator': 'Cluster Administrator',
|
|
|
+ 'clusterOperator': 'Cluster Operator',
|
|
|
+ 'serviceAdministrator': 'Service Administrator',
|
|
|
+ 'serviceOperator': 'Service Operator'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'passwordRequired': 'Password required!',
|
|
|
+ 'wrongPassword': 'Password must match!',
|
|
|
+ 'cannotChange': 'Cannot Change {{term}}',
|
|
|
+ 'userCreated': 'Created user <a href="#/users/{{encUserName}}/edit">{{userName}}</a>',
|
|
|
+ 'userCreationError': 'User creation error',
|
|
|
+ 'removeUserError': 'Removing from group error',
|
|
|
+ 'cannotAddUser': 'Cannot add user to group',
|
|
|
+ 'passwordChanged': 'Password changed.',
|
|
|
+ 'cannotChangePassword': 'Cannot change password'
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ 'versions': {
|
|
|
+ 'current': 'Current',
|
|
|
+ 'inUse': 'In Use',
|
|
|
+ 'installed': 'Installed',
|
|
|
+ 'installOn': 'Install on...',
|
|
|
+ 'register': 'Register Version',
|
|
|
+ 'deregister': 'Deregister Version',
|
|
|
+ 'deregisterConfirmation': 'Are you sure you want to deregister version <strong>{{versionName}}</strong> ?',
|
|
|
+ 'placeholder': 'Version Number (0.0)',
|
|
|
+ 'repos': 'Repositories',
|
|
|
+ 'os': 'OS',
|
|
|
+ 'baseURL': 'Base URL',
|
|
|
+ 'skipValidation': 'Skip Repository Base URL validation (Advanced)',
|
|
|
+
|
|
|
+ 'changeBaseURLConfirmation': {
|
|
|
+ 'title': 'Confirm Base URL Change',
|
|
|
+ 'message': 'You are about to change repository Base URLs that are already in use. Please confirm that you intend to make this change and that the new Base URLs point to the same exact Stack version and build'
|
|
|
+ },
|
|
|
+
|
|
|
+ 'alerts': {
|
|
|
+ 'baseURLs': 'Provide Base URLs for the Operating Systems you are configuring. Uncheck all other Operating Systems.',
|
|
|
+ 'validationFailed': 'Some of the repositories failed validation. Make changes to the base url or skip validation if you are sure that urls are correct',
|
|
|
+ 'skipValidationWarning': '<b>Warning:</b> This is for advanced users only. Use this option if you want to skip validation for Repository Base URLs.',
|
|
|
+ 'filterListError': 'Fetch stack version filter list error',
|
|
|
+ 'versionCreated': 'Created version <a href="#/stackVersions/{{stackName}}/{{versionName}}/edit">{{stackName}}-{{versionName}}</a>',
|
|
|
+ 'versionCreationError': 'Version creation error',
|
|
|
+ 'osListError': 'getSupportedOSList error',
|
|
|
+ 'versionEdited': 'Edited version <a href="#/stackVersions/{{stackName}}/{{versionName}}/edit">{{displayName}}</a>',
|
|
|
+ 'versionUpdateError': 'Version update error',
|
|
|
+ 'versionDeleteError': 'Version delete error'
|
|
|
+ }
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
$translateProvider.preferredLanguage('en');
|