mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 22:42:27 -05:00
Merge pull request #2059 from ericrosenbaum/feature/add-tts-hindi
Add Hindi language to Text to Speech
This commit is contained in:
commit
e236d29ff5
1 changed files with 7 additions and 0 deletions
|
@ -84,6 +84,7 @@ const DUTCH_ID = 'nl';
|
||||||
const ENGLISH_ID = 'en';
|
const ENGLISH_ID = 'en';
|
||||||
const FRENCH_ID = 'fr';
|
const FRENCH_ID = 'fr';
|
||||||
const GERMAN_ID = 'de';
|
const GERMAN_ID = 'de';
|
||||||
|
const HINDI_ID = 'hi';
|
||||||
const ICELANDIC_ID = 'is';
|
const ICELANDIC_ID = 'is';
|
||||||
const ITALIAN_ID = 'it';
|
const ITALIAN_ID = 'it';
|
||||||
const JAPANESE_ID = 'ja';
|
const JAPANESE_ID = 'ja';
|
||||||
|
@ -241,6 +242,12 @@ class Scratch3Text2SpeechBlocks {
|
||||||
locales: ['de'],
|
locales: ['de'],
|
||||||
speechSynthLocale: 'de-DE'
|
speechSynthLocale: 'de-DE'
|
||||||
},
|
},
|
||||||
|
[HINDI_ID]: {
|
||||||
|
name: 'Hindi',
|
||||||
|
locales: ['hi'],
|
||||||
|
speechSynthLocale: 'hi-IN',
|
||||||
|
singleGender: true
|
||||||
|
},
|
||||||
[ICELANDIC_ID]: {
|
[ICELANDIC_ID]: {
|
||||||
name: 'Icelandic',
|
name: 'Icelandic',
|
||||||
locales: ['is'],
|
locales: ['is'],
|
||||||
|
|
Loading…
Reference in a new issue