Skip to content

Commit

Permalink
Re-adding i18n... ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
clintandrewhall committed Jul 20, 2020
1 parent 060ae7e commit 05dab35
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions x-pack/plugins/canvas/i18n/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ export const ComponentStrings = {
i18n.translate('xpack.canvas.asset.thumbnailAltText', {
defaultMessage: 'Asset thumbnail',
}),
getConfirmModalButtonLabel: () =>
i18n.translate('xpack.canvas.asset.confirmModalButtonLabel', {
defaultMessage: 'Remove',
}),
getConfirmModalMessageText: () =>
i18n.translate('xpack.canvas.asset.confirmModalDetail', {
defaultMessage: 'Are you sure you want to remove this asset?',
}),
getConfirmModalTitle: () =>
i18n.translate('xpack.canvas.asset.confirmModalTitle', {
defaultMessage: 'Remove Asset',
}),
},
AssetManager: {
getButtonLabel: () =>
Expand Down

0 comments on commit 05dab35

Please sign in to comment.