Merge pull request #1078 from Bars107/master
Removed TTS and Voice Promts from voice files name
This commit is contained in:
commit
d6f491e09a
1 changed files with 2 additions and 4 deletions
|
@ -213,11 +213,9 @@ public class DownloadActivityType {
|
||||||
|
|
||||||
if (this == VOICE_FILE) {
|
if (this == VOICE_FILE) {
|
||||||
if (fileName.endsWith(IndexConstants.VOICE_INDEX_EXT_ZIP)) {
|
if (fileName.endsWith(IndexConstants.VOICE_INDEX_EXT_ZIP)) {
|
||||||
return ctx.getString(R.string.voice) + "\n" +
|
return FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem));
|
||||||
FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem));
|
|
||||||
} else if (fileName.endsWith(IndexConstants.TTSVOICE_INDEX_EXT_ZIP)) {
|
} else if (fileName.endsWith(IndexConstants.TTSVOICE_INDEX_EXT_ZIP)) {
|
||||||
return ctx.getString(R.string.ttsvoice) + "\n" +
|
return FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem));
|
||||||
FileNameTranslationHelper.getVoiceName(ctx, getBasename(indexItem));
|
|
||||||
}
|
}
|
||||||
return getBasename(indexItem);
|
return getBasename(indexItem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue