Thank you for your fix. I'll create the patch. With the best regards Vlad Kozlovskyy Chernivtsi, Ukraine
У пн, 2013-09-23 у 13:29 -0700, mcamel пише: > El domingo, 22 de septiembre de 2013 12:59:23 UTC+2, dbdeveloper > escribió: > > > # This rule isn't perfect but covers many cases. Complete > > rules at > > http://www.rae.es/dpd/srv/search?id=Iwao8PGQ8D6QkHPn4i. > > construct_plural_form = lambda word, plural_id: (word + > > ('es' if word[-1:] in ('s', 'x', > > 'ch', 'y', 'l', 'r', 'n', 'd', 'z', 'j') > > else 's')) > > > > Perfect rule! Thank you! I'll add it to es.py and send a > patch. > > It's not perfect because it doesn't cover all cases. Complete rule > would be as complex as the Ukrainian one. > > Please use it if you agree to use plural-*.py when this rule fails. Thank you very much. I have already posted the patch. > > > BTW, I've checked welcome/languages/es.py and found this entries with > error (below are corrected): > > > 'and rename it (required):': 'y renómbrela (requerido):', > 'and rename it:': ' y renómbrelo:', > 'Clear DISK': 'Limpiar DISCO', > 'Clear RAM': 'Limpiar RAM', > 'done!': '¡listo!', > 'Groups': 'Grupos', > 'Index': 'Índice', > 'Register': 'Regístrese', > 'register': 'regístrese', > 'Semantic': 'Semántica', > 'Welcome to web2py!': '¡Bienvenido a web2py!', > > > > This last is specially annoying because it is displayed at the main > page of the welcome app!. > > Can you do the fix or must i open a ticket?. > > > Thank you very much!. > > > -- > 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.

