Browse Source

Fix typo in I18n.md (#5796)

pull/5815/head
Max Dmitriev 2 years ago
committed by GitHub
parent
commit
fac9f562ee
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/modules/I18n.md

4
docs/modules/I18n.md

@ -44,7 +44,7 @@ Now the editor will be translated in Italian for those browsers which default la
## Update strings ## Update strings
If you need to change some default language strings you can easily update them by using [I18n API](/api/i18n.html). If you need to change some default language strings you can easily update them by using [I18n API](/api/i18n.html).
To find the correth path of the string you can check the [`en` locale file] and follow its inner path inside the locale object. To find the correct path of the string you can check the [`en` locale file] and follow its inner path inside the locale object.
Let's say we want to update the default message of the empty state in Style Manager when no elements are selected. Let's say we want to update the default message of the empty state in Style Manager when no elements are selected.
@ -167,7 +167,7 @@ plugin-dir
- ... - ...
- src - src
- index.js - index.js
- locale // create the locale foldar in your src - locale // create the locale folder in your src
- en.js // All default strings should be placed here - en.js // All default strings should be placed here
``` ```

Loading…
Cancel
Save