Browse Source

Fixed two minor i18n issues

master
David Winterbottom 13 years ago
parent
commit
3d0fead9aa

+ 1
- 0
oscar/apps/catalogue/reviews/views.py View File

4
 from django.db.models import Avg
4
 from django.db.models import Avg
5
 from django.contrib import messages
5
 from django.contrib import messages
6
 from django.db.models import get_model
6
 from django.db.models import get_model
7
+from django.utils.translation import ugettext_lazy as _
7
 
8
 
8
 from oscar.core.loading import get_classes
9
 from oscar.core.loading import get_classes
9
 SignedInUserProductReviewForm, AnonymousUserProductReviewForm, VoteForm = get_classes(
10
 SignedInUserProductReviewForm, AnonymousUserProductReviewForm, VoteForm = get_classes(

+ 1
- 0
oscar/templates/checkout/shipping_methods.html View File

1
 {% extends "checkout/checkout.html" %}
1
 {% extends "checkout/checkout.html" %}
2
 {% load currency_filters %}
2
 {% load currency_filters %}
3
+{% load i18n %}
3
 
4
 
4
 {% block title %}
5
 {% block title %}
5
 {% trans "Shipping method" %} | {{ block.super }}
6
 {% trans "Shipping method" %} | {{ block.super }}

Loading…
Cancel
Save