Removed TTS and Voice Promts from voice files name
This commit is contained in:
parent
55177fc6f1
commit
71cccf45a5
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue