Formatting fixes
This commit is contained in:
parent
0c6dcab25e
commit
6d50e400c7
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ import android.support.v7.app.AlertDialog;
|
|||
import net.osmand.IProgress;
|
||||
import net.osmand.IndexConstants;
|
||||
import net.osmand.PlatformUtil;
|
||||
import net.osmand.StateChangedListener;
|
||||
import net.osmand.aidl.OsmandAidlApi;
|
||||
import net.osmand.map.OsmandRegions;
|
||||
import net.osmand.map.OsmandRegions.RegionTranslation;
|
||||
|
|
|
@ -80,7 +80,7 @@ public class FileNameTranslationHelper {
|
|||
|
||||
public static String getVoiceName(Context ctx, String fileName) {
|
||||
try {
|
||||
String nm = fileName.replace('-', '_').replace(' ', '_');
|
||||
String nm = fileName.replace('-', '_').replace(' ', '_');
|
||||
if (nm.endsWith("_tts") || nm.endsWith("-tts")) {
|
||||
nm = nm.substring(0, nm.length() - 4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue