Commit 980fdefa authored by Dries's avatar Dries

Issue #1790612 by carwin: Do not concatenate variables into translatable strings.

parent b9b35965
......@@ -244,7 +244,9 @@ function text_field_formatter_settings_summary($field, $instance, $view_mode) {
$summary = '';
if (strpos($display['type'], '_trimmed') !== FALSE) {
$summary = t('Trim length') . ': ' . $settings['trim_length'];
$summary = t('Trim length: @trim_length', array(
'@trim_length' => $settings['trim_length'],
));
}
return $summary;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment