Hi

Jean-Baptiste Holcroft píše v Pá 07. 04. 2017 v 13:52 +0200:
> Hi Michal, can you please help me to understant what this string
> means? 
> And the context?
> https://github.com/WeblateOrg/weblate/blob/master/weblate/permissions
> /models.py#L56
> 
> Is it the current selected permissions for a user?

This is list of permissions which are filtered by Group ACL, see 
https://docs.weblate.org/en/latest/admin/access.html#group-based-access
-control

Maybe it's not best way to express that. I've at least added help text
to clarify that.

> By the way, by looking a little bit more at string context, I notice 
> some function for plural.
> Like "Group ACL" and "Group ACLs" : 
> https://github.com/WeblateOrg/weblate/blob/master/weblate/permissions
> /models.py#L96
> 
> But it makes two sentences in Weblate:
> https://hosted.weblate.org/translate/weblate/master/fr/?q=Group+ACL&s
> earch=substring&source=on&type=all&ignored=False
> 
> Shouldn't it be a standard source string with plural?

It would be indeed better, but Django has chosen this way, see their
issue tracker for discussion on this:

https://code.djangoproject.com/ticket/11688

-- 
        Michal Čihař | https://cihar.com/ | https://weblate.org/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Weblate mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate

Reply via email to