diff --git a/astrid/res/values/strings-core.xml b/astrid/res/values/strings-core.xml index 686fb287c..45b5bb8ed 100644 --- a/astrid/res/values/strings-core.xml +++ b/astrid/res/values/strings-core.xml @@ -979,13 +979,15 @@ Astrid is open-source and proudly maintained by Todoroo, Inc. Glad I\'m helpful! Got a moment to help us with a 5-star rating? - Rate Astrid? + Leave feedback? Sorry to hear that we\'re having issues Oops! We weren\'t able to launch the market feedback section--it might not be available on your device. - Rate Astrid + Rate Astrid + + Leave feedback Not now diff --git a/astrid/src/com/todoroo/astrid/ui/FeedbackPromptDialogs.java b/astrid/src/com/todoroo/astrid/ui/FeedbackPromptDialogs.java index b5b6a3420..b1b3c1a16 100644 --- a/astrid/src/com/todoroo/astrid/ui/FeedbackPromptDialogs.java +++ b/astrid/src/com/todoroo/astrid/ui/FeedbackPromptDialogs.java @@ -10,21 +10,25 @@ import com.todoroo.astrid.activity.AstridActivity; public class FeedbackPromptDialogs { + @SuppressWarnings("nls") public static void showFeedbackDialog(final AstridActivity activity, boolean positive) { final AstridDialog d = new AstridDialog(activity, false); int titleRes = positive ? R.string.feedback_positive_title : R.string.feedback_negative_title; int bodyRes = positive ? R.string.feedback_positive_body : R.string.feedback_negative_body; + int buttonRes = positive ? R.string.feedback_positive_button : R.string.feedback_negative_button; + + final String url = positive ? "https://play.google.com/store/apps/details?id=com.timsu.astrid&write_review=true" : "http://weloveastrid.com/problem_astrid_android.html"; d.setAstridTitle(titleRes) .setAstridText(bodyRes) - .setButtonText(R.string.feedback_button, 0) + .setButtonText(buttonRes, 0) .setButtonText(R.string.feedback_not_now, 1) .setButtonListeners(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(Intent.ACTION_VIEW, - Uri.parse("https://play.google.com/store/apps/details?id=com.timsu.astrid&write_review=true")); //$NON-NLS-1$ + Uri.parse(url)); try { activity.startActivity(intent); } catch (Exception e) {