commit
f69e77fe6e
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
Thx - Hardy
|
Thx - Hardy
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
<string name="tts_initialization_error">Cannot initialize TTS engine</string>
|
||||||
<string name="layer_osm_edits">OSM Edits</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_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>
|
<string name="quick_action_contour_lines_show">Show contour lines</string>
|
||||||
|
|
|
@ -199,6 +199,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
||||||
if (status != TextToSpeech.SUCCESS) {
|
if (status != TextToSpeech.SUCCESS) {
|
||||||
ttsVoiceStatus = "NO INIT SUCCESS";
|
ttsVoiceStatus = "NO INIT SUCCESS";
|
||||||
internalClear();
|
internalClear();
|
||||||
|
((OsmandApplication) ctx.getApplicationContext()).showToastMessage(ctx.getString(R.string.tts_initialization_error));
|
||||||
} else if (mTts != null) {
|
} else if (mTts != null) {
|
||||||
speechAllowed = true;
|
speechAllowed = true;
|
||||||
switch (mTts.isLanguageAvailable(newLocale)) {
|
switch (mTts.isLanguageAvailable(newLocale)) {
|
||||||
|
|
Loading…
Reference in a new issue