From b540b2107a3a60818879e3bb03d32827fdb566ec Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Mon, 16 Sep 2019 18:23:55 -0400 Subject: [PATCH] Remove mock data --- src/extensions/scratch3_text2speech/index.js | 29 -------------------- 1 file changed, 29 deletions(-) diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js index 9b65dcc68..e306984fa 100644 --- a/src/extensions/scratch3_text2speech/index.js +++ b/src/extensions/scratch3_text2speech/index.js @@ -598,35 +598,6 @@ class Scratch3Text2SpeechBlocks { * @return {array} the text and value for each menu item. */ getLanguageMenu () { - // Mock data to use until we update the scratch-translate-extension-languages - // module. - languageNames.spokenLanguages = { - en: [ - { - code: 'zh-cn', - name: 'Chinese (Mandarin)' - } - ], - es: [ - { - code: 'zh-cn', - name: 'Chino (Mandarín)' - }, - { - code: 'hi', - name: 'Hindi' - }, - { - code: 'pt-br', - name: 'Portugués (Brasileiro)' - }, - { - code: 'es-419', - name: 'Español (Latinoamericano)' - } - ] - }; - // Get the array of localized language names const localizedNameMap = {}; let nameArray = languageNames.menuMap[this.getEditorLanguage()];