|
@@ -13,7 +13,7 @@ import { add } from '@ckeditor/ckeditor5-utils/src/translation-service';
|
|
|
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
|
|
|
|
|
|
add( 'pl', {
|
|
add( 'pl', {
|
|
|
- 'Chose heading': 'Wybierz nagłówek',
|
|
|
|
|
|
|
+ 'Choose heading': 'Wybierz nagłówek',
|
|
|
'Paragraph': 'Akapit',
|
|
'Paragraph': 'Akapit',
|
|
|
'Heading': 'Nagłówek',
|
|
'Heading': 'Nagłówek',
|
|
|
'Heading 1': 'Nagłówek 1',
|
|
'Heading 1': 'Nagłówek 1',
|
|
@@ -58,7 +58,7 @@ describe( 'Heading', () => {
|
|
|
expect( dropdown ).to.be.instanceOf( DropdownView );
|
|
expect( dropdown ).to.be.instanceOf( DropdownView );
|
|
|
expect( dropdown.buttonView.isEnabled ).to.be.true;
|
|
expect( dropdown.buttonView.isEnabled ).to.be.true;
|
|
|
expect( dropdown.buttonView.isOn ).to.be.undefined;
|
|
expect( dropdown.buttonView.isOn ).to.be.undefined;
|
|
|
- expect( dropdown.buttonView.label ).to.equal( 'Chose heading' );
|
|
|
|
|
|
|
+ expect( dropdown.buttonView.label ).to.equal( 'Choose heading' );
|
|
|
expect( dropdown.buttonView.tooltip ).to.equal( 'Heading' );
|
|
expect( dropdown.buttonView.tooltip ).to.equal( 'Heading' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
@@ -110,7 +110,7 @@ describe( 'Heading', () => {
|
|
|
commands[ name ].value = false;
|
|
commands[ name ].value = false;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- expect( dropdown.buttonView.label ).to.equal( 'Chose heading' );
|
|
|
|
|
|
|
+ expect( dropdown.buttonView.label ).to.equal( 'Choose heading' );
|
|
|
|
|
|
|
|
commands.heading2.value = true;
|
|
commands.heading2.value = true;
|
|
|
expect( dropdown.buttonView.label ).to.equal( 'Heading 2' );
|
|
expect( dropdown.buttonView.label ).to.equal( 'Heading 2' );
|