Skip to content

Translate upload filename warnings in HTML - #1670

Merged
natacha-beck merged 1 commit into
aces:devfrom
dlq:translate-upload-filename-warnings
Oct 20, 2026
Merged

natacha-beck merged 1 commit into
aces:devfrom
dlq:translate-upload-filename-warnings

Conversation

@dlq

@dlq dlq commented Oct 20, 2026 •

Copy link
Copy Markdown

Render translated filename and file-size warnings in hidden HTML spans, as suggested in #1660. JavaScript toggles the spans while preserving the existing validation and upload-button behavior. Related to #1660.

JavaScript syntax, English/French warning rendering, and eight handler-level validation scenarios passed. Browser testing against the local portal also passed all 16 cases in English and French using Playwright Chromium at 1280×900: invalid filenames, oversized files, combined warnings, the exact size limit, and recovery after selecting a valid file. Warnings and upload-button states were correct, with no JavaScript console errors.

No files were uploaded. The temporary test account was removed and the original upload limit restored. Mobile and other browsers were not tested. Existing English Cancel/Upload button labels and a server log-volume error are outside this change.

@natacha-beck
natacha-beck self-requested a review October 20, 2026 21:53
@natacha-beck
natacha-beck merged commit c6559e4 into aces:dev Oct 20, 2026
1 check passed
@dlq
dlq deleted the translate-upload-filename-warnings branch October 22, 2026 19:03
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.

2 participants