Weblate: huge useless context


#1

Hi,

Can someone have a look to the context of these strings which are both huge and useless:

Where do these contexts are coming from? Is it possible to remove them in Weblate to ease translation? Can we identify if this pb occurs on other Weblate strings?

Note: I think context is the same for all strings and this remark affects all languages.


#2

That’s very weird, looks like a bug in either weblate of the script which prepare the resource before weblate parse them. According to the link you pasted some key which are definitely not commented in git are parsed as commented by Weblate.

The first link related to the keys starting at https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties#L3860.

I created https://jira.xwiki.org/browse/XINFRA-269. Maybe you have an idea @atallahade.


#3

Thanks for reporting the issue @xrichard, I know where the problem comes from, I’ll fix that.


#4

@atallahade thanks and good work :pray:.

I will follow the Jira issue opened by Thomas.