Terminal: Menu "Theme settings..." -> "Colors..."

"Colors" is simpler, better translatable and currently more
correct. A "theme" is broader, including backgrounds, fonts,
mouse cursor, sounds etc.
For a Terminal it's mostly colours. Fonts are being handled in
the "Settings" panel.

Change-Id: Icf043fffbc64d976db7a71c28c41aeea0cdf44e6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5999
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
Humdinger 2023-01-14 10:11:45 +01:00 committed by Jessica Hamilton
parent 979de7d73d
commit 281ece0b8a
2 changed files with 3 additions and 3 deletions

View File

@ -543,7 +543,7 @@ TermWindow::_SetupMenu()
.AddSeparator()
.AddItem(B_TRANSLATE("Settings" B_UTF8_ELLIPSIS), MENU_PREF_OPEN,
',')
.AddItem(B_TRANSLATE("Theme settings" B_UTF8_ELLIPSIS), MENU_THEME_OPEN)
.AddItem(B_TRANSLATE("Colors" B_UTF8_ELLIPSIS), MENU_THEME_OPEN)
.End();
AddChild(fMenuBar);

View File

@ -36,7 +36,7 @@ const uint32 MSG_REVERT_PRESSED = 'revt';
ThemeWindow::ThemeWindow(const BMessenger& messenger)
:
BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Theme settings"), B_TITLED_WINDOW,
BWindow(BRect(0, 0, 0, 0), B_TRANSLATE_SYSTEM_NAME("Colors"), B_TITLED_WINDOW,
B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS),
fPreviousPref(new PrefHandler(PrefHandler::Default())),
fSavePanel(NULL),
@ -53,7 +53,7 @@ ThemeWindow::ThemeWindow(const BMessenger& messenger)
B_TRANSLATE("Save to file" B_UTF8_ELLIPSIS),
new BMessage(MSG_SAVEAS_PRESSED), B_WILL_DRAW);
fThemeView = new ThemeView(B_TRANSLATE("Theme"), fTerminalMessenger);
fThemeView = new ThemeView("Theme", fTerminalMessenger);
BLayoutBuilder::Group<>(this, B_VERTICAL, 0)
.SetInsets(B_USE_WINDOW_SPACING)