Parcourir la source

Docs: Added a simpler scenario.

Maciej Bukowski il y a 5 ans
Parent
commit
9737494d64
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      packages/ckeditor5-utils/src/translation-service.js

+ 2 - 1
packages/ckeditor5-utils/src/translation-service.js

@@ -39,7 +39,8 @@ if ( !window.CKEDITOR_TRANSLATIONS ) {
  *
  * You should also specify the third argument (the `getPluralForm` function) that will be used to determine the plural form if no
  * language file was loaded for that language. All language files coming from CKEditor 5 sources will have this option set, so
- * these plural form rules will be reused by other translations added to the registered languages.
+ * these plural form rules will be reused by other translations added to the registered languages. The `getPluralForm` function
+ * can return either a boolean or a number.
  *
  * 		add( 'en', {
  *	 		// ... Translations.