Hello,
Just want to puntualize that problem 3, happens when you register a new
user with Auth, not when you create a new application.
Best regards.
El lunes, 14 de octubre de 2013 12:09:28 UTC+2, mcamel escribió:
>
> Wow!, finally the four problems reported have four different
> reasons/behaviour!!!
>
> 1.- Share: yet explained
>
> 2.- user/impersonate: i wasn't able to solve it
>
> 3.- user/groups: the string "Group uniquely assigned to user %(id)s" seems
> to be "harcoded" when you create the application. I wasn't able to change
> this behavior anymore, but if you create a new app, it takes the actual
> state of the language file. Really strange.
>
> 4.- user/not_authorized: the problem is at tools.py; where it says "return
> ('ACCESS DENIED')" (line 3199), it should say "return
> (self.messages.access_denied)". You have to reset web2py after change it.
> After that, every change at the entry 'Insufficient privileges' of the
> language file, is immediately taken.
>
>
> In my opinion this would need, at least, a patch to tools.py and a
> clarification in the manual.
>
>
> Best regards.
>
>
> El domingo, 13 de octubre de 2013 21:23:47 UTC+2, mcamel escribió:
>>
>> Hello,
>>
>> I've explained badly. The problem is in the core of the project (Auth)
>> not in the welcome application, except share.js that has different
>> consideration because is in static folder.
>>
>> share.js has written the word 'Share' in it, but if you change it (e.g.
>> for 'Comparte'), then the "composition" of its elements breaks, so it would
>> needed at least hard CSS work.
>>
>> The actions exposed by Auth are not in the applications, but in 'gluon'
>> folder. E.g. i've found "group_description='Group uniquely assigned to user
>> %(id)s'," at tools.py, but it still appears in english if you force spanish
>> and write this at languages/es.py:
>>
>> 'Group uniquely assigned to user %(id)s': 'Grupo asignado únicamene
>> al usuario %(id)s',
>>
>> I'm quite sure this is a bug, but i've made a similar mistake recently
>> and would feel more confortable if other could verify this before opening a
>> ticket.
>>
>> Thank you.
>>
>>
>> El viernes, 11 de octubre de 2013 19:07:14 UTC+2, Richard escribió:
>>>
>>> Just change your welcome and make the test!! It is easy you have done
>>> the hard work so far...
>>>
>>> Don't forget to update language files after change the app and then add
>>> your translation to the file and update the files.
>>>
>>> If you feel confident you fix that, you can pull request here :
>>> https://github.com/web2py/web2py/tree/master/applications/welcome
>>>
>>> :)
>>>
>>> Richard
>>>
>>>
>>> On Fri, Oct 11, 2013 at 1:00 PM, mcamel <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> There are a couple of things not being translated at the Welcome
>>>> application, even after added to the language file. I think the reason is
>>>> lack of T() at the code.
>>>>
>>>> Observed at:
>>>> - Share: div at bottom-right to social networks
>>>> - User Id: at user/impersonate
>>>> - Group uniquely assigned to user %(id)s: at user/groups
>>>> - ACCESS DENIED: at user/not_authorized
>>>>
>>>> Could anyone confirm this is the reason?.
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.