Update index.html

This commit is contained in:
zyphlar 2022-11-30 20:44:21 -08:00 committed by GitHub
parent af32608c04
commit 97e5b64a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"; var sourceUrl = "https://raw.githubusercontent.com/organicmaps/organicmaps/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json";
var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json" var fancyUrl = "https://github.com/organicmaps/organicmaps/blob/7551fa46c89f85d551015fccb7e0e13dfebd13de/data/sound-strings/"+$("#localeSelect").val()+".json/localize.json"
$("#sourceUrl").attr("href", fancyUrl); $("#sourceUrl").attr("href", fancyUrl).text($("#localeSelect").val()+".json");
$.getJSON(sourceUrl, function(data){ $.getJSON(sourceUrl, function(data){
@ -193,7 +193,9 @@
</select><br/><br/> </select><br/><br/>
TTS Voice: <select id="voiceSelect"></select><br/><br/> TTS Voice: <select id="voiceSelect"></select><br/><br/>
<button type="button" id='myvoice'>Highlight text and click to play</button><br/><br/> <button type="button" id='myvoice'>Highlight text and click to play</button><br/><br/>
<a id="sourceUrl" href="#" target="_blank">View Source File</a> <a id="sourceUrl" href="#" target="_blank">json</a>
<a href="https://github.com/organicmaps/organicmaps/blob/b2011c6d72009b47c374291a977463443b4df885/data/strings/sound.txt" target="_blank">sound.txt</a>
<em>Please propose any fixes by editing sound.txt <br/>or by adding a comment to the <a href="https://github.com/organicmaps/organicmaps/pull/3130">pull request</a></em>
</div> </div>
<textarea style="width: 80%; height: 27em" id="out-a"></textarea> <textarea style="width: 80%; height: 27em" id="out-a"></textarea>
<textarea style="width: 80%; height: 27em" id="out-b"></textarea> <textarea style="width: 80%; height: 27em" id="out-b"></textarea>