From e2d1e007c0bd7bc1efdaec87f2690cf776cac60d Mon Sep 17 00:00:00 2001 From: Joachim Seemer Date: Sat, 8 Aug 2009 07:45:06 +0000 Subject: [PATCH] Applied old patch by Urias (see #3209) improving strings in Terminal's preferences. Added a few more tidbits. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32205 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/AppearPrefView.cpp | 2 +- src/apps/terminal/PrefWindow.cpp | 2 +- src/apps/terminal/TermConst.h | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/apps/terminal/AppearPrefView.cpp b/src/apps/terminal/AppearPrefView.cpp index 66ee851c60..f7e417ddda 100644 --- a/src/apps/terminal/AppearPrefView.cpp +++ b/src/apps/terminal/AppearPrefView.cpp @@ -98,7 +98,7 @@ AppearancePrefView::AppearancePrefView(BRect frame, const char *name, AddChild(fFontSize); r.OffsetBy(-r.Width() - 10,r.Height() + 25); - fColorField = new BMenuField(r, "color", "Change:", + fColorField = new BMenuField(r, "color", "Color:", MakeMenu(MSG_COLOR_FIELD_CHANGED, color_tbl, color_tbl[0])); fColorField->SetDivider(StringWidth(fColorField->Label()) + 8.0); AddChild(fColorField); diff --git a/src/apps/terminal/PrefWindow.cpp b/src/apps/terminal/PrefWindow.cpp index c80941c7bd..34c78706ea 100644 --- a/src/apps/terminal/PrefWindow.cpp +++ b/src/apps/terminal/PrefWindow.cpp @@ -23,7 +23,7 @@ PrefWindow::PrefWindow(BMessenger messenger) - : BWindow(_CenteredRect(BRect(0, 0, 350, 215)), "Terminal Settings", + : BWindow(_CenteredRect(BRect(0, 0, 350, 215)), "Terminal Preferences", B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL, B_NOT_RESIZABLE|B_NOT_ZOOMABLE), fPreviousPref(new PrefHandler(PrefHandler::Default())), diff --git a/src/apps/terminal/TermConst.h b/src/apps/terminal/TermConst.h index f929b53381..828ca2b94f 100644 --- a/src/apps/terminal/TermConst.h +++ b/src/apps/terminal/TermConst.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2008, Haiku. + * Copyright 2001-2009, Haiku. * Copyright (c) 2003-4 Kian Duffy * Copyright (C) 1998,99 Kazuho Okui and Takashi Murai. * @@ -98,12 +98,12 @@ const char* const PREF_HALF_FONT_FAMILY = "Half Font Family"; const char* const PREF_HALF_FONT_STYLE = "Half Font Style"; const char* const PREF_HALF_FONT_SIZE = "Half Font Size"; -const char* const PREF_TEXT_FORE_COLOR = "Text Foreground Color"; -const char* const PREF_TEXT_BACK_COLOR = "Text Background Color"; -const char* const PREF_SELECT_FORE_COLOR = "Selection Foreground Color"; -const char* const PREF_SELECT_BACK_COLOR = "Selection Background Color"; -const char* const PREF_CURSOR_FORE_COLOR = "Cursor Foreground Color"; -const char* const PREF_CURSOR_BACK_COLOR = "Cursor Background Color"; +const char* const PREF_TEXT_FORE_COLOR = "Text"; +const char* const PREF_TEXT_BACK_COLOR = "Background"; +const char* const PREF_SELECT_FORE_COLOR = "Selected Text"; +const char* const PREF_SELECT_BACK_COLOR = "Selected Background"; +const char* const PREF_CURSOR_FORE_COLOR = "Cursor Text"; +const char* const PREF_CURSOR_BACK_COLOR = "Cursor Background"; const char* const PREF_IM_FORE_COLOR = "IM Foreground Color"; const char* const PREF_IM_BACK_COLOR = "IM Background Color"; @@ -119,7 +119,7 @@ const char* const PREF_ANSI_CYAN_COLOR = "ANSI Cyan Color"; const char* const PREF_ANSI_WHITE_COLOR = "ANSI White Color"; const char* const PREF_HISTORY_SIZE = "History Size"; -const char* const PREF_CURSOR_BLINKING = "Cursor Blinking rate"; +const char* const PREF_CURSOR_BLINKING = "Cursor Blinking Rate"; const char* const PREF_IM_AWARE = "Input Method Aware"; @@ -127,7 +127,7 @@ const char* const PREF_COLS = "Cols"; const char* const PREF_ROWS = "Rows"; const char* const PREF_SHELL = "Shell"; -const char* const PREF_TEXT_ENCODING = "Text encoding"; +const char* const PREF_TEXT_ENCODING = "Text Encoding"; const char* const PREF_GUI_LANGUAGE = "Language"; // Color type