Przeglądaj źródła

Applied suggestions from code review

Co-authored-by: Marek Lewandowski <mlewand@users.noreply.github.com>
Maciej Bukowski 5 lat temu
rodzic
commit
52bd368491

+ 1 - 1
docs/features/ui-language.md

@@ -146,7 +146,7 @@ If you build CKEditor 5 from scratch or integrate it directly into your applicat
 	// ...
 	```
 
-3. Run webpack. The CKEditor 5 plugin for webpack will emit additional files for each language specified in the `additionalLanguages` option with translations for messages from {@link module:utils/locale~Locale#t the `t()` function} calls to the `'translations'` directory (or different, if the `outputDirectory` option is specified). Translations fro the language specified in the `language` option will be automatically included in the build.
+3. Run webpack. The CKEditor 5 plugin for webpack will emit additional files for each language specified in the `additionalLanguages` option with translations for messages from {@link module:utils/locale~Locale#t the `t()` function} calls to the `'translations'` directory (or different, if the `outputDirectory` option is specified). Translations from the language specified in the `language` option will be automatically included in the build.
 
 4. If you want to change the language after the build ends, you will need to edit the `index.html` file, add the translation file, and set the UI language to the target one.
 

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

@@ -182,5 +182,5 @@ To build the localized editor follow the steps from {@link features/ui-language
 
 ## Known limitations
 
-- Currently it is impossible to change the chosen language at runtime without destroying the editor.
+- Currently it is impossible to change the chosen editor's language at a runtime without destroying the editor.
 - Currently it is impossible to add more than one language to the bundle using the `CKEditorWebpackPlugin`. In case where multiple *translation assets* should be added to the application, they should be added using the `<script>` tags or imports to the generated *translation assets*