Commit d6dbe637 authored by Chandan Chaudhary's avatar Chandan Chaudhary Committed by frjo

Issue #2755773 by Chandan Chaudhary: Replacing t function with $this->t in class file

parent 3f5650bc
......@@ -83,10 +83,10 @@ class ColorboxAttachment implements ElementAttachmentInterface {
else {
$js_settings = array(
'opacity' => '0.85',
'current' => t('{current} of {total}'),
'previous' => t('« Prev'),
'next' => t('Next »'),
'close' => t('Close'),
'current' => $this->t('{current} of {total}'),
'previous' => $this->t('« Prev'),
'next' => $this->t('Next »'),
'close' => $this->t('Close'),
'maxWidth' => '98%',
'maxHeight' => '98%',
'fixed' => TRUE,
......
This diff is collapsed.
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