mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
updating invite copy
This commit is contained in:
parent
14538a71d0
commit
85f8f217b5
2 changed files with 5 additions and 4 deletions
|
@ -42,8 +42,8 @@ fun Context.displayInWebView(url: String) {
|
||||||
|
|
||||||
fun Context.showIdentityServerConsentDialog(configuredIdentityServer: String?, policyLinkCallback: () -> Unit, consentCallBack: (() -> Unit)) {
|
fun Context.showIdentityServerConsentDialog(configuredIdentityServer: String?, policyLinkCallback: () -> Unit, consentCallBack: (() -> Unit)) {
|
||||||
MaterialAlertDialogBuilder(this)
|
MaterialAlertDialogBuilder(this)
|
||||||
.setTitle(R.string.identity_server_consent_dialog_title)
|
.setTitle(getString(R.string.identity_server_consent_dialog_title_2, configuredIdentityServer ?: ""))
|
||||||
.setMessage(getString(R.string.identity_server_consent_dialog_content_2, configuredIdentityServer ?: ""))
|
.setMessage(R.string.identity_server_consent_dialog_content_2)
|
||||||
.setPositiveButton(R.string.yes) { _, _ ->
|
.setPositiveButton(R.string.yes) { _, _ ->
|
||||||
consentCallBack.invoke()
|
consentCallBack.invoke()
|
||||||
}
|
}
|
||||||
|
|
|
@ -2363,13 +2363,14 @@
|
||||||
<string name="settings_discovery_consent_title">Send emails and phone numbers</string>
|
<string name="settings_discovery_consent_title">Send emails and phone numbers</string>
|
||||||
<string name="settings_discovery_consent_notice_on">You have given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.</string>
|
<string name="settings_discovery_consent_notice_on">You have given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.</string>
|
||||||
<string name="settings_discovery_consent_notice_off">You have not given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.</string>
|
<string name="settings_discovery_consent_notice_off">You have not given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.</string>
|
||||||
<string name="settings_discovery_consent_notice_off_2">Your contacts are private. You\'ll need to share your contact info to find people you know.</string>
|
<string name="settings_discovery_consent_notice_off_2">Your contacts are private. To discover users from your contacts, we need your permission to send contact info to your identity server.</string>
|
||||||
<string name="settings_discovery_consent_action_revoke">Revoke my consent</string>
|
<string name="settings_discovery_consent_action_revoke">Revoke my consent</string>
|
||||||
<string name="settings_discovery_consent_action_give_consent">Give consent</string>
|
<string name="settings_discovery_consent_action_give_consent">Give consent</string>
|
||||||
|
|
||||||
<string name="identity_server_consent_dialog_title">Send emails and phone numbers</string>
|
<string name="identity_server_consent_dialog_title">Send emails and phone numbers</string>
|
||||||
|
<string name="identity_server_consent_dialog_title_2">Send emails and phone numbers to %s</string>
|
||||||
<string name="identity_server_consent_dialog_content">In order to discover existing contacts you know, do you accept to send your contact data (phone numbers and/or emails) to the configured identity server (%1$s)?\n\nFor more privacy, the sent data will be hashed before being sent.</string>
|
<string name="identity_server_consent_dialog_content">In order to discover existing contacts you know, do you accept to send your contact data (phone numbers and/or emails) to the configured identity server (%1$s)?\n\nFor more privacy, the sent data will be hashed before being sent.</string>
|
||||||
<string name="identity_server_consent_dialog_content_2">Your contacts can\'t find you, and you can\'t find them. In order to see each other you must share your contact info with your identity server (%s).\n\nYour data will be sent securely.</string>
|
<string name="identity_server_consent_dialog_content_2">To discover existing contacts, you need to send contact info to your identity server.\n\nWe hash your data before sending for privacy. Do you consent to send this info?</string>
|
||||||
<string name="identity_server_consent_dialog_neutral_policy">Policy</string>
|
<string name="identity_server_consent_dialog_neutral_policy">Policy</string>
|
||||||
|
|
||||||
<string name="settings_discovery_enter_identity_server">Enter an identity server URL</string>
|
<string name="settings_discovery_enter_identity_server">Enter an identity server URL</string>
|
||||||
|
|
Loading…
Reference in a new issue