Commit 63526809 authored by alexpott's avatar alexpott

Issue #2470145 by David_Rothstein, rbmboogie, tbradbury, johnpicozzi, ifrik:...

Issue #2470145 by David_Rothstein, rbmboogie, tbradbury, johnpicozzi, ifrik: Fix text for update manager checkbox for disabled extensions
parent f3f3efae
......@@ -10,7 +10,7 @@ update.settings:
mapping:
disabled_extensions:
type: boolean
label: 'Check for updates of disabled modules and themes'
label: 'Check for updates of uninstalled modules and themes'
interval_days:
type: integer
label: 'Days since last check'
......
......@@ -281,12 +281,12 @@ function testUpdateShowDisabledThemes() {
// themes.
$this->assertNoText(t('Themes'));
if ($check_disabled) {
$this->assertText(t('Disabled themes'));
$this->assertText(t('Uninstalled themes'));
$this->assertRaw($base_theme_project_link, 'Link to the Update test base theme project appears.');
$this->assertRaw($sub_theme_project_link, 'Link to the Update test subtheme project appears.');
}
else {
$this->assertNoText(t('Disabled themes'));
$this->assertNoText(t('Uninstalled themes'));
$this->assertNoRaw($base_theme_project_link, 'Link to the Update test base theme project does not appear.');
$this->assertNoRaw($sub_theme_project_link, 'Link to the Update test subtheme project does not appear.');
}
......
......@@ -77,7 +77,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form['update_check_disabled'] = array(
'#type' => 'checkbox',
'#title' => t('Check for updates of disabled modules and themes'),
'#title' => t('Check for updates of uninstalled modules and themes'),
'#default_value' => $config->get('check.disabled_extensions'),
);
......
......@@ -84,8 +84,8 @@ function template_preprocess_update_report(&$variables) {
'core' => t('Drupal core'),
'module' => t('Modules'),
'theme' => t('Themes'),
'module-disabled' => t('Disabled modules'),
'theme-disabled' => t('Disabled themes'),
'module-disabled' => t('Uninstalled modules'),
'theme-disabled' => t('Uninstalled themes'),
);
$variables['project_types'] = array();
......
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