Parcourir la source

Improved comment.

Maciej Bukowski il y a 8 ans
Parent
commit
99b91ccd52
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

@@ -50,7 +50,8 @@ export function translate( lang, translationKey ) {
 
 	if ( numberOfLanguages === 1 ) {
 		// Override the language to the only supported one.
-		// This can't be done in the `Locale` class, because the translations comes after the `Locale` class initializes.
+		// This can't be done in the `Locale` class,
+		// because the translations comes after the `Locale` class initializes.
 		lang = Object.keys( dictionaries )[ 0 ];
 	}