diff --git a/app/src/main/java/io/lbry/browser/ui/channel/ChannelCommentsFragment.java b/app/src/main/java/io/lbry/browser/ui/channel/ChannelCommentsFragment.java index 2597b183..b41d5f6a 100644 --- a/app/src/main/java/io/lbry/browser/ui/channel/ChannelCommentsFragment.java +++ b/app/src/main/java/io/lbry/browser/ui/channel/ChannelCommentsFragment.java @@ -435,13 +435,17 @@ public class ChannelCommentsFragment extends Fragment implements SdkStatusListen Context context = getContext(); if (context != null) { + String titleText = getResources().getQuantityString( + R.plurals.post_and_tip, + amount == 1 ? 1 : 2, + Helper.LBC_CURRENCY_FORMAT.format(amount)); String confirmText = getResources().getQuantityString( R.plurals.confirm_post_comment, amount == 1 ? 1 : 2, Helper.LBC_CURRENCY_FORMAT.format(amount), claim.getTitleOrName()); AlertDialog.Builder builder = new AlertDialog.Builder(context). - setTitle(R.string.post_comment). + setTitle(titleText). setMessage(confirmText) .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() { @Override diff --git a/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java b/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java index 695fac83..249f8b2c 100644 --- a/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java +++ b/app/src/main/java/io/lbry/browser/ui/findcontent/FileViewFragment.java @@ -2815,13 +2815,17 @@ public class FileViewFragment extends BaseFragment implements Context context = getContext(); if (context != null) { + String titleText = getResources().getQuantityString( + R.plurals.post_and_tip, + amount == 1 ? 1 : 2, + Helper.LBC_CURRENCY_FORMAT.format(amount)); String confirmText = getResources().getQuantityString( R.plurals.confirm_post_comment, amount == 1 ? 1 : 2, Helper.LBC_CURRENCY_FORMAT.format(amount), claim.getTitleOrName()); AlertDialog.Builder builder = new AlertDialog.Builder(context). - setTitle(R.string.post_comment). + setTitle(titleText). setMessage(confirmText) .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() { @Override diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6511c217..09983f89 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -85,11 +85,14 @@ Comment as Please enter a comment to post. Please select a channel to post your comment as. - Post comment with tip? Your comment was successfully posted. Please select a channel to repost on. Reply Replying to %1$s + + Post and tip %1$s credit? + Post and tip %1$s credits? + Post for %1$s credit Post for %1$s credits