From 71cccf45a516a0d8cea4aa2cfe4e1af91a2e8f98 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 18 Feb 2015 18:19:06 +0200 Subject: [PATCH] Removed TTS and Voice Promts from voice files name --- .../src/net/osmand/plus/download/DownloadActivityType.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java b/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java index f345c8b4c6..d557bb0b46 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java @@ -213,11 +213,9 @@ public class DownloadActivityType { if (this == VOICE_FILE) { if (fileName.endsWith(IndexConstants.VOICE_INDEX_EXT_ZIP)) { - return ctx.getString(R.string.voice) + "\n" + - FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem)); + return FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem)); } else if (fileName.endsWith(IndexConstants.TTSVOICE_INDEX_EXT_ZIP)) { - return ctx.getString(R.string.ttsvoice) + "\n" + - FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem)); + return FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem)); } return getBasename(indexItem); }