The submitted string contains disallowed HTML: <strong>ClickandBuy</strong><br />Schnelle und sichere Bezahlungen mit Kreditkarte, Sofortüberweisung, u.s.w. <a href="http://clickandbuy.com/EU/en/info.html" target="_blank">Mehr Infos hier</a>.<br /><img style="margin-top:8px;" src="@image_url" />

This is the message that you get when trying to translate these strings:

/var/www/proteinmixer/trunk/sites/all/modules/uc_clickandbuy# grep -Rn easy .
./uc_clickandbuy_register/uc_clickandbuy_register.module:55:      '#value' => t('<p><img alt="ClickandBuy" src="@image" /><br />Offer more ways to pay and increase your revenue.<br />Safe, secure and easy payment for your customers.<br />One-time free online registration, no monthly fee.<br /><a href="@link">Rate card and registration</a></p>', array('@image' => base_path() . drupal_get_path('module', 'uc_clickandbuy') .'/images/logo.gif', '@link' => url('admin/store/settings/payment/clickandbuy'))),
./uc_clickandbuy_register/.svn/text-base/uc_clickandbuy_register.module.svn-base:55:      '#value' => t('<p><img alt="ClickandBuy" src="@image" /><br />Offer more ways to pay and increase your revenue.<br />Safe, secure and easy payment for your customers.<br />One-time free online registration, no monthly fee.<br /><a href="@link">Rate card and registration</a></p>', array('@image' => base_path() . drupal_get_path('module', 'uc_clickandbuy') .'/images/logo.gif', '@link' => url('admin/store/settings/payment/clickandbuy'))),

Comments

honigferd’s picture

Suffering from that exact same "The submitted string contains disallowed HTML"-message. Is there any way to get around this?

honigferd’s picture

I got around it by changing the respective line (93) in uc_clickandbuy.module to my needs.

It works for now, unfortunately is far from ideal since it won't work with multilanguage setups and adds yet another file to babysit on module updates, but it's a temporary workaround I guess.

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

If someone can provide a patch to improve this, I'm happy to commit it - I don't use the translation system at present and am not really sure what I'm supposed to be changing here!

longwave’s picture

Version: 6.x-1.1 » 6.x-2.x-dev
Status: Postponed (maintainer needs more info) » Fixed

This should now be fixed in the 6.x-2.x branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.