UNPKG

@ckeditor/ckeditor5-heading

Version:

Headings feature for CKEditor 5.

12 lines (10 loc) 1.11 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 { [ 'ru' ]: { dictionary, getPluralForm } } = {"ru":{"dictionary":{"Paragraph":"Параграф","Heading":"Стиль","Choose heading":"Выбор стиля","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4","Heading 5":"Заголовок 5","Heading 6":"Заголовок 6","Type your title":"Введите заголовок","Type or paste your content here.":"Введите или вставьте сюда ваш текст"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);}}}; e[ 'ru' ] ||= { dictionary: {}, getPluralForm: null }; e[ 'ru' ].dictionary = Object.assign( e[ 'ru' ].dictionary, dictionary ); e[ 'ru' ].getPluralForm = getPluralForm; } )( window.CKEDITOR_TRANSLATIONS ||= {} );