diff --git a/lib/commands/localization/update.js b/lib/commands/localization/update.js index c1105f50..60f367d6 100644 --- a/lib/commands/localization/update.js +++ b/lib/commands/localization/update.js @@ -31,8 +31,12 @@ export default class extends Command { packages = Object.values( idx ); } - for ( const pkg of packages ) { - console.log( `Package: ${ pkg.name }` ); + for ( let n = 0; n < packages.length; n++ ) { + const pkg = packages[ n ]; + + if ( n ) console.log( "" ); + + console.log( `Package: ${ pkg.name }\n` ); const res = await pkg.localization.update(); @@ -41,8 +45,6 @@ export default class extends Command { const localizationStatus = pkg.localization.status(); if ( localizationStatus.data ) { - console.log( "Localization status:\n" ); - for ( const [ poFilePath, isTranslated ] of Object.entries( localizationStatus.data ) ) { console.log( isTranslated ? " OK " : ansi.error( " FUZZY " ), poFilePath ); }