Move every user-visible string to resources, and add Polish #41
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.39) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 240 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.328
Real PR Conversation Timeline
1 comments
"Review active on #41"
general
weight: 0.35
Sridhar1030
This moves every user-visible string into Android resources and adds Polish as the first translation. After this, a new language is translated XML only, with no code changes.
What changed
values/strings.xmlholds the shared text: manifest, services, data layer and formatting helpers. Each screen area has its ownstrings_<area>.xml(settings, home, apps, review)..replace("about the same than", …).@StringResids instead of English labels.Format.kttakeResources. Dates are formatted in the language the strings resolved to (resources_locale). On a phone set to a language without a translation, month names are then English, like the text around them.generateLocaleConfigwithres/resources.properties: Android 13+ lists each translation under the per-app language setting. Adding a language needs nothing else.TRANSLATING.mdexplains how to add a language.English text is unchanged, apart from singulars that used to be wrong: "1 app", "1 unlock", "1 of 1 day".
Testing
testDebugUnitTest,lintDebugandassembleRelease(the CI tasks) pass locally.R.stringused in the code exists.Notes
.claude/alone.