1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:17:34 +00:00

Base+Userland: Apply Human Interface Guidelines to Object text

Corrects a slew of titles, buttons, labels, menu items and status bars
for capitalization, ellipses and punctuation.

Rewords a few actions and dialogs to use uniform language and
punctuation.
This commit is contained in:
thankyouverycool 2023-05-22 13:07:09 -04:00 committed by Andreas Kling
parent 024360e604
commit 02d94a303c
77 changed files with 195 additions and 188 deletions

View file

@ -54,7 +54,7 @@ ErrorOr<NonnullRefPtr<AutoplaySettingsWidget>> AutoplaySettingsWidget::create()
widget->m_add_website_button->on_click = [widget](unsigned) {
String text;
if (GUI::InputBox::show(widget->window(), text, "Website:"sv, "Add website to autoplay allowlist"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
if (GUI::InputBox::show(widget->window(), text, "Enter a website:"sv, "Add Autoplay Entry"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
widget->m_allowlist_model->add_domain(move(text));
widget->set_modified(true);
}

View file

@ -10,7 +10,7 @@
}
@GUI::GroupBox {
title: "Autoplay Allowlist"
title: "Autoplay allowlist"
layout: @GUI::VerticalBoxLayout {
margins: [8]
}
@ -28,7 +28,7 @@
@GUI::Button {
name: "add_website_button"
fixed_width: 100
text: "Add website..."
text: "Add Website..."
}
}
}

View file

@ -49,7 +49,7 @@
}
@GUI::Label {
text: "New Tab:"
text: "New tab:"
text_alignment: "CenterLeft"
fixed_width: 45
}

View file

@ -142,7 +142,7 @@ ErrorOr<NonnullRefPtr<ContentFilterSettingsWidget>> ContentFilterSettingsWidget:
widget->m_add_new_domain_button->on_click = [widget](unsigned) {
String text;
if (GUI::InputBox::show(widget->window(), text, "Domain:"sv, "Add domain to Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
if (GUI::InputBox::show(widget->window(), text, "Enter a domain:"sv, "Add Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
widget->m_domain_list_model->add_domain(move(text));
widget->set_modified(true);
}

View file

@ -10,7 +10,7 @@
}
@GUI::GroupBox {
title: "Domain List"
title: "Domain list"
layout: @GUI::VerticalBoxLayout {
margins: [8]
}
@ -28,7 +28,7 @@
@GUI::Button {
name: "add_new_domain_button"
fixed_width: 100
text: "Add domain..."
text: "Add Domain..."
}
}
}