From 951ddcaa4c654402fa36ad55fc0e8a0d35b00e09 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 29 May 2014 12:41:28 +0200 Subject: [PATCH] quick functionality test --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index b4ae85b932..6c1dad0352 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -480,15 +480,15 @@ public class VoiceRouter { } public String getSpeakablePointName(String pn) { - // replace characters which may produce unwanted tts sounds: + // Replace characters which may produce unwanted tts sounds: if(pn != null) { pn = pn.replace('-', ' '); pn = pn.replace(':', ' '); if ((player != null) && (!"de".equals(player.getLanguage()))){ - pn = pn.replace("\u00df", "ss"); // helps non-German tts voices to pronounce German Strasse (=street) + pn = pn.replace("\u00df", "ss"); // Helps non-German tts voices to pronounce German Strasse (=street) } if ((player != null) && ("en".equals(player.getLanguage()))){ - pn = pn.replace("SR", "S R"); // Avoid SR (as for State Route or Strada Regionale) be pronounced as "Senior" in English tts voice + pn = pn.replace("SR", "1 2"); // Avoid SR (as for State Route or Strada Regionale) be pronounced as "Senior" in English tts voice } } return pn;