Bladeren bron

Improved comment.

Maciej Bukowski 8 jaren geleden
bovenliggende
commit
99b91ccd52
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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 ];
 	}