Small typo in langugae addition commit
This commit is contained in:
parent
b24dd5541a
commit
bb9d8c912f
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue