From c86502b53949d9591933f123e0681e32343603e3 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Thu, 18 Oct 2018 03:15:59 +0200 Subject: [PATCH] Change all occurrences of 'new window' to 'new tab'. (#10698) --- packages/block-library/src/file/index.js | 2 +- packages/block-library/src/file/inspector.js | 2 +- packages/components/src/external-link/index.js | 2 +- .../src/components/rich-text/format-toolbar/link-container.js | 2 +- packages/editor/src/components/url-popover/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/block-library/src/file/index.js b/packages/block-library/src/file/index.js index 3b8ae9f78359b9..cba248522715b4 100644 --- a/packages/block-library/src/file/index.js +++ b/packages/block-library/src/file/index.js @@ -49,7 +49,7 @@ export const settings = { selector: 'a:not([download])', attribute: 'href', }, - // e.g. `_blank` when the block is configured to open in a new window + // e.g. `_blank` when the block is configured to open in a new tab textLinkTarget: { type: 'string', source: 'attribute', diff --git a/packages/block-library/src/file/inspector.js b/packages/block-library/src/file/inspector.js index 0062967e20fb30..cc3bb8acad78f9 100644 --- a/packages/block-library/src/file/inspector.js +++ b/packages/block-library/src/file/inspector.js @@ -43,7 +43,7 @@ export default function FileBlockInspector( { onChange={ changeLinkDestinationOption } /> diff --git a/packages/components/src/external-link/index.js b/packages/components/src/external-link/index.js index 9b5e2694e4c2d3..89ad1d80160a18 100644 --- a/packages/components/src/external-link/index.js +++ b/packages/components/src/external-link/index.js @@ -29,7 +29,7 @@ export function ExternalLink( { href, children, className, rel = '', ...addition { /* translators: accessibility text */ - __( '(opens in a new window)' ) + __( '(opens in a new tab)' ) } diff --git a/packages/editor/src/components/rich-text/format-toolbar/link-container.js b/packages/editor/src/components/rich-text/format-toolbar/link-container.js index c4ac22ad21644b..84cd17d31c41e9 100644 --- a/packages/editor/src/components/rich-text/format-toolbar/link-container.js +++ b/packages/editor/src/components/rich-text/format-toolbar/link-container.js @@ -209,7 +209,7 @@ class LinkContainer extends Component { focusOnMount={ showInput ? 'firstElement' : false } renderSettings={ () => ( diff --git a/packages/editor/src/components/url-popover/README.md b/packages/editor/src/components/url-popover/README.md index c3ff22dda6f8a3..b8f62067e72981 100644 --- a/packages/editor/src/components/url-popover/README.md +++ b/packages/editor/src/components/url-popover/README.md @@ -65,7 +65,7 @@ class MyURLPopover extends Component { onClickOutside={ this.closeURLPopover } renderSettings={ () => (