Page MenuHomePhabricator

Show name of default voice in menu
Closed, ResolvedPublic

Description

When selecting the voice in settings, show the voice name e.g. in parenthesis.

Event Timeline

This turned out to be less straightforward than I initially thought since the default is retrieved by UtteranceStore.

We have discussed that UtteranceStore is not the correct class for getDefaultVoice, but currently there is no natural home for this function.

As a pre-step to the default name patch. Move that function to a new Utilesque class.

Change 630168 had a related patch set uploaded (by Sebastian Berlin (WMSE); owner: Sebastian Berlin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Show name of default voice in preferences

https://gerrit.wikimedia.org/r/630168

Change 630168 merged by Karl Wettin (WMSE):
[mediawiki/extensions/Wikispeech@master] Show name of default voice in preferences

https://gerrit.wikimedia.org/r/630168