Few fixes to ftl-to-json
and localize-ftl
scripts (#3707)
* Omit msg-ref-only strings from Transifex JSON * Fix msg-ref-only strings not included in translated .ftl files * Update ftl-tx. Simplify localize-ftl script. * Tweak FTL -> JSON conversion to produce a single file
This commit is contained in:
parent
f8a8f694b4
commit
b7244998a1
5 changed files with 71 additions and 58 deletions
|
@ -30,7 +30,7 @@ function onProgress(sourcefile, outfile, operation) {
|
|||
if ('isError' in global && global.isError) {
|
||||
return;
|
||||
}
|
||||
if (NODE_ENV == 'debug') {
|
||||
if (NODE_ENV === 'debug' && outfile) {
|
||||
console.log(`${colors.blue(`[${operation}]`)} ${sourcefile} -> ${outfile}`);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue