feat(web): add Russian to the converter #24378

Merged
bogdanmerzlikin123456-source merged 2 commits from upstream-pr/24378 into main 2026-11-21 08:12:16 +00:00
bogdanmerzlikin123456-source commented 2026-11-20 15:26:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by bogdanmerzlikin123456-source on 2026-11-20T15:26:29Z.


What

Adds Russian (ru) to the converter interface. demo/web/i18n.mjs gains a full 173-key Russian message set and the ru descriptor in locales, so the language button cycles English → German → Arabic → French → Russian. Placeholders and key order match English, as the i18n test requires. app.test.mjs follows the new cycle and asserts the Russian release-information error.

Tested

Windows 11, Node 24.16.0.

  • node --test demo/web/tests/app.test.mjs demo/web/tests/batch.test.mjs demo/web/tests/failure-report.test.mjs demo/web/tests/i18n.test.mjs demo/web/tests/output-directory.test.mjs demo/web/tests/directory-writer.test.mjs — 49 passed.
  • node demo/web/tests/archive-root.test.mjs demo/web, archive-windows.test.mjs, archive-reserved.test.mjs with the pinned @zip.js bundle, and node --test demo/web/tests/worker-manifest.test.mjs — passed.
  • node --check demo/web/i18n.mjs and python tools/check_conventions.py --base origin/main — passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5415837044 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24378). Originally posted by [bogdanmerzlikin123456-source](https://github.com/bogdanmerzlikin123456-source) on 2026-11-20T15:26:29Z. --- ### What Adds Russian (`ru`) to the converter interface. `demo/web/i18n.mjs` gains a full 173-key Russian message set and the `ru` descriptor in `locales`, so the language button cycles English → German → Arabic → French → Russian. Placeholders and key order match English, as the i18n test requires. `app.test.mjs` follows the new cycle and asserts the Russian release-information error. ### Tested Windows 11, Node 24.16.0. - `node --test demo/web/tests/app.test.mjs demo/web/tests/batch.test.mjs demo/web/tests/failure-report.test.mjs demo/web/tests/i18n.test.mjs demo/web/tests/output-directory.test.mjs demo/web/tests/directory-writer.test.mjs` — 49 passed. - `node demo/web/tests/archive-root.test.mjs demo/web`, `archive-windows.test.mjs`, `archive-reserved.test.mjs` with the pinned `@zip.js` bundle, and `node --test demo/web/tests/worker-manifest.test.mjs` — passed. - `node --check demo/web/i18n.mjs` and `python tools/check_conventions.py --base origin/main` — passed. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-20 15:51:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T15:51:37Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

Reviewed head d3883a106277952a8b21df85e38b29aca134b510. Read the prepared description, commits, manifest and diff; traced locale handling and validation tests using repo_read.py. No tests were run.

Results

Check Result Note
Diff and changed files passed Both changed files read
Locale validation context passed Tests enforce key and placeholder parity
Test execution not run No commands executed

Findings

Blocking

None.

Non-blocking

None.

Not verified

The author reports tests passing on Windows 11 with Node 24.16.0; I did not run them. Files read: description.md, commits.md, manifest.json, diff.patch, demo/web/i18n.mjs, demo/web/tests/app.test.mjs, and demo/web/tests/i18n.test.mjs. files.json was unavailable; the manifest lists both changed files as included, and the review folder listing shows no excluded changed files.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5995444088 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24378#pullrequestreview-5995444088). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T15:51:37Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran Reviewed head `d3883a106277952a8b21df85e38b29aca134b510`. Read the prepared description, commits, manifest and diff; traced locale handling and validation tests using `repo_read.py`. No tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed files | passed | Both changed files read | | Locale validation context | passed | Tests enforce key and placeholder parity | | Test execution | not run | No commands executed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The author reports tests passing on Windows 11 with Node 24.16.0; I did not run them. Files read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `demo/web/i18n.mjs`, `demo/web/tests/app.test.mjs`, and `demo/web/tests/i18n.test.mjs`. `files.json` was unavailable; the manifest lists both changed files as included, and the review folder listing shows no excluded changed files. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-21 07:02:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T07:02:30Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head a3a29287f20534dd8b31fc0e1cf9b26fbaae1c96. I inspected the prepared diff and relevant code through repo_read.py; I did not run commands or tests.

Results

Check Result Note
Diff and relevant code passed Russian locale and language-cycle updates inspected
Tests not run Author-reported results were not independently verified

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full text of demo/web/i18n.mjs and demo/web/tests/app.test.mjs was not read; only the relevant locale, test, and neighboring code ranges were inspected. The full contents of changed files were not checked. Tests and the author-reported Windows environment were not independently verified. The review artifacts read were description.md, commits.md, manifest.json, and diff.patch; files.json was unavailable through the reader. The manifest lists both changed files as included, and no excluded changed files were reported in the manifest.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6003693474 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24378#pullrequestreview-6003693474). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T07:02:30Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `a3a29287f20534dd8b31fc0e1cf9b26fbaae1c96`. I inspected the prepared diff and relevant code through `repo_read.py`; I did not run commands or tests. ## Results | Check | Result | Note | |---|---|---| | Diff and relevant code | passed | Russian locale and language-cycle updates inspected | | Tests | not run | Author-reported results were not independently verified | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The full text of `demo/web/i18n.mjs` and `demo/web/tests/app.test.mjs` was not read; only the relevant locale, test, and neighboring code ranges were inspected. The full contents of changed files were not checked. Tests and the author-reported Windows environment were not independently verified. The review artifacts read were `description.md`, `commits.md`, `manifest.json`, and `diff.patch`; `files.json` was unavailable through the reader. The manifest lists both changed files as included, and no excluded changed files were reported in the manifest. ## To get this to a good state Nothing is required.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!24378
No description provided.