Browse Source

Remove translation of a label.

Mateusz Samsel 6 years ago
parent
commit
79c34bad81
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/ckeditor5-link/src/ui/linkformview.js

+ 1 - 2
packages/ckeditor5-link/src/ui/linkformview.js

@@ -250,14 +250,13 @@ export default class LinkFormView extends View {
 	 */
 	_createCustomAttributesView() {
 		const switches = this.createCollection();
-		const t = this.locale.t;
 
 		switches.bindTo( this.customAttributes ).using( item => {
 			const switchButton = new SwitchButtonView( this.locale );
 
 			switchButton.set( {
 				name: item.id,
-				label: t( item.label ),
+				label: item.label,
 				withText: true
 			} );