add support automatic locale generation to SDK

This commit is contained in:
mrsang
2021-05-01 20:17:34 +02:00
parent 5c54bf2cdc
commit d4bbb11b0b
9 changed files with 62 additions and 48 deletions

View File

@ -208,7 +208,7 @@ namespace OS {
{
const target = options.targets[name];
if(!target)
return reject(__(`No target: ${name}`));
return reject(__("No target: {0}", name));
if(target.depend)
{
@ -219,7 +219,7 @@ namespace OS {
await this.require(target.require);
}
if(this.logger)
this.logger.info(__(`### RUNNING STAGE: ${name}###`).__());
this.logger.info(__("### RUNNING STAGE: {0}###", name).__());
if(target.jobs)
for(const job of target.jobs)
{