Hello,

The module allows to change the "Add to cart" text, but it's not possible to translate it. This can look strange, as in the rest of Ubercart the "Add to cart" text is translated. The attached patch fixes this.

Thank you for this useful module :)

Anselm

Comments

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new2.12 KB

The variable should actually be renamed to uc_product_add_to_cart_text to match what the latest version of Ubercart uses. This ensures that the button text is configurable through /admin/store/settings/products/edit/general.

Sorry for the additional whitespace alterations in this patch. My IDE is set up to clean up whitespace upon save, according to Drupal coding conventions.

Anonymous’s picture

Works for me