HomePhabricator

Make “image scale” translatable

Tags
None
Referenced Files
None
Subscribers
None

Description

Make “image scale” translatable

And add the translations to a new data attribute where the JS can load
them from.

In principle, we could also restructure the HTML to put the server-side
label in a separate element (now that modern browsers have :has() in
CSS, we’re a bit more free in how we arrange the DOM for the no-JS
version of the scale inputs), and have the JS read the text content
from there, but that’s more effort than I want to put into it right now,
and anyway some of the other JS parts will need server-sent translations
anyway (edit mode).

Details

Provenance
LucasWerkmeisterAuthored on May 4 2024, 9:38 AM
Parents
R2422:bb0ccb9c8f4d: Make edit notices translatable
Branches
Unknown
Tags
Unknown
ChangeId
None