Repository navigation
Portuguese everywhere, F*cking Health voice, postpartum research - #34
Merged
Merged
Conversation
…n text
Template strings become trf("… {0} …", values) so a translation can move
the value; plain literals in services, notifications and widgets go
through tr(); enum labels (cycle phases, readiness bands, drink types,
med states…) translate in a getter so a language change shows at once.
Coach notifications follow the app language too. Catalog entries follow.
Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
…arch The meal-analysis prompt, its schema descriptions and a developer error were re-wrapped by the second translation pass; they go to the model or the log, not the screen. docs/postpartum-breastfeeding-research.md: what ring-based apps can and can't offer breastfeeding mothers, with sources and a prioritised list. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
Re-ran the conversion so a sentence split across '+' becomes one key with its values as placeholders, instead of fragments translated separately. Threshold zone labels stay English where they are compared; a const that became translatable is a getter; the lint annotation is a constant again. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
…(catalog to follow) Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
Food-shaming lines were dropped on review (calorie targets, missed meals, late meals), and the last fragment of the meal-analysis prompt is plain English again. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
trf("… {0} …", values). A sentence joined with+is one key.tr().AppLanguageis now a locale + a stack of catalogs + aVoice.en-FH.jsonhas 460 lines of attitude, with censored swearing, layered on plain English.FuckingHealthCatalogTestkeeps safety text out of the catalog and checks that swearing is censored.docs/postpartum-breastfeeding-research.md.Generated by Claude Code