Ver código fonte

Fix localization tests.

Mateusz Samsel 6 anos atrás
pai
commit
780eb29c7f
1 arquivos alterados com 5 adições e 4 exclusões
  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', () => {
 		} );
 	} );
 } );
+