Parcourir la source

Fix localization tests.

Mateusz Samsel il y a 6 ans
Parent
commit
780eb29c7f
1 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 5 4
      packages/ckeditor5-word-count/tests/wordcount.js

+ 5 - 4
packages/ckeditor5-word-count/tests/wordcount.js

@@ -231,12 +231,12 @@ describe( 'WordCount', () => {
 	describe( 'translations', () => {
 		before( () => {
 			addTranslations( 'pl', {
-				Words: 'Słowa',
-				Characters: 'Znaki'
+				'Words: %0': 'Słowa: %0',
+				'Characters: %0': 'Znaki: %0'
 			} );
 			addTranslations( 'en', {
-				Words: 'Words',
-				Characters: 'Characters'
+				'Words: %0': 'Words: %0',
+				'Characters: %0': 'Characters: %0'
 			} );
 		} );
 
@@ -260,3 +260,4 @@ describe( 'WordCount', () => {
 		} );
 	} );
 } );
+