mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +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:
parent
024360e604
commit
02d94a303c
77 changed files with 195 additions and 188 deletions
|
@ -92,12 +92,12 @@ BarsVisualizationWidget::BarsVisualizationWidget()
|
|||
, m_logarithmic_spectrum(true)
|
||||
{
|
||||
m_context_menu = GUI::Menu::construct();
|
||||
auto frequency_energy_action = GUI::Action::create_checkable("Adjust frequency energy (for aesthetics)", [&](GUI::Action& action) {
|
||||
auto frequency_energy_action = GUI::Action::create_checkable("Adjust Frequency Energy", [&](GUI::Action& action) {
|
||||
m_adjust_frequencies = action.is_checked();
|
||||
});
|
||||
frequency_energy_action->set_checked(true);
|
||||
m_context_menu->add_action(frequency_energy_action);
|
||||
auto logarithmic_spectrum_action = GUI::Action::create_checkable("Scale spectrum logarithmically", [&](GUI::Action& action) {
|
||||
auto logarithmic_spectrum_action = GUI::Action::create_checkable("Scale Spectrum Logarithmically", [&](GUI::Action& action) {
|
||||
m_logarithmic_spectrum = action.is_checked();
|
||||
});
|
||||
logarithmic_spectrum_action->set_checked(true);
|
||||
|
|
|
@ -62,7 +62,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto file_menu = TRY(window->try_add_menu("&File"_short_string));
|
||||
TRY(file_menu->try_add_action(GUI::CommonActions::make_open_action([&](auto&) {
|
||||
Optional<DeprecatedString> path = GUI::FilePicker::get_open_filepath(window, "Open sound file...");
|
||||
Optional<DeprecatedString> path = GUI::FilePicker::get_open_filepath(window);
|
||||
if (path.has_value()) {
|
||||
player->play_file_path(path.value());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue