The text under "Payment instructions:" when displayed in checkout is preceded by a "To:"
This makes no sense, and it stays there no matter the language of the site.
For example when a site is being displayed in greek the "To:" doesn't mean anything.
Can it be removed? Is there a reason for it being there?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | uc_bank_transfer.diff | 1.25 KB | xibun |
| #5 | uc_bank_transfer.diff | 2.12 KB | xibun |
Comments
Comment #1
xibun commentedThe "To:" is inside a t() function - so you can translate it using the i18n system.
I will consider a removal when I work on the other open i18n issues.
Comment #2
bserem commentedthanks!
I would like to mention that if you want to translate the "To:" that appears when reviewing the order (cart/checkout/review) you need to search for it without the ":"
Just some info for who might find it usefull :)
Comment #3
xibun commentedin case anyone is looking into this... I have marked #761822: To: appeared even "Payment instructions" is filled in as duplicate
Comment #4
xibun commentednote: together with todays commit (allowing to theme the output of the bank transfer details) I have separated the ":" from the translatable string "To:".
Comment #5
xibun commentedhere a first patch - goal: only display "To" when "Account name:" is set.
to do:
1) remove the ":" on review page (open to suggestions on how to achieve this)
2) remove "To:" from invoice template (very easy)
Comment #6
xibun commentedre-rolled after committing improved output logic
Comment #7
bserem commentedi'm sorry I didn't reply all this time
at the moment I'm serving my country (army) so I do not have the time to test the patch...
hopefully in a few months I'll have more free time, I'll give it a try whenever I can :-)
Comment #8
bserem commentedI'm back after many months into Ubercart action!
I see that "To" is still being displayed. Is there any schedule of removing it completely?
Comment #9
xibun commentedin the Drupal 7 version I introduced the string "Account owner", this reduces the "problem" further.
when it comes to the Drupal 6 version: I'm against changing the behaviour now, the installation base is quite big and too many shops would need to be adapted. so for Drupal 6 I will only do bug fixes. for Drupal 7 I'm happy to introduce further developments.
Comment #10
bserem commentedThanks for clearing this out xibun.
I don't have experience with D7/UC3 yet but you are right about keeping v6 in a bug-fix only state.
Sadly I've been away for a long time and D7 is quite a mystery to me still...
I'm marking this as closed. I believe if needed that people can hide the "To:" string or even create some code that does that!