Skip to content

ADFA-5306 fix(strings): standardize the analytics opt-in copy with Code on the Go - #486

Merged
luisguzman-adfa merged 1 commit into
mainfrom
fix/ADFA-5306-analytics-optin-copy
Aug 27, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
fix/ADFA-5306-analytics-optin-copy

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Standardizes the analytics opt-in copy so it parallels Code on the Go's, per
ADFA-5306. Same company, so the two apps should read the same. Modeled on CoGo's
actual dialog (privacy_disclosure_* strings + layout_dialog_privacy_consent.xml
in the codeonthego repo).

What changes (strings only):

  • Enrollment dialog (analytics_enroll_*): title -> "Privacy & analytics";
    buttons -> "Share anonymous data" / "Keep offline"; body reworded.
  • Settings toggle (settings_analytics_title/desc): aligned to the same wording.

The copy lived in res/values/strings.xml, not strings_k2go.xml — hence it was
hard to find.

Two deliberate differences from CoGo, kept for K2Go's architecture:

  • No "crash" wording: crash reporting is a separate consent (CrashReportConsent),
    so the analytics dialog shouldn't claim to cover it.
  • Added clause that nothing about the people who use your shared content is
    tracked, since K2Go serves content to others and CoGo does not.

No code/layout change: the existing MaterialAlertDialog (WizardActivity +
SetupSectionFragment) is reused as-is; only strings.xml changed.

l10n: default + 33 locales. Locale strings are machine-translated, pending native
review for bn/gu/ta/sw/az/yo/sr.

Verification: XML valid across all 34 files; the %1$s app-name arg is preserved.

…de on the Go

Match CoGo's privacy_disclosure_* design: title 'Privacy & analytics', buttons 'Share anonymous data' / 'Keep offline', reworded body; align the Settings toggle wording. Two deliberate K2Go differences: no 'crash' mention (separate consent) and a shared-content clause. Strings-only (default + 33 locales); dialog code unchanged.
@luisguzman-adfa
luisguzman-adfa merged commit 25c0df0 into main Aug 27, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/ADFA-5306-analytics-optin-copy branch August 27, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant