diff --git a/themes/antergos/.tx/combine_translations.js b/themes/antergos/.tx/combine_translations.js index 4496361..9c83f6f 100644 --- a/themes/antergos/.tx/combine_translations.js +++ b/themes/antergos/.tx/combine_translations.js @@ -28,7 +28,7 @@ var fs = require( "fs" ), path = require( 'path' ), - i18n_dir = process.argv[1] + 'i18n/', + i18n_dir = process.argv[2] + '/i18n/', translation_files = fs.readdirSync( i18n_dir ), output = i18n_dir + 'translations.json', translations = {}; @@ -87,11 +87,11 @@ fs.writeFile( output, JSON.stringify( translations ), function( error ) { console.log( "Successful Write to " + output ); } } ); -fs.writeFile( i18n_dir + 'js/translations.js', 'window.ant_translations = ' + JSON.stringify( translations ), function( error ) { +fs.writeFile( i18n_dir.replace('/i18n/', '') + '/js/translations.js', 'window.ant_translations = ' + JSON.stringify( translations ), function( error ) { if ( error ) { console.error( "write error: " + error.message ); } else { - console.log( "Successful Write to " + output ); + console.log( "Successful Write to " + i18n_dir.replace('/i18n/', '') + '/js/translations.js' ); } } ); diff --git a/themes/antergos/index.theme b/themes/antergos/index.theme index e11027c..f817092 100644 --- a/themes/antergos/index.theme +++ b/themes/antergos/index.theme @@ -1,6 +1,6 @@ [theme] name=Antergos -version=2.2.5 +version=2.3.0 description=Antergos Theme engine=lightdm-webkit2-greeter url=index.html