← Back to Pull requests

Add Persian translation #3682

Open
unknown opened this pull request with 152 lines diff across 1 files
View on GitHub
unknown unknown commented on Oct 30, 2026 18:17 UTC
Author

Adds Persian (fa):

  • values-fa copies of the five string files in app/shared/app-lang/src/androidMain/res (strings.xml, strings_media_selection.xml, strings_notification.xml, strings_settings.xml, tv.xml), 2,139 strings and plural forms.

  • Locale("fa") in SupportedLocales (Lang.kt) and "fa" -> "فارسی" in renderLocale() (LocaleNames.kt).
  • Persian is the app's first right-to-left language; supportsRtl is already on. Bangumi, Mikan, Jellyfin and other names stay in English, and placeholders match the English strings.

    Checks: xmllint passes on all five files, every key matches the English files with nothing missing or extra, format specifiers match, and the escape rules from StringResourceEscapesTest pass when run against the new files with a script. I could not run ./gradlew check locally (no Android SDK or JDK on this machine).

    AI disclosure: the translation was drafted with AI (Gemini 3.8 Flash in Antigravity, with Claude Code for building the files) and checked with automated validation: every key present, placeholders and escapes, and no Arabic-only letter forms (ي, ك). I am a native Persian speaker.

    🤖 Generated with Claude Code

    Diff: 152 lines (+114 / -38) across 1 files Reviewer: Him188 Review duration: 44745m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.45) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 152 lines diff across 1 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.301
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #3682"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.1% (MEDIUM) · Higher = larger blast radius
    45.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.7% · Lower = rushed or shallow review
    44.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.9% · Safe to merge
    24.9%