Skip to content

fix(strings): EN/AR parity for default_notification_channel_id (E01.S06)#5

Open
abdout wants to merge 1 commit into
mainfrom
feat/E01-S06-strings-xml-parity
Open

fix(strings): EN/AR parity for default_notification_channel_id (E01.S06)#5
abdout wants to merge 1 commit into
mainfrom
feat/E01-S06-strings-xml-parity

Conversation

@abdout
Copy link
Copy Markdown
Contributor

@abdout abdout commented May 25, 2026

Summary

  • Adds the missing default_notification_channel_id entry to values-ar/strings.xml so :app:checkStringParity is green
  • The key is a programmatic NotificationChannel ID — same literal default value in both locales
  • XML comments in both files document intent so future translators don't try to localise it

Story

E01.S06 (Phase 1 Pilot v1, Sprint P1, 1 pt) — first pilot story shipped.

Test plan

  • Manual diff: grep -oE 'name=\"[^\"]+\"' values/strings.xml | sort and same for values-ar/strings.xml are now identical
  • ./gradlew :app:checkStringParity passes on CI (relevant pre-merge gate)

Closes #4

Generated with Claude Code

`:app:checkStringParity` was failing because the EN strings.xml carried
the `default_notification_channel_id = "default"` channel ID with no
matching AR entry (47 EN vs 46 AR).

The key is a programmatic NotificationChannel identifier, not a
user-facing string, so both locales must hold the literal value
`default`. Adds the AR entry and an XML comment in both files
documenting that this is a channel ID and must not be translated.

Verification: `diff <(grep -oE 'name="[^"]+"' values/strings.xml | sort)
<(grep -oE 'name="[^"]+"' values-ar/strings.xml | sort)` returns empty.

Closes #4

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

fix(strings): reconcile EN/AR parity for default_notification_channel_id (E01.S06)

1 participant