Skip to content

Commit aa4baf7

Browse files
committed
docs: ✏️ Add explanation on what an extra key is
Closes: #176
1 parent fc5ec4b commit aa4baf7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Run `npm run i18n:find`, and you'll get a lovely list that summarizes the keys f
345345
transloco-keys-manager extract --project first-app
346346
```
347347
348-
\* **Note:** If no `angular.json` file is present, `sourceRoot` will be `src`.
348+
**Note:** If no `angular.json` file is present, `sourceRoot` will be `src`.
349349
350350
- `config`: The root search directory for the transloco config file: (default is `process.cwd()`)
351351
@@ -362,7 +362,7 @@ transloco-keys-manager extract --input src/my/path,project/another/path
362362
transloco-keys-manager extract -i src/my/path
363363
```
364364
365-
\* **Note:** If a `project` is provided the default input value will be determined by the `projectType`, when given a library the default input value will be `['lib']`.
365+
**Note:** If a `project` is provided the default input value will be determined by the `projectType`, when given a library the default input value will be `['lib']`.
366366
367367
- `output`: The target directory for all generated translation files: (default is `assets/i18n`)
368368
@@ -442,7 +442,8 @@ transloco-keys-manager find --add-missing-keys
442442
transloco-keys-manager find -a
443443
```
444444
445-
- `emitErrorOnExtraKeys`: Emit an error and exit the process if extra keys were found (default is `false`)
445+
- `emitErrorOnExtraKeys`: Emit an error and exit the process if extra keys were found (default is `false`)
446+
Extra keys are keys that exist in your translations but are no usages of them in the code.
446447
447448
```
448449
transloco-keys-manager find --emit-error-on-extra-keys

0 commit comments

Comments
 (0)