Skip to content

Commit 7980ddd

Browse files
committed
i18n updates
1 parent c8869fa commit 7980ddd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ export const getEuiContextMapping = (): EuiTokensObject => {
125125
defaultMessage: 'Unavailable',
126126
description: 'Displayed button text when a card option is unavailable.',
127127
}),
128+
'euiCodeBlockAnnotations.ariaLabel': ({ lineNumber }: EuiValues) =>
129+
i18n.translate('core.euiCodeBlockAnnotations.ariaLabel', {
130+
defaultMessage: 'Click to view a code annotation for line {lineNumber}',
131+
values: { lineNumber },
132+
description:
133+
'ARIA label for a button icon that toggles a popover annotation for a specific code line',
134+
}),
128135
'euiCodeBlockCopy.copy': i18n.translate('core.euiCodeBlockCopy.copy', {
129136
defaultMessage: 'Copy',
130137
description: 'ARIA label for a button that copies source code text to the clipboard',

0 commit comments

Comments
 (0)