summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2014-09-29 09:14:11 (GMT)
committerAnthony Lindsay2014-09-29 09:14:11 (GMT)
commit04b3f213bdbe5072172af15024d931e604e69379 (patch)
treee8169730078e414b3a4b964484e3b355d9a0d6b1
parent6376db27338692c378f80c277799b34c64fbbaf3 (diff)
Removed html from translated text.
-rw-r--r--commerce_popular_products.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/commerce_popular_products.module b/commerce_popular_products.module
index 24badaf..345d7ab 100644
--- a/commerce_popular_products.module
+++ b/commerce_popular_products.module
@@ -219,9 +219,11 @@ function commerce_popular_products_settings_form($form, &$form_state) {
);
}
else {
+ $markup = '<h4>' . t('Product types') . '</h4>';
+ $markup .= '<p>' . t('You have not defined any product types. You need to <a href = "@add-product-page">define some</a> first.', array('@add-product-page' => url('/admin/commerce/products/types/add'))) . '</p>';
$form['product_types'] = array(
'#title' => t('Product Types.'),
- '#markup' => t('<h4>Product types</h4><p>You have not defined any product types. You need to <a href = "/admin/commerce/products/types/add">define some</a> first.</p>'),
+ '#markup' => $markup,
);
}