diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2023-05-22 13:07:09 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-23 05:59:49 +0200 |
commit | 02d94a303c8c8329061e990dbe2e9914fae19965 (patch) | |
tree | 3277fa8de6c3b63adcca228269a4f6bacbc963bb /Userland/Libraries/LibGUI/TextEditor.cpp | |
parent | 024360e6049c7912cc4000833ba2876fef1b2b32 (diff) | |
download | serenity-02d94a303c8c8329061e990dbe2e9914fae19965.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/TextEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp index 77602ad05b..cf27d8adeb 100644 --- a/Userland/Libraries/LibGUI/TextEditor.cpp +++ b/Userland/Libraries/LibGUI/TextEditor.cpp @@ -96,9 +96,9 @@ void TextEditor::create_actions() m_paste_action->set_enabled(is_editable() && Clipboard::the().fetch_mime_type().starts_with("text/"sv)); if (is_multi_line()) { m_go_to_line_action = Action::create( - "Go to line...", { Mod_Ctrl, Key_L }, Gfx::Bitmap::load_from_file("/res/icons/16x16/go-to.png"sv).release_value_but_fixme_should_propagate_errors(), [this](auto&) { + "Go to Line...", { Mod_Ctrl, Key_L }, Gfx::Bitmap::load_from_file("/res/icons/16x16/go-to.png"sv).release_value_but_fixme_should_propagate_errors(), [this](auto&) { String value; - if (InputBox::show(window(), value, "Line:"sv, "Go to line"sv) == InputBox::ExecResult::OK) { + if (InputBox::show(window(), value, "Line:"sv, "Go to Line"sv) == InputBox::ExecResult::OK) { auto line_target = AK::StringUtils::convert_to_uint(value.bytes_as_string_view()); if (line_target.has_value()) { set_cursor_and_focus_line(line_target.value() - 1, 0); |