From 0c9f9b977ce23710b66bcdd2dae9572d8d33e9c8 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 2 Aug 2015 09:12:03 +0200 Subject: [PATCH] correct fix for semicolon ponunciation --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index 79fe9e3101..0bb8a56a7a 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -584,7 +584,7 @@ public class VoiceRouter { if(pn != null) { pn = pn.replace('-', ' '); pn = pn.replace(':', ' '); - pn = pn.replace(';', ','); //some tts engines actually annoyingly pronounce this as "semicolon" + pn = pn.replace(';', '; '); // Trailing blank prevents punctuation beng prnoinced if ((player != null) && (!"de".equals(player.getLanguage()))) { pn = pn.replace("\u00df", "ss"); // Helps non-German tts voices to pronounce German Strasse (=street) }