diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt index 8ba8f10688..a1a3dc2532 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt @@ -1439,16 +1439,16 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe val hasSeenGIFMetaDataWarning: Boolean = textSecurePreferences.hasSeenGIFMetaDataWarning() if (!hasSeenGIFMetaDataWarning) { val builder = AlertDialog.Builder(this) - builder.setTitle("Search GIFs?") - builder.setMessage("You will not have full metadata protection when sending GIFs.") - builder.setPositiveButton("OK") { dialog: DialogInterface, _: Int -> + builder.setTitle(R.string.giphy_permission_title) + builder.setMessage(R.string.giphy_permission_message) + builder.setPositiveButton(R.string.continue_2) { dialog: DialogInterface, _: Int -> textSecurePreferences.setHasSeenGIFMetaDataWarning() AttachmentManager.selectGif(this, PICK_GIF) dialog.dismiss() } - builder.setNegativeButton( - "Cancel" - ) { dialog: DialogInterface, _: Int -> dialog.dismiss() } + builder.setNegativeButton(R.string.cancel) { dialog: DialogInterface, _: Int -> + dialog.dismiss() + } builder.create().show() } else { AttachmentManager.selectGif(this, PICK_GIF) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7c39714c09..ebacb766d1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -871,4 +871,6 @@ Read Sent Failed to send + Search GIFs? + Session will connect to Giphy to provide search results. You will not have full metadata protection when sending GIFs.