summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoseph.olstad2016-06-10 18:14:13 (GMT)
committerjoseph.olstad2016-06-10 18:14:13 (GMT)
commit8f8add82e19175abdbaff9f22577dcbc7daa1ab1 (patch)
treedba35f56976218527cbcecfa1cc55b37123b71a6
parent21c6b79e870dc6cf813dd1d32c43330767e02b4d (diff)
Issue #1717668 by gngn, joseph.olstad, gdaw: translation of string variables not working7.x-2.2
-rw-r--r--lightbox2.insert.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lightbox2.insert.inc b/lightbox2.insert.inc
index 6e89a02..f5ef897 100644
--- a/lightbox2.insert.inc
+++ b/lightbox2.insert.inc
@@ -58,7 +58,7 @@ function template_preprocess_lightbox2_insert_image(&$vars) {
$vars['linkurl'] = insert_create_url($linkpath);
$vars['download_link'] = '';
- $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original'));
+ $download_link_text = check_plain(t(variable_get('lightbox2_download_link_text', 'Download Original')));
if (!empty($download_link_text) && user_access('download original image')) {
$vars['download_link'] = '<br /><br />' . l($download_link_text, $vars['linkurl'], array('attributes' => array('target' => '_blank', 'id' => 'lightbox2-download-link-text')));
}