diff --git a/HISTORY.md b/HISTORY.md index 80283101..e47f08ee 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,7 @@ * **New Features:** * **Notable Changes:** + * added more localizable error strings * **Notable Fixes:** * fixed binding an unbound context to a sprite (e.g. when using JOIN blocks) * fixed loading the Chinese translation, thanks, @moodykeke @@ -13,6 +14,7 @@ ### 2022-01-20 * German translation update (for error messages) +* threads: added more localizable error strings ### 2022-01-17 * new dev version diff --git a/snap.html b/snap.html index a0c1d607..9832ac31 100755 --- a/snap.html +++ b/snap.html @@ -17,7 +17,7 @@ - + diff --git a/src/threads.js b/src/threads.js index 849457db..ad23e517 100644 --- a/src/threads.js +++ b/src/threads.js @@ -64,7 +64,7 @@ SnapExtensions, AlignmentMorph, TextMorph, Cloud, HatBlockMorph*/ /*jshint esversion: 6*/ -modules.threads = '2022-January-17'; +modules.threads = '2022-January-20'; var ThreadManager; var Process; @@ -1170,7 +1170,7 @@ Process.prototype.throwError = function (error, element) { this.errorFlag = true; this.topBlock.addErrorHighlight(); if (ide.isAppMode) { - ide.showMessage(error.name + '\n' + error.message); + ide.showMessage(localize(error.name) + '\n' + error.message); } else { if (isNil(m) || isNil(m.world())) {m = this.topBlock; } m.showBubble(