From 3f6ec04d7ab4bcbc3dc285472cf1bece2fd95a71 Mon Sep 17 00:00:00 2001 From: Hardy Date: Sat, 28 Nov 2020 20:40:47 +0100 Subject: [PATCH 1/2] missing string from https://github.com/osmandapp/OsmAnd/commit/fcc6450e8090cc124d66fe451e3fc65db38112a0#diff-0fdc438434df96f219514a0078b6d16ee6359083df99326aa3c8cef671cb1ea2 --- OsmAnd/res/values/strings.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 9da2ac6d86..2a704b8798 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -2468,6 +2468,7 @@ French Georgian German + German (casual) Greek Hebrew Hebrew From 5f4e4bde1257e98b54231407faa4e40a57d29645 Mon Sep 17 00:00:00 2001 From: Hardy Date: Sat, 28 Nov 2020 20:48:46 +0100 Subject: [PATCH 2/2] 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", ""); } }