mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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.
|
||||
*/
|
||||
_getSupportedLocales () {
|
||||
return Object.keys(this.LANGUAGE_INFO).reduce((acc, cur) =>
|
||||
acc.concat(this.LANGUAGE_INFO[cur].locales), []);
|
||||
return Object.keys(this.LANGUAGE_INFO).reduce((acc, lang) =>
|
||||
acc.concat(this.LANGUAGE_INFO[lang].locales), []);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue