mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
improve variable name
This commit is contained in:
parent
423622daaa
commit
9455112d74
1 changed files with 2 additions and 2 deletions
|
@ -541,8 +541,8 @@ class Scratch3Text2SpeechBlocks {
|
||||||
* @returns {Array} An array of locale strings.
|
* @returns {Array} An array of locale strings.
|
||||||
*/
|
*/
|
||||||
_getSupportedLocales () {
|
_getSupportedLocales () {
|
||||||
return Object.keys(this.LANGUAGE_INFO).reduce((acc, cur) =>
|
return Object.keys(this.LANGUAGE_INFO).reduce((acc, lang) =>
|
||||||
acc.concat(this.LANGUAGE_INFO[cur].locales), []);
|
acc.concat(this.LANGUAGE_INFO[lang].locales), []);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue