浏览代码

Improvements to the decorator translations.

Aleksander Nowodzinski 6 年之前
父节点
当前提交
61cf453786

+ 1 - 1
packages/ckeditor5-link/src/link.js

@@ -169,7 +169,7 @@ export default class Link extends Plugin {
  *
  *		{
  *			mode: 'manual',
- *			label: 'Open link in new window',
+ *			label: 'Open in a new tab',
  *			attributes: {
  *				target: '_blank',
  *				rel: 'noopener noreferrer'

+ 1 - 1
packages/ckeditor5-link/src/utils.js

@@ -77,7 +77,7 @@ export function getLocalizedDecorators( editor ) {
 
 	if ( decorators ) {
 		const localizedDecoratorsLabels = {
-			'Open in a new window': t( 'Open in a new window' ),
+			'Open in a new tab': t( 'Open in a new tab' ),
 			'Downloadable': t( 'Downloadable' )
 		};
 

+ 2 - 2
packages/ckeditor5-link/tests/ui/linkformview.js

@@ -289,7 +289,7 @@ describe( 'LinkFormView', () => {
 	describe( 'localization of custom attributes', () => {
 		before( () => {
 			addTranslations( 'pl', {
-				'Open in a new window': 'Otwórz w nowym oknie'
+				'Open in a new tab': 'Otwórz w nowym oknie'
 			} );
 		} );
 		after( () => {
@@ -311,7 +311,7 @@ describe( 'LinkFormView', () => {
 						decorators: [
 							{
 								mode: 'manual',
-								label: 'Open in a new window',
+								label: 'Open in a new tab',
 								attributes: {
 									target: '_blank'
 								}