ソースを参照

Fixed mixed tabs and spaces.

Maciej Bukowski 5 年 前
コミット
0573464692
1 ファイル変更5 行追加5 行削除
  1. 5 5
      docs/framework/guides/deep-dive/localization.md

+ 5 - 5
docs/framework/guides/deep-dive/localization.md

@@ -67,7 +67,7 @@ editor.ui.componentFactory.add( 'smilingFaceEmoji', locale => {
 	// The translation function.
 	const { t } = editor.locale;
 
-  // The localized label.
+	// The localized label.
 	const label = t( 'insert smiling face emoji' );
 
 	buttonView.set( {
@@ -133,7 +133,7 @@ The first option of adding translations is via the {@link module:utils/translati
 
 ```js
 add( 'pl', {
-  'Add space': [ 'Dodaj spację', 'Dodaj %0 spacje', 'Dodaj %0 spacji' ]
+	'Add space': [ 'Dodaj spację', 'Dodaj %0 spacje', 'Dodaj %0 spacji' ]
 } );
 ```
 
@@ -144,7 +144,7 @@ Let's check an example below that demonstrate a part of the `window.CKEDITOR_TRA
 ```js
 {
 	// Each key should be a valid language code.
-   	pl: {
+	pl: {
 		// A map of translations for the 'pl' language.
 		dictionary: {
 			'Cancel': 'Anuluj',
@@ -153,8 +153,8 @@ Let's check an example below that demonstrate a part of the `window.CKEDITOR_TRA
 
 		// A function that returns the plural form index for the given language.
 		// getPluralForm: n => n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && ( n % 100 < 10 || n % 100 >= 20 ) ? 1 : 2
-   }
-   // Other languages...
+	}
+	// Other languages...
 }
 ```