Przeglądaj źródła

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

Marek Lewandowski 6 lat temu
rodzic
commit
568d2ceb26

+ 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 ) => {