Skip to content

Update satirical localizations and add English variants - #92

Merged
D-Ogi merged 3 commits into
mainfrom
feat/satirical-locales
Sep 16, 2026
Merged

D-Ogi merged 3 commits into
mainfrom
feat/satirical-locales

Conversation

@D-Ogi

@D-Ogi D-Ogi commented Sep 16, 2026 •

Copy link
Copy Markdown
Owner

Update the Japanese and Chinese satirical interfaces and add two opt-in English variants: CorpSlop (food/advertising/corporate satire) and English (Israeli PR) (government spokesperson rhetoric and media punditry).

Preserve technical tooltips, warnings, supported formats and interpolation fields. Attribute two short Ben Shapiro quotations and document their sources. Validate the locale contract for every registered language.

Validation: all seven CI jobs passed on the final head. Thirteen locale/offline-asset tests and Ruff passed locally. The real Windows Qt desktop passed all 64 theme/language combinations at 800×600 with the UI fixes from #91 applied; minimum model-panel text contrast was 6.7:1. CodeRabbit reports no actionable comments on the final head.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 1343558d-bf07-40dc-b1ad-eeb5d3ca1568

📥 Commits

Reviewing files that changed from the base of the PR and between b3d1f11 and 230d606.

📒 Files selected for processing (1)
  • tests/test_locales.py
🚧 Files skipped from review as they are similar to previous changes (1)
  • tests/test_locales.py

Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Walkthrough

The change registers two non-randomizable locales, updates Chinese and Japanese locale text, and adds documentation and contract tests for configured translations.

Changes

Locale expansion

Layer / File(s) Summary
Register and add satirical locales
ui/config.json, ui/lang/corpslop.json, ui/lang/en_il.json
The configuration registers two non-randomizable locales. The new catalogs define interface labels, processing messages, status text, warnings, errors, and language-selection text.
Update existing locale content
ui/lang/zh.json, ui/lang/jp.json
Chinese and Japanese wording changes cover application controls, processing states, preview text, logs, and language labels. Existing keys and placeholders remain unchanged.
Document and validate locale contracts
tests/test_locales.py, docs/satirical-locales.md
Tests validate registered locale keys, value types, non-empty values, list entries, placeholders, and unique language IDs. Documentation records locale requirements, selection behavior, and attribution details.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 230d6

The new locales are registered with matching resources and are covered by the locale contract tests. No actionable merge risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the change scope and reports validation results, but it does not follow the required template. It omits the required section headings, exact validation commands, a validation ta… Rewrite the description using the repository template. Add the Problem and resulting behavior, Scope, Validation, and Review checklist sections. Provide exact commands, environments, actual results, and reasons for any checks not run. State…
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: updating satirical localizations and adding English variants.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 1 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description covers the change scope and reports validation results, but it does not follow the required template. It omits the required section headings, exact validation commands, a validation table, explicit compatibility and untested-platform details, and the review checklist.

Resolution

Rewrite the description using the repository template. Add the Problem and resulting behavior, Scope, Validation, and Review checklist sections. Provide exact commands, environments, actual results, and reasons for any checks not run. State compatibility risks and untested platforms, and complete the checklist.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/satirical-locales

Comment @coderabbitai help to get the list of available commands.

@D-Ogi
D-Ogi merged commit 0aa137e into main Sep 16, 2026
8 checks passed
D-Ogi added a commit that referenced this pull request Sep 16, 2026
Validated with cross-platform CI and the real desktop checks; review findings addressed.
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.

1 participant