From 6957535a0bd77dba1b50720f5cb2eec8fa894a2d Mon Sep 17 00:00:00 2001 From: Konrad Kollnig <5175206+kasnder@users.noreply.github.com> Date: Wed, 20 Jul 2022 18:03:22 -0700 Subject: [PATCH] Fix strings --- .../src/main/java/net/kollnig/consent/ConsentManager.java | 2 +- library/src/main/res/values/strings.xml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/library/src/main/java/net/kollnig/consent/ConsentManager.java b/library/src/main/java/net/kollnig/consent/ConsentManager.java index 858e9b5..1a09fd9 100644 --- a/library/src/main/java/net/kollnig/consent/ConsentManager.java +++ b/library/src/main/java/net/kollnig/consent/ConsentManager.java @@ -196,7 +196,7 @@ public void askConsent() { if (isChecked) selectedItems.add(ids.get(i)); else selectedItems.remove(ids.get(i)); }) - .setNeutralButton("Privacy Policy", null) + .setNeutralButton(R.string.privacy_policy, null) .setCancelable(false) .create(); diff --git a/library/src/main/res/values/strings.xml b/library/src/main/res/values/strings.xml index a4cca90..2414aed 100644 --- a/library/src/main/res/values/strings.xml +++ b/library/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - Allow data collection, and reading and storing data on your phone? + Accept data collection, and reading and storing data on your phone? This app would like to use Google Firebase Analytics to understand your interactions with the app.\n\nThis involves using cookies and similar technologies and sharing your personal data with Google. This app would like to use the Facebook SDK to understand your interactions with the app.\n\nThis involves using cookies and similar technologies and sharing your personal data with Facebook/Meta. @@ -22,6 +22,7 @@ Accept Refuse - Accept All - Accept Selection + All + Selected + Privacy Policy