From c26cde2f6f56398c3eab0e2db4f7dd9cb8abdc14 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Sun, 29 Apr 2018 14:08:03 +1200 Subject: [PATCH] Correct npm command name in documentation The `npm run` command `i18n-prune` is actually `prunei18n`. --- docs/translating-dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/translating-dev.md b/docs/translating-dev.md index 3238bd73..28cd6242 100644 --- a/docs/translating-dev.md +++ b/docs/translating-dev.md @@ -32,7 +32,7 @@ function getColorName(hex) { 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-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