At the config screen, in my case admin/config/content/ckeditor/edit/Full, in fieldset 'CSS', the description under 'Editor CSS' is not complete. Line 966 of ckeditor.admin.inc is looking for non-existing substitutions of variables '!title_define_css' and '!title_ckeditor_default'.

<?php
    $form
['css']['css_mode'] = array(
       
'#type' => 'select',
       
'#title' => t('Editor CSS'),
       
'#default_value' => !empty($profile->settings['css_mode']) ? $profile->settings['css_mode'] : 'theme',
       
'#options' => array(
           
'theme' => t('Use theme CSS'),
           
'self' => t('Define CSS'),
           
'none' => t('CKEditor default')
        ),
       
'#description' => t(
           
'Defines the CSS to be used in the editor area.!title_theme_css &ndash; load the !style_css file from the current site theme.!define_css &ndash; enter the CSS file path below.!ckeditor_default &ndash; use the default editor CSS.',
            array(
               
'!title_theme_css' => '<br /><strong>' . t('Use theme CSS') . '</strong>',
               
'!title_define_css' => '<br /><strong>' . t('Define CSS') . '</strong>',
               
'!title_ckeditor_default' => '<br /><strong>' . t('CKEditor default') . '</strong>',
               
'!style_css' => '<code>style.css</code>'
           
)
        )
    );
?>

The description string should be: 'Defines the CSS to be used in the editor area.!title_theme_css &ndash; load the !style_css file from the current site theme.!title_define_css &ndash; enter the CSS file path below.!title_ckeditor_default &ndash; use the default editor CSS.'

Comments

mkesicki’s picture

Thank your for noticing this. We will try fix this as soon as possible.

dczepierga’s picture

Title:Wrong variable substitution using t()» [D7] Wrong variable substitution using t()
Status:Active» Fixed

@lmeurs, really thx for help.
Changes commited to GIT (diff)

Greetings

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.