8
0
Pārlūkot izejas kodu

Tests: Manual test clean-up.

Aleksander Nowodzinski 6 gadi atpakaļ
vecāks
revīzija
429c77ecd3

+ 4 - 4
packages/ckeditor5-utils/tests/manual/locale/locale.html

@@ -1,22 +1,22 @@
-<h2>config.language = 'de' (LTR)</h2>
+<h2>language = 'en' (LTR)</h2>
 
 <div id="editor-language">
 	<p>This is an editor instance.</p>
 </div>
 
-<h2>config.language = 'ar' (RTL)</h2>
+<h2>language = 'ar' (RTL)</h2>
 
 <div id="editor-language-rtl">
 	<p>مرحبا</p>
 </div>
 
-<h2>config.language = 'en' (LTR), <br />config.contentLanguage = 'ar' (RTL)</h2>
+<h2>language = 'en' (LTR), <br />contentLanguage = 'ar' (RTL)</h2>
 
 <div id="editor-language-rtl-content">
 	<p>مرحبا</p>
 </div>
 
-<h2>config.language = 'ar' (RTL), <br />config.contentLanguage = 'en' (LTR)</h2>
+<h2>language = 'ar' (RTL), <br />contentLanguage = 'en' (LTR)</h2>
 
 <div id="editor-language-rtl-ui">
 	<p>This is an editor instance.</p>

+ 1 - 7
packages/ckeditor5-utils/tests/manual/locale/locale.js

@@ -7,12 +7,6 @@
 
 import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
 import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
-// import { add as addTranslations } from '../../../src/translation-service';
-
-// import '@ckeditor/ckeditor5-build-classic/build/translations/de.js';
-// import '@ckeditor/ckeditor5-build-classic/build/translations/ar.js';
-
-// addTranslations( 'de', window.CKEDITOR_TRANSLATIONS.de );
 
 const toolbarConfig = [
 	'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'insertTable', 'mediaEmbed', 'undo', 'redo'
@@ -23,7 +17,7 @@ ClassicEditor
 		plugins: [ ArticlePluginSet ],
 		toolbar: toolbarConfig,
 
-		language: 'de'
+		language: 'en'
 	} )
 	.then( newEditor => {
 		window.editorLanguage = newEditor;