/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { AppLayoutProps, PaginationProps, PropertyFilterProps } from '@cloudscape-design/components'; // i18nStrings labels for export const i18nStrings: PropertyFilterProps.I18nStrings = { filteringAriaLabel: 'your choice', dismissAriaLabel: 'Dismiss', filteringPlaceholder: 'Search', groupValuesText: 'Values', groupPropertiesText: 'Properties', operatorsText: 'Operators', operationAndText: 'and', operationOrText: 'or', operatorLessText: 'Less than', operatorLessOrEqualText: 'Less than or equal to', operatorGreaterText: 'Greater than', operatorGreaterOrEqualText: 'Greater than or equal to', operatorContainsText: 'Contains', operatorDoesNotContainText: 'Does not contain', operatorEqualsText: 'Equals', operatorDoesNotEqualText: 'Does not equal', editTokenHeader: 'Edit filter', propertyText: 'Property', operatorText: 'Operator', valueText: 'Value', cancelActionText: 'Cancel', applyActionText: 'Apply', allPropertiesLabel: 'All properties', tokenLimitShowMore: 'Show more', tokenLimitShowFewer: 'Show fewer', clearFiltersText: 'Clear filters', removeTokenButtonAriaLabel: () => 'Remove token', enteredTextLabel: (text: string) => `Use: "${text}"` }; export const layoutLabels: AppLayoutProps.Labels = { navigation: 'Navigation drawer', navigationClose: 'Close navigation drawer', navigationToggle: 'Open navigation drawer', notifications: 'Notifications', tools: 'Help panel', toolsClose: 'Close help panel', toolsToggle: 'Open help panel' }; export const paginationLables: PaginationProps.Labels = { nextPageLabel: 'Next page', previousPageLabel: 'Previous page', pageLabel: (pageNumber: number) => `Page ${pageNumber} of all pages` }; // eslint-disable-next-line @rushstack/typedef-var export const headerLabels = { searchIconAriaLabel: 'Search', searchDismissIconAriaLabel: 'Close search', overflowMenuTriggerText: 'More', overflowMenuTitleText: 'All', overflowMenuBackIconAriaLabel: 'Back', overflowMenuDismissIconAriaLabel: 'Close menu', signout: 'Sign out' }; // eslint-disable-next-line @rushstack/typedef-var export const NavigationLabels = { Administration: 'Administration', CreateDashboard: 'Create new dashboard', Dashboards: 'Dashboards', InviteUsers: 'Invite users', ManageDashboards: 'Manage dashboards', ManageUsers: 'Manage users', Users: 'Users', ViewPublishedDashboards: 'View published dashboards' };