PoorMan: better labelling of button
According to the HIG, button labels should be verbs implying actions. Replace the "default" button with "create public_html", which is what will happen if you click it. Thanks to KapiX for the suggestion.
This commit is contained in:
@@ -548,7 +548,7 @@ PoorManWindow::DefaultSettings()
|
|||||||
serverAlert->SetFlags(serverAlert->Flags() | B_CLOSE_ON_ESCAPE);
|
serverAlert->SetFlags(serverAlert->Flags() | B_CLOSE_ON_ESCAPE);
|
||||||
BAlert* dirAlert = new BAlert(B_TRANSLATE("Error Dir"),
|
BAlert* dirAlert = new BAlert(B_TRANSLATE("Error Dir"),
|
||||||
STR_ERR_WEB_DIR, B_TRANSLATE("Cancel"), B_TRANSLATE("Select"),
|
STR_ERR_WEB_DIR, B_TRANSLATE("Cancel"), B_TRANSLATE("Select"),
|
||||||
B_TRANSLATE("Default"), B_WIDTH_AS_USUAL, B_OFFSET_SPACING);
|
B_TRANSLATE("Create public_html"), B_WIDTH_AS_USUAL, B_OFFSET_SPACING);
|
||||||
dirAlert->SetShortcut(0, B_ESCAPE);
|
dirAlert->SetShortcut(0, B_ESCAPE);
|
||||||
int32 buttonIndex = dirAlert->Go();
|
int32 buttonIndex = dirAlert->Go();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user