appstream-glib icon indicating copy to clipboard operation
appstream-glib copied to clipboard

Only one language is checked for <caption>

Open Unrud opened this issue 6 years ago • 1 comments

Instead of checking all translations of captions, only the one most-appropriate for the user's language settings is checked: https://github.com/hughsie/appstream-glib/blob/5518fc339fa0c508c1c7ab7b5d9c8fa0aaca8c4f/libappstream-glib/as-app-validate.c#L654

Is this intentional? For descriptions all translations are checked. The problem also exists for other elements.

Unrud avatar May 17 '19 15:05 Unrud

I'm tempted to say that we should only check the non-translated descriptions -- right?

hughsie avatar May 23 '19 14:05 hughsie