Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Cart
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2016 at 13:00 UTC
Updated:
24 May 2016 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
agoradesign commentedSo, here's my tiny patch. I've added a context to the translation, as in other languages than English this could be important. E.g. in German you would translate "your cart" standalone as "Ihr Warenkorb", but in the context of the sentence "... added to your cart" this would be a major grammatical error - "...zu Ihrem Warenkorb..." would be correct here.
Comment #4
bojanz commentedTook the opportunity to also use $this->t() instead of t(). Thanks!