UNPKG

@ckeditor/ckeditor5-heading

Version:

Headings feature for CKEditor 5.

12 lines (10 loc) 1.01 kB
/** * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ ( e => { const { [ 'pl' ]: { dictionary, getPluralForm } } = {"pl":{"dictionary":{"Paragraph":"Akapit","Heading":"Nagłówek","Choose heading":"Wybierz nagłówek","Heading 1":"Nagłówek 1","Heading 2":"Nagłówek 2","Heading 3":"Nagłówek 3","Heading 4":"Nagłówek 4","Heading 5":"Nagłówek 5","Heading 6":"Nagłówek 6","Type your title":"Podaj tytuł","Type or paste your content here.":"Wpisz lub wklej tutaj treść dokumentu."},getPluralForm(n){return (n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);}}}; e[ 'pl' ] ||= { dictionary: {}, getPluralForm: null }; e[ 'pl' ].dictionary = Object.assign( e[ 'pl' ].dictionary, dictionary ); e[ 'pl' ].getPluralForm = getPluralForm; } )( window.CKEDITOR_TRANSLATIONS ||= {} );