Skip to content

Commit

Permalink
Merge pull request #1138 from picklesrus/develop-translate-changes
Browse files Browse the repository at this point in the history
Update the format of the language menu to match the changes made to d…
  • Loading branch information
ericrosenbaum committed May 11, 2018
2 parents b5395fb + 720cc82 commit 846f212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/scratch3_translate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
}
Expand Down

0 comments on commit 846f212

Please sign in to comment.