diff --git a/libantosdk/README.md b/libantosdk/README.md index 14b0d98..a54d699 100644 --- a/libantosdk/README.md +++ b/libantosdk/README.md @@ -2,6 +2,7 @@ AntOSDK: development API for AntOS based applications/projects ## Change logs +- 0.0.9: Fix locale gen bug - 0.0.8: Update JQuery support in typescript - 0.0.7: enable typescript downlevelIteration compile option - 0.0.6: add GUI application for building a JSON build file diff --git a/libantosdk/build/debug/README.md b/libantosdk/build/debug/README.md index 14b0d98..a54d699 100644 --- a/libantosdk/build/debug/README.md +++ b/libantosdk/build/debug/README.md @@ -2,6 +2,7 @@ AntOSDK: development API for AntOS based applications/projects ## Change logs +- 0.0.9: Fix locale gen bug - 0.0.8: Update JQuery support in typescript - 0.0.7: enable typescript downlevelIteration compile option - 0.0.6: add GUI application for building a JSON build file diff --git a/libantosdk/build/debug/core/locale.worker.js b/libantosdk/build/debug/core/locale.worker.js index 3340d6f..0b2fab3 100644 --- a/libantosdk/build/debug/core/locale.worker.js +++ b/libantosdk/build/debug/core/locale.worker.js @@ -133,7 +133,7 @@ class LocaleJob extends AntOSDKBaseJob { // read the meta file const contents = await this.read_files([this.job.data.dest]); const pkg = JSON.parse(contents[0]); - pkg.locale = locale; + pkg.locales = locale; // save data const result = await this.save_file(this.job.data.dest,pkg,"object"); this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`); diff --git a/libantosdk/build/debug/package.json b/libantosdk/build/debug/package.json index c66ee65..429098d 100644 --- a/libantosdk/build/debug/package.json +++ b/libantosdk/build/debug/package.json @@ -7,7 +7,7 @@ "author": "Xuan Sang LE", "email": "mrsang@iohub.dev" }, - "version": "0.0.8-a", + "version": "0.0.9-a", "category": "Development", "iconclass": "fa fa-cog", "mimes": [ diff --git a/libantosdk/build/release/libantosdk.zip b/libantosdk/build/release/libantosdk.zip index 51132e7..4f90ab8 100644 Binary files a/libantosdk/build/release/libantosdk.zip and b/libantosdk/build/release/libantosdk.zip differ diff --git a/libantosdk/core/locale.worker.js b/libantosdk/core/locale.worker.js index 3340d6f..0b2fab3 100644 --- a/libantosdk/core/locale.worker.js +++ b/libantosdk/core/locale.worker.js @@ -133,7 +133,7 @@ class LocaleJob extends AntOSDKBaseJob { // read the meta file const contents = await this.read_files([this.job.data.dest]); const pkg = JSON.parse(contents[0]); - pkg.locale = locale; + pkg.locales = locale; // save data const result = await this.save_file(this.job.data.dest,pkg,"object"); this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`); diff --git a/libantosdk/package.json b/libantosdk/package.json index c66ee65..429098d 100644 --- a/libantosdk/package.json +++ b/libantosdk/package.json @@ -7,7 +7,7 @@ "author": "Xuan Sang LE", "email": "mrsang@iohub.dev" }, - "version": "0.0.8-a", + "version": "0.0.9-a", "category": "Development", "iconclass": "fa fa-cog", "mimes": [ diff --git a/packages.json b/packages.json index f245a51..793f368 100644 --- a/packages.json +++ b/packages.json @@ -195,7 +195,7 @@ "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/README.md", "category": "Development", "author": "Xuan Sang LE", - "version": "0.0.8-a", + "version": "0.0.9-a", "dependencies": [], "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/libantosdk/build/release/libantosdk.zip" },