Commit 84cbe146 authored by frjo's avatar frjo
Browse files

Issue #1404976 by fasdalf: Make Insert styles translatable.

parent e2adfd3c
......@@ -627,7 +627,7 @@ function colorbox_field_formatter_view($entity_type, $entity, $field, $instance,
function colorbox_insert_styles() {
$insert_styles = array();
foreach (image_styles() as $key => $style) {
$insert_styles['colorbox__' . $key] = array('label' => 'Colorbox ' . $style['name']);
$insert_styles['colorbox__' . $key] = array('label' => t('Colorbox @style', array('@style' => $style['name'])));
}
return $insert_styles;
......
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