UNPKG

@o3r/localization

Version:

This module provides a runtime dynamic language/translation support and debug tools.

46 lines (45 loc) 1.3 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "NgAddLocalizationKeySchematicsSchema", "title": "Add Otter Localization key to an existing component", "description": "Add Otter Localization key to an existing component", "properties": { "path": { "type": "string", "description": "Path to the component" }, "skipLinter": { "type": "boolean", "description": "Skip the linter process which includes EsLint and EditorConfig rules applying", "default": false }, "key": { "type": "string", "description": "Localization key without the component prefix" }, "description": { "type": "string", "description": "Description of the localization" }, "value": { "type": "string", "description": "Default value of the localization", "default": "" }, "dictionary": { "type": "boolean", "description": "Is a dictionary key (the alias dictionnary will be removed in v13)", "default": false, "alias": "dictionnary" }, "updateTemplate": { "type": "boolean", "description": "Update the template by replacing matching value by the localization key" } }, "additionalProperties": true, "required": [ "path", "key" ] }