Small typo in langugae addition commit

This commit is contained in:
sonora 2013-08-28 11:09:12 +02:00
parent b24dd5541a
commit bb9d8c912f
2 changed files with 4 additions and 4 deletions

View file

@ -438,7 +438,9 @@ public class VoiceRouter {
if(pn != null) {
pn = pn.replace('-', ' ');
pn = pn.replace(':', ' ');
pn = pn.replace("\u00df", "ss"); // helps non-German tts voices to pronounce German Strasse (=street)
if (AbstractPrologCommandPlayer.getLanguage != "de"){
pn = pn.replace("\u00df", "ss"); // helps non-German tts voices to pronounce German Strasse (=street)
}
}
return pn;
}

View file

@ -51,10 +51,8 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer {
/** Must be sorted array! */
private final int[] sortedVoiceVersions;
private AudioFocusHelper mAudioFocusHelper;
protected String language = "";
protected String language = "";
protected int streamType;
T
protected AbstractPrologCommandPlayer(ClientContext ctx, String voiceProvider, String configFile, int[] sortedVoiceVersions)
throws CommandPlayerException
{