Issue #2470145 by David_Rothstein, rbmboogie, tbradbury, johnpicozzi, ifrik: Fix text for update manager checkbox for disabled extensions
parent
f3f3efae7d
commit
63526809d7
|
@ -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 @@ class UpdateContribTest extends UpdateTestBase {
|
|||
// 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 @@ class UpdateSettingsForm extends ConfigFormBase implements ContainerInjectionInt
|
|||
|
||||
$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();
|
||||
|
|
Loading…
Reference in New Issue