Make LabelWithWidgets compatible with i18n
Currently the markup that is used and the way widget insertion is implemented doesn't allow to reorder the widgets. It's an issue in translatable strings as the order can change from one language to the other.
We need to at least introduce a kind of <widget1>
, <widget2>
markup, or, even better, markup with named variables.
What I'm dreaming of would be a PillLabel
with markup like <user: @user:matrix.org>
and <room: !roomid:gnome.org>
where we only need to provide the string and the pills are constructed by the widget.
Edited by Kévin Commaille