Skip to content
Snippets Groups Projects
Commit 0a45ab75 authored by Viktor Holovachek's avatar Viktor Holovachek
Browse files

Issue #3493223 - Fit translations

parent 416413ec
No related branches found
No related tags found
2 merge requests!13CSS file optimizations and font/layout fixes. Standardized size of edittab...,!5Issue #3493223 - Fit translations
......@@ -27,9 +27,9 @@ class LiveCSSAdmin extends SystemConfigFormBase {
$this->config = config('live_css.settings');
$form['live_css_less'] = array(
'#type' => 'checkbox',
'#title' => t('Enable LESS Support'),
'#title' => $this->t('Enable LESS Support'),
'#default_value' => $this->config->get('live_css_less'),
'#description' => t('Allows the live editing and display of LESS files on
'#description' => $this->t('Allows the live editing and display of LESS files on
the site, by simply embedding stylesheets with a "less" extension instead
of "css". The Less is parsed on each page load, even for anonymous
users. In production you may wish to disable this feature and use the
......@@ -37,39 +37,39 @@ class LiveCSSAdmin extends SystemConfigFormBase {
);
$form['live_css_flush'] = array(
'#type' => 'checkbox',
'#title' => t('CSS and JS cache flush'),
'#title' => $this->t('CSS and JS cache flush'),
'#default_value' => $this->config->get('live_css_flush'),
'#description' => t('Flush CSS and Javascript cache on every save.'),
'#description' => $this->t('Flush CSS and Javascript cache on every save.'),
);
$form['live_css_hideadmin'] = array(
'#type' => 'checkbox',
'#title' => t('Hide Admin Menu'),
'#title' => $this->t('Hide Admin Menu'),
'#default_value' => $this->config->get('live_css_hideadmin'),
'#description' => t('Automatically hides the administration menu when
'#description' => $this->t('Automatically hides the administration menu when
editing CSS.'),
);
$form['live_css_hidemodules'] = array(
'#type' => 'checkbox',
'#title' => t('Only show theme CSS'),
'#title' => $this->t('Only show theme CSS'),
'#default_value' => $this->config->get('live_css_hidemodules'),
'#description' => t('Removes module and other styles from the CSS list.'),
'#description' => $this->t('Removes module and other styles from the CSS list.'),
);
$form['live_css_storage'] = array(
'#type' => 'checkbox',
'#title' => t('Consistent Editor State'),
'#title' => $this->t('Consistent Editor State'),
'#default_value' => $this->config->get('live_css_storage'),
'#description' => t('Remembers the current file and file position to
'#description' => $this->t('Remembers the current file and file position to
maintain this between page loads.'),
);
$form['live_css_theme'] = array(
'#type' => 'select',
'#title' => t('Editor Theme'),
'#title' => $this->t('Editor Theme'),
'#default_value' => $this->config->get('live_css_theme'),
'#options' => live_css_list_themes(),
);
$form['live_css_fontsize'] = array(
'#type' => 'select',
'#title' => t('Font Size'),
'#title' => $this->t('Font Size'),
'#default_value' => $this->config->get('live_css_fontsize'),
'#options' => array(
'8px' => '8px',
......@@ -82,15 +82,15 @@ class LiveCSSAdmin extends SystemConfigFormBase {
));
$form['live_css_softtabs'] = array(
'#type' => 'checkbox',
'#title' => t('Soft Tabs'),
'#title' => $this->t('Soft Tabs'),
'#default_value' => $this->config->get('live_css_softtabs'),
'#description' => t('Use spaces instead of a tab character.'),
'#description' => $this->t('Use spaces instead of a tab character.'),
);
$form['live_css_tabsize'] = array(
'#type' => 'select',
'#title' => t('Tab Size'),
'#title' => $this->t('Tab Size'),
'#default_value' => $this->config->get('live_css_tabsize'),
'#description' => t('When using soft tabs, specify how many spaces to
'#description' => $this->t('When using soft tabs, specify how many spaces to
insert for the tab character.'),
'#options' => array(
1 => '1',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment