~vcs-imports/satchmo/trunk

« back to all changes in this revision

Viewing changes to satchmo/apps/satchmo_ext/brand/views.py

  • Committer: chris
  • Date: 2009-05-30 18:04:28 UTC
  • Revision ID: svn-v4:a38d40e9-c014-0410-b785-c606c0c8e7de:satchmo/trunk:2051
Fixing a i18n bug. Closes #699

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        raise Http404(_('Brand "%s" does not exist') % brandname)
53
53
        
54
54
    except BrandCategory.DoesNotExist:
55
 
        raise Http404(_('No category "%s" in brand "%s"') % (catname, brandname))
 
55
        raise Http404(_('No category "%{category}s" in brand "%{brand}s"').format(category=catname, brand=brandname))
56
56
        
57
57
    products = list(cat.active_products())
58
58
    sale = find_best_auto_discount(products)