forked from matrix/element-web
Correct npm command name in documentation
The `npm run` command `i18n-prune` is actually `prunei18n`.
This commit is contained in:
parent
a8e578f5b8
commit
c26cde2f6f
|
@ -32,7 +32,7 @@ function getColorName(hex) {
|
||||||
|
|
||||||
1. Edit every occurrence of the string inside `_t()` and `_td()` in the JSX files.
|
1. Edit every occurrence of the string inside `_t()` and `_td()` in the JSX files.
|
||||||
1. Run `npm run i18n` to update `src/i18n/strings/en_EN.json`. (Be sure to run this in the same project as the JSX files you just edited.)
|
1. Run `npm run i18n` to update `src/i18n/strings/en_EN.json`. (Be sure to run this in the same project as the JSX files you just edited.)
|
||||||
1. Run `npm run i18n-prune` to remove the old string from `src/i18n/strings/*.json`.
|
1. Run `npm run prunei18n` to remove the old string from `src/i18n/strings/*.json`.
|
||||||
|
|
||||||
## Adding new strings
|
## Adding new strings
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue