From 5f4e4bde1257e98b54231407faa4e40a57d29645 Mon Sep 17 00:00:00 2001 From: Hardy Date: Sat, 28 Nov 2020 20:48:46 +0100 Subject: [PATCH] Allow for casual language suffix --- .../src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java index b0b0be8baf..36d6e453ce 100644 --- a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java +++ b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java @@ -96,7 +96,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat } } else { language = voiceProvider.replace(IndexConstants.VOICE_PROVIDER_SUFFIX, "") - .replace("-formal", ""); + .replace("-formal", "").replace("-casual", ""); } }