/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular_devkit/build_angular/src/builders/extract-i18n/schema.json
38 строк
1 KB
igord
fix(@angular-devkit/build-angular): respect i18nDuplicateTranslation option when duplicates exist
20 май 2025, 18:43
20 май 2025, 18:43
d16e358
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/schema", "title": "Extract i18n Target", "description": "Extract i18n target options for Build Facade.", "type": "object", "properties": { "buildTarget": { "type": "string", "description": "A builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", "pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$" }, "format": { "type": "string", "description": "Output format for the generated file.", "default": "xlf", "enum": ["xmb", "xlf", "xlif", "xliff", "xlf2", "xliff2", "json", "arb", "legacy-migrate"] }, "progress": { "type": "boolean", "description": "Log progress to the console.", "default": true }, "outputPath": { "type": "string", "description": "Path where output will be placed." }, "outFile": { "type": "string", "description": "Name of the file to output." }, "i18nDuplicateTranslation": { "type": "string", "description": "How to handle duplicate translations.", "enum": ["error", "warning", "ignore"] } }, "additionalProperties": false }