Boot options: rename 'blocklist' option

As 'blocklisting' sounds weird, esp. when used as verb, call the
option "Disable system componets". Also, "components" is less
technical than "entries".

Change-Id: Ia6dbbbe6ebc800e2017e0fb4b0393d19f07afbc5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3833
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Humdinger 2021-04-06 17:59:12 +02:00 committed by humdinger
parent 1ab6200126
commit 6f2e83ce65

View File

@ -724,7 +724,7 @@ protected:
const char* const BlocklistMenu::kDefaultMenuTitle
= "Mark the entries to blocklist";
= "Mark the components to disable";
class BlocklistRootMenu : public BlocklistMenu {
@ -746,7 +746,8 @@ public:
} else {
SetDirectory(NULL);
SetTitle(sBootVolume != NULL && sBootVolume->IsValid()
? "The selected boot volume doesn't support blocklisting!"
? "The selected boot volume doesn't support disabling "
"components!"
: "No boot volume selected!");
}
@ -1337,8 +1338,8 @@ add_safe_mode_menu()
safeMenu->AddSeparatorItem();
sBlocklistRootMenu = new(std::nothrow) BlocklistRootMenu;
safeMenu->AddItem(item = new(std::nothrow) MenuItem("Blocklist entries",
sBlocklistRootMenu));
safeMenu->AddItem(item = new(std::nothrow) MenuItem(
"Disable system components", sBlocklistRootMenu));
item->SetHelpText("Allows to select system files that shall be ignored. "
"Useful e.g. to disable drivers temporarily.");