mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-17 21:47:28 +00:00
Externalize strings
This commit is contained in:
parent
261d187567
commit
37092eee01
@ -1312,8 +1312,9 @@
|
||||
<string name="ConversationListFragment_loading">Loading...</string>
|
||||
<string name="CallNotificationBuilder_connecting">Connecting...</string>
|
||||
<string name="Permissions_permission_required">Permission required</string>
|
||||
<string name="Permissions_continue">Continue</string>
|
||||
<string name="ConversationActivity_signal_needs_sms_permission_in_order_to_send_an_sms">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\".</string>
|
||||
<string name="Permissions_continue">Continue</string>
|
||||
<string name="Permissions_not_now">Not now</string>
|
||||
|
||||
|
||||
<!-- EOF -->
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user