Allow for casual language suffix

This commit is contained in:
Hardy 2020-11-28 20:48:46 +01:00 committed by GitHub
parent 3f6ec04d7a
commit 5f4e4bde12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat
} }
} else { } else {
language = voiceProvider.replace(IndexConstants.VOICE_PROVIDER_SUFFIX, "") language = voiceProvider.replace(IndexConstants.VOICE_PROVIDER_SUFFIX, "")
.replace("-formal", ""); .replace("-formal", "").replace("-casual", "");
} }
} }