This commit is contained in:
Chumva 2019-10-31 15:03:08 +02:00
parent d1d785e336
commit ebf0548e91
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@
Thx - Hardy
-->
<string name="tts_initialization_error">Cannot initialize TTS engine</string>
<string name="layer_osm_edits">OSM Edits</string>
<string name="quick_action_contour_lines_descr">Tapping this action button shows or hides contour lines on the map</string>
<string name="quick_action_contour_lines_show">Show contour lines</string>

View file

@ -199,6 +199,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
if (status != TextToSpeech.SUCCESS) {
ttsVoiceStatus = "NO INIT SUCCESS";
internalClear();
((OsmandApplication) ctx.getApplicationContext()).showToastMessage(ctx.getString(R.string.tts_initialization_error));
} else if (mTts != null) {
speechAllowed = true;
switch (mTts.isLanguageAvailable(newLocale)) {