Merge branch 'r3.5'

This commit is contained in:
Nazar 2019-11-13 10:00:09 +02:00
commit 99c6910098
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@
Thx - Hardy
-->
<string name="clear_confirmation_msg">Clear %1$s?</string>
<string name="shared_string_revert">Revert</string>
<string name="track_saved">Track saved</string>
<string name="empty_filename">File name is empty</string>

View file

@ -234,7 +234,7 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment implement
String fn = FileNameTranslationHelper.getFileName(getActivity(),
getMyApplication().getResourceManager().getOsmandRegions(),
info.getFileName());
confirm.setMessage(getString(R.string.delete_confirmation_msg, fn));
confirm.setMessage(getString(R.string.clear_confirmation_msg, fn));
confirm.show();
} else if (resId == R.string.local_index_mi_restore) {
new LocalIndexOperationTask(getDownloadActivity(), listAdapter, LocalIndexOperationTask.RESTORE_OPERATION).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, info);