also replace ':' before prnouncing prompts
This commit is contained in:
parent
2f2fac6cff
commit
e9ca208984
1 changed files with 6 additions and 1 deletions
|
@ -424,7 +424,12 @@ public class VoiceRouter {
|
|||
} else if(!Algorithms.isEmpty(i.getStreetName())) {
|
||||
res = i.getStreetName();
|
||||
}
|
||||
return res.replace('-', ' ');
|
||||
// replace characters which may produce unwanted tts sounds:
|
||||
if(res != null) {
|
||||
res = res.replace('-', ' ');
|
||||
res = res.replace(':', ' ');
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
private void playPrepareTurn(RouteDirectionInfo next, int dist) {
|
||||
|
|
Loading…
Reference in a new issue