mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Remove mock data
This commit is contained in:
parent
7011084517
commit
b540b2107a
1 changed files with 0 additions and 29 deletions
|
@ -598,35 +598,6 @@ class Scratch3Text2SpeechBlocks {
|
||||||
* @return {array} the text and value for each menu item.
|
* @return {array} the text and value for each menu item.
|
||||||
*/
|
*/
|
||||||
getLanguageMenu () {
|
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
|
// Get the array of localized language names
|
||||||
const localizedNameMap = {};
|
const localizedNameMap = {};
|
||||||
let nameArray = languageNames.menuMap[this.getEditorLanguage()];
|
let nameArray = languageNames.menuMap[this.getEditorLanguage()];
|
||||||
|
|
Loading…
Reference in a new issue