mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed a few translation related tests:
* Extended the admin i18n view to also take the admin translation catalogues into account. * Use a translation string from the core translations to test LOCALE_PATHS. * Fixed Russian translation of singular forms. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -284,7 +284,7 @@ class AdminSite(object):
|
||||
from django.views.i18n import javascript_catalog
|
||||
else:
|
||||
from django.views.i18n import null_javascript_catalog as javascript_catalog
|
||||
return javascript_catalog(request, packages='django.conf')
|
||||
return javascript_catalog(request, packages=['django.conf', 'django.contrib.admin'])
|
||||
|
||||
@never_cache
|
||||
def logout(self, request, extra_context=None):
|
||||
|
||||
Reference in New Issue
Block a user