#13514: Only last package javascript catalog is loaded in case of missing 
default
translation.
-------------------------------------------+--------------------------------
          Reporter:  jtiai                 |         Owner:  nobody         
            Status:  new                   |     Milestone:                 
         Component:  Internationalization  |       Version:  SVN            
        Resolution:                        |      Keywords:  i18n javascript
             Stage:  Unreviewed            |     Has_patch:  0              
        Needs_docs:  0                     |   Needs_tests:  0              
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by ramiro):

 The `13514-regression-test.diff` patch attached adds a regression test
 (run it with `runtests.py views.JsI18NTestsMultiPackage`) implementing the
 scenario jtiai reports.

 Some notes:

  * It also moves some pre-existing `javascript_catalog` I18N view tests
 from `tests/regressiontests/admin_views/tests.py` to
 `tests/regressiontests/views/tests/i18n.py` because that view isn't admin-
 specific and to have all of them in one place. This means the
 `tests/regressiontests/views/locale/*/LC_MESSAGES/djangojs.po|mo` files
 were updated.
  * It adds two `app1` and `app2` dirs under `tests/regressiontests/views`
 with their own French `djangojs.po` files
  * Don't forget to re-generate `djangojs.mo` files from all the
 `djangojs.po` involved.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13514#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to