Hi

I'm having a problem that was repeated too much
sometimes the translation file , got messy while updating it with new
translations
translations are shifted from their proper place and thus you got un
proper translations
This also may have some side effects like making the whole application
fail

consider that case :

this line is in my model

 requires=[IS_LENGTH(maxsize=8000, minsize=1,
error_message=str(T('Enter details between %(min)s and %(max)s
characters')))]


In my tranlsation file I've something like :

Enter image max size %(maxsize)s
Enter image max size %(maxsize)s  -> should be replaced by translation

Enter details between %(min)s and %(max)s characters
Enter details between %(min)s and %(max)s characters -> should be
replaced by translation

Now what happens if the lines are shifted while making an update :

you get something like:

Enter image max size %(maxsize)s
------------------------------------------

Enter details between %(min)s and %(max)s characters
Enter image max size %
(maxsize)s                                           --> see this ?
this causes error


Now the solution is to revert the translation to the latest commit and
re-translating

Is any body experienced this before ?







-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to