Skip to content

Portuguese (pt-BR) with a language picker, and Tatá's fairy Easter egg - #33

Merged
gabrielbr merged 3 commits into
mainfrom
ccr-67ccb970-dqwwqd
Oct 22, 2026
Merged

gabrielbr merged 3 commits into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

Language

  • Settings → Language offers System default, English and Português (Brasil). Choosing one recreates the Activity.
  • ui/i18n/L10n.kt: tr(en) looks the English text up in assets/i18n/pt-BR.json (1,023 strings) and falls back to English. It also sets the default Locale for dates and numbers, and attachBaseContext wraps the Activity so Android resources follow.
  • About 1,250 UI literals were wrapped by script. Labels that are also compared (threshold zones) are translated at the display site instead.
  • values-pt has the widget strings.
  • The coach replies in pt-BR while the app is in Portuguese.
  • Known gaps: template strings ("Day $n") and service-layer text stay English.
  • PortugueseCatalogTest checks for blank entries and broken spacing or format specifiers. The rules are in AGENTS.md.

Easter egg

  • When the profile name is Tatá, Tata or Thaissa, a one-time fairy transformation plays: glow, a wand trail of stars, a burst of hearts and stars, and "Tatá, te amo!".
  • The theme then turns pink, with smooth washes instead of the bitmap dither.
  • FairyMode is snapshot state; the brand colours in PulseColors are getters. FairyModeTest covers the name matching.

Generated by Claude Code

When the profile name is Tatá, Tata or Thaissa (any case, accents or
surname), the app plays a one-time transformation: a rose glow, a wand's
trail of stars, a burst of hearts and stars, and the app turning pink
underneath. From then on the brand colours are pink with plum ink, and the
bitmap dither is replaced by smooth washes. Another name turns it off.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
…atalog to follow)

Also: the fairy overlay now reads "Tatá, te amo!", and a JVM signature
clash in FairyMode that broke the build is fixed.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
The meal-analysis prompt and its schema stay English: they go to the
model, not the screen.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit d1f7a46 into main Oct 22, 2026
2 checks passed
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.

2 participants