diff --git a/HISTORY.md b/HISTORY.md index 1d4cbfb6..b192a10b 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -61,6 +61,7 @@ * fixed some minor variable-renaming issues * fixed STOP OTHER SCRIPTS for use inside TELL * made "remove duplicates" reporter in the "list utilities" library (a lot) faster + * fixed translation support for the libraries list, thanks, Joan! * **Documentation Updates:** * updated manual, thanks, Brian! * updated readme, thanks, Michael! @@ -71,6 +72,7 @@ ### 2021-12-10 * Catalan and German translation updates, thanks, Joan! +* translation support for the libraries list, thanks, Joan! ### 2021-12-09 * blocks, threads: never push untested last minute changes that might break everything diff --git a/snap.html b/snap.html index d9e6dc50..01eb10ca 100755 --- a/snap.html +++ b/snap.html @@ -1,7 +1,7 @@ - Snap! 7 - rc3 - Build Your Own Blocks + Snap! 7 - rc4 - Build Your Own Blocks @@ -13,14 +13,14 @@ - + - + diff --git a/src/gui.js b/src/gui.js index 5dc47180..84e3b276 100644 --- a/src/gui.js +++ b/src/gui.js @@ -86,7 +86,7 @@ BlockVisibilityDialogMorph, ThreadManager*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2021-December-09'; +modules.gui = '2021-December-10'; // Declarations @@ -4770,7 +4770,7 @@ IDE_Morph.prototype.aboutSnap = function () { module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn, world = this.world(); - aboutTxt = 'Snap! 7 - rc3 -\nBuild Your Own Blocks\n\n' + aboutTxt = 'Snap! 7 - rc4 -\nBuild Your Own Blocks\n\n' + 'Copyright \u24B8 2008-2021 Jens M\u00F6nig and ' + 'Brian Harvey\n' + 'jens@moenig.org, bh@cs.berkeley.edu\n\n' diff --git a/src/morphic.js b/src/morphic.js index 9a9205c7..8471fa38 100644 --- a/src/morphic.js +++ b/src/morphic.js @@ -1291,7 +1291,7 @@ /*jshint esversion: 6*/ -var morphicVersion = '2021-July-09'; +var morphicVersion = '2021-December-10'; var modules = {}; // keep track of additional loaded modules var useBlurredShadows = true; @@ -10764,7 +10764,14 @@ ListMorph.prototype = new ScrollFrameMorph(); ListMorph.prototype.constructor = ListMorph; ListMorph.uber = ScrollFrameMorph.prototype; -function ListMorph(elements, labelGetter, format, onDoubleClick, separator, verbatim) { +function ListMorph( + elements, + labelGetter, + format, + onDoubleClick, + separator, + verbatim +) { /* passing a format is optional. If the format parameter is specified it has to be of the following pattern: @@ -10826,7 +10833,7 @@ ListMorph.prototype.init = function ( this.action = null; this.doubleClickAction = onDoubleClick || null; this.separator = separator || ''; - this.verbatim = typeof verbatim === 'undefined' ? true : verbatim; + this.verbatim = isNil(verbatim) ? true : verbatim; this.acceptsDrops = false; this.buildListContents(); };