Plugin Directory

Changeset 2050135


Ignore:
Timestamp:
03/14/2019 02:46:13 AM (7 years ago)
Author:
ken107
Message:

use friendly voice names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sitespeaker-widget/trunk/main.js

    r2048540 r2050135  
    6464    voices.forEach(function(voice) {
    6565      $("<option>").val(voice.name)
    66         .text(voice.name + " (" + voice.gender[0].toLowerCase() + ")")
     66        .text((voice.desc||voice.name) + " (" + voice.gender[0].toLowerCase() + ")")
    6767        .appendTo("#sitespeaker_voice");
    6868    })
Note: See TracChangeset for help on using the changeset viewer.