Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
"@elastic/ecs": "9.0.0",
"@elastic/elasticsearch": "9.1.1",
"@elastic/ems-client": "8.6.3",
"@elastic/eui": "111.0.0",
"@elastic/eui-theme-borealis": "5.2.0",
"@elastic/eui": "111.1.0",
"@elastic/eui-theme-borealis": "5.3.0",
"@elastic/filesaver": "1.1.2",
"@elastic/kibana-d3-color": "npm:@elastic/kibana-d3-color@2.0.1",
"@elastic/monaco-esql": "3.1.13",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 23 additions & 34 deletions src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -43,40 +43,6 @@ export const getEuiContextMapping = (): EuiTokensObject => {
values: { index },
description: 'ARIA and displayed label on a checkbox to select a single table row',
}),
'euiBasicTable.tableCaptionWithPagination': ({ tableCaption, page, pageCount }: EuiValues) =>
i18n.translate('core.euiBasicTable.tableCaptionWithPagination', {
defaultMessage: '{tableCaption}; Page {page} of {pageCount}.',
values: { tableCaption, page, pageCount },
description: 'Screen reader text to describe the size of a paginated table',
}),
'euiBasicTable.tableAutoCaptionWithPagination': ({
itemCount,
totalItemCount,
page,
pageCount,
}: EuiValues) =>
i18n.translate('core.euiBasicTable.tableAutoCaptionWithPagination', {
defaultMessage:
'This table contains {itemCount} rows out of {totalItemCount} rows; Page {page} of {pageCount}.',
values: { itemCount, totalItemCount, page, pageCount },
description: 'Screen reader text to describe the size of a paginated table',
}),
'euiBasicTable.tableSimpleAutoCaptionWithPagination': ({
itemCount,
page,
pageCount,
}: EuiValues) =>
i18n.translate('core.euiBasicTable.tableSimpleAutoCaptionWithPagination', {
defaultMessage: 'This table contains {itemCount} rows; Page {page} of {pageCount}.',
values: { itemCount, page, pageCount },
description: 'Screen reader text to describe the size of a paginated table',
}),
'euiBasicTable.tableAutoCaptionWithoutPagination': ({ itemCount }: EuiValues) =>
i18n.translate('core.euiBasicTable.tableAutoCaptionWithoutPagination', {
defaultMessage: 'This table contains {itemCount} rows.',
values: { itemCount },
description: 'Screen reader text to describe the size of a table',
}),
'euiBasicTable.tablePagination': ({ tableCaption }: EuiValues) =>
i18n.translate('core.euiBasicTable.tablePagination', {
defaultMessage: 'Pagination for table: {tableCaption}',
Expand All @@ -89,6 +55,29 @@ export const getEuiContextMapping = (): EuiTokensObject => {
'euiBasicTable.deselectRows': i18n.translate('core.euiBasicTable.deselectRows', {
defaultMessage: 'Deselect rows',
}),
'euiBasicTable.caption.itemCountPart.withTotalItemCount': ({
itemCount,
totalItemCount,
}: EuiValues) =>
i18n.translate('core.euiBasicTable.caption.itemCountPart.withTotalItemCount', {
defaultMessage: 'Showing {itemCount} of {totalItemCount} data rows.',
values: { itemCount, totalItemCount },
description: 'Screen reader text to describe the shown item count and total item count.',
}),
'euiBasicTable.caption.paginationPart.withPageCount': ({ page, pageCount }: EuiValues) =>
i18n.translate('core.euiBasicTable.caption.paginationPart.withPageCount', {
defaultMessage: 'Page {page} of {pageCount}.',
values: { page, pageCount },
description: 'Screen reader text to describe the shown page and total page count.',
}),
'euiBasicTable.caption.tableName': i18n.translate('core.euiBasicTable.caption.tableName', {
defaultMessage: 'Data table',
description: 'Screen reader text to announce the table.',
}),
'euiBasicTable.caption.emptyState': i18n.translate('core.euiBasicTable.caption.emptyState', {
defaultMessage: '(empty)',
description: 'Screen reader text to announce the empty table.',
}),
'euiBottomBar.customScreenReaderAnnouncement': ({ landmarkHeading }: EuiValues) =>
i18n.translate('core.euiBottomBar.customScreenReaderAnnouncement', {
defaultMessage:
Expand Down
4 changes: 2 additions & 2 deletions src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export const LICENSE_OVERRIDES = {
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/ems-client@8.6.3': ['Elastic License 2.0'],
'@elastic/eui@111.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui-theme-borealis@5.2.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui@111.1.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui-theme-borealis@5.3.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/protobuf@2.5.2': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading