Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use ugettext_lazy

Paweł Burniakf0b1be92e1f2
diff --git a/saleor/checkout/steps.py b/saleor/checkout/steps.py
index c7229065ff..0b9c591dc0 100644
--- a/saleor/checkout/steps.py
+++ b/saleor/checkout/steps.py
@@ -204,7 +204,7 @@ class ShippingMethodStep(BaseCheckoutStep):
selected_method_name = self.storage.get('delivery_method')
valid_methods = [d['method'].name for d in self.available_deliveries]
if selected_method_name not in valid_methods:
- raise InvalidData('Select a valid delivery method')
+ raise InvalidData(_('Select a valid delivery method'))
class SummaryStep(BaseCheckoutStep):