Revision 7cc085da
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
function theme_cdm_feature_name($variables) { |
34 | 34 |
$feature_name = $variables['feature_name']; |
35 |
return t($feature_name);
|
|
35 |
return t('@feature-name', array('@feature-name' => $feature_name));
|
|
36 | 36 |
} |
37 | 37 |
|
38 | 38 |
|
... | ... | |
348 | 348 |
continue; |
349 | 349 |
} |
350 | 350 |
$out .= '<div class="' . $type . '">'; |
351 |
$out .= '<h3>' . t($label) . "</h3>";
|
|
351 |
$out .= '<h3>' . t('@label', array('@label' => $label)) . "</h3>";
|
|
352 | 352 |
$out .= $keylist; |
353 | 353 |
$out .= '</div>'; |
354 | 354 |
} |
Also available in: Unified diff
#5912 fixing wrong usages of dynamic strings, using placeholders and avoiding concatination