Added FeedRemover message to strings.xml. fixes #279

This commit is contained in:
daniel oeh 2013-09-20 22:16:58 +02:00
parent 9eaffe684d
commit e579618dae
2 changed files with 3 additions and 1 deletions

View File

@ -66,6 +66,7 @@
<string name="share_link_label">Share website link</string>
<string name="share_source_label">Share feed link</string>
<string name="feed_delete_confirmation_msg">Please confirm that you want to delete this feed and ALL episodes of this feed that you have downloaded.</string>
<string name="feed_remover_msg">Removing feed</string>
<!-- actions on feeditems -->
<string name="download_label">Download</string>

View File

@ -6,6 +6,7 @@ import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.os.AsyncTask;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.feed.Feed;
import de.danoeh.antennapod.storage.DBWriter;
@ -48,7 +49,7 @@ public class FeedRemover extends AsyncTask<Void, Void, Void> {
@Override
protected void onPreExecute() {
dialog = new ProgressDialog(context);
dialog.setMessage("Removing Feed");
dialog.setMessage(context.getString(R.string.feed_remover_msg));
dialog.setOnCancelListener(new OnCancelListener() {
@Override