From a35e49ca71d9b41c9a4f3932b9c588f7ca472702 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 8 Nov 2020 10:20:27 +0100 Subject: [PATCH] fix small typos --- OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java | 2 +- OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java index a9a0ba563e..f9fb061b10 100644 --- a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java +++ b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java @@ -164,7 +164,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity { addButton(ll, "\u25BA (1.2) New route calculated, 1350m, 3680sec (01:01:20)", builder(p).newRouteCalculated(1350, 3680)); addButton(ll, "\u25BA (1.3) New route calculated 3700m, 7320sec (02:02)", builder(p).newRouteCalculated(3700, 7320)); addButton(ll, "\u25BA (1.4) New route calculated 9100m, 10980sec (03:03)", builder(p).newRouteCalculated(9100, 10980)); - addButton(ll, "\u25BA (1.5) New route calculated, 1500m, 4280sec (01:20:20)", builder(p).newRouteCalculated(1500, 4820)); + addButton(ll, "\u25BA (1.5) New route calculated, 1500m, 4820sec (01:20:20)", builder(p).newRouteCalculated(1500, 4820)); addButton(ll, "\u25BA (2.1) Route recalculated 11500m, 18600sec (05:10)", builder(p).routeRecalculated(11500, 18600)); addButton(ll, "\u25BA (2.2) Route recalculated 19633m, 26700sec (07:25)", builder(p).routeRecalculated(19633, 26700) ); addButton(ll, "\u25BA (2.3) Route recalculated 89750m, 55800sec (15:30)", builder(p).routeRecalculated(89750, 55800) ); diff --git a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java index b6e2cd103f..cc615af990 100644 --- a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java @@ -204,7 +204,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer { lregion = lsplit[i]; } } - // Locale constructor supports 'language, region, variant'. + // Locale constructor supports 'language, region, variant' //Locale newLocale0 = new Locale(lsplit[0], lregion, lvariant); (Setting variant here seems to cause errors on some systems) Locale newLocale0 = new Locale(lsplit[0], lregion); // #3344: Try Locale builder instead (only available from API 21), also supports script (we support as 4 letters)