diff --git a/res/values/strings.xml b/res/values/strings.xml index ce07ffb9b4..dff577723f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1312,8 +1312,9 @@ Loading... Connecting... Permission required - Continue Signal needs SMS permission in order to send an SMS, but it has been permanently denied. Please continue to app settings, select \"Permissions\" and enable \"SMS\". + Continue + Not now diff --git a/src/org/thoughtcrime/securesms/permissions/Permissions.java b/src/org/thoughtcrime/securesms/permissions/Permissions.java index 3876150776..8a741fadfc 100644 --- a/src/org/thoughtcrime/securesms/permissions/Permissions.java +++ b/src/org/thoughtcrime/securesms/permissions/Permissions.java @@ -155,8 +155,8 @@ public class Permissions { @SuppressWarnings("ConstantConditions") private void executePermissionsRequestWithRationale(PermissionsRequest request) { RationaleDialog.createFor(permissionObject.getContext(), rationaleDialogMessage, rationalDialogHeader) - .setPositiveButton("Continue", (dialog, which) -> executePermissionsRequest(request)) - .setNegativeButton("Not now", null) + .setPositiveButton(R.string.Permissions_continue, (dialog, which) -> executePermissionsRequest(request)) + .setNegativeButton(R.string.Permissions_not_now, null) .show() .getWindow() .setLayout((int)(permissionObject.getWindowWidth() * .75), ViewGroup.LayoutParams.WRAP_CONTENT);