Merge pull request #1138 from picklesrus/develop-translate-changes

Update the format of the language menu to match the changes made to d…
This commit is contained in:
Eric Rosenbaum 2018-05-11 17:14:13 -04:00 committed by GitHub
commit 846f212110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ class Scratch3TranslateBlocks {
if (langs) {
this._supportedLanguages =
langs.map(entry => {
const obj = [entry.name, entry.code];
const obj = {text: entry.name, value: entry.code};
return obj;
});
}