red error messages in qml

Dirk Hohndel dirk at
Sat Mar 12 09:22:54 PST 2016

> On Mar 12, 2016, at 7:38 AM, Sebastian K├╝gler <sebas at> wrote:
> On Friday, March 11, 2016 03:00:26 Tomaz Canabrava wrote:
>> error messages in red.
> Brrrrr. Encapsulate that in a small method? So it can be more easily changed 
> without editing a lot of HTML in translated messages that would all have to be 
> re-checked if the HTML bits change? (Also less prone to errors by 
> translators.)

Did you have a chance to look at the version of that patch that actually
made it upstream? I didn't use a function but a macro instead and kept
all the markup outside of the translated strings. Maybe not as elegant
as a function, but I think it reaches the same goals as you had in mind...

commit fcb308fdf2be

the diff in our git web (with shortened as the URL was >100 chars) <>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the subsurface mailing list