Diffusion Krita 7f7be0767e48

Use translation of unnamed (‘Untitled’) colours

Authored by huftis on Jul 31 2019, 8:20 PM.

Description

Use translation of unnamed (‘Untitled’) colours

All of the colour palettes included in Krita that have unnamed colours,
have actually the colour names set to ‘Untitled’ in the .gpl files,
instead of having empty names (I’m not sure it’s valid to have empty
names, though). So the code that tried to show unnamed colours as the
translation of the string ‘Untitled’, did not succeed. Now, colours with
empty names or the name ‘Untitled’ are treated the same, so that the
i18n() call always succeeds for unnamed colours.