8
0
Просмотр исходного кода

Docs: More lang corrections for Notification#showWarning().

Marek Lewandowski 6 лет назад
Родитель
Сommit
568d2ceb26
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-ui/src/notification/notification.js

+ 2 - 2
packages/ckeditor5-ui/src/notification/notification.js

@@ -131,10 +131,10 @@ export default class Notification extends Plugin {
 	 * 			evt.stop();
 	 * 		} );
 	 *
-	 * You can attach many listeners to the same event and `stop()` this event in the listener with the low priority:
+	 * You can attach many listeners to the same event and `stop()` this event in a listener with a low priority:
 	 *
 	 * 		notifications.on( 'show:warning', ( evt, data ) => {
-	 * 			// Show warning in the UI, but not stop it.
+	 * 			// Show the warning in the UI, but do not stop it.
 	 * 		} );
 	 *
 	 * 		notifications.on( 'show:warning', ( evt, data ) => {