From 9c01ee30da94f4fe78a278f89403a93ea0599352 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Fri, 8 Dec 2006 01:05:00 +0000 Subject: [PATCH] First in a series of revisions to improve the usability of the E-Mail prefs app. This one removes a number of edge-case options and rewords technical phrases git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19445 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/mail/Account.cpp | 2 +- src/preferences/mail/ConfigViews.cpp | 20 +-- src/preferences/mail/ConfigWindow.cpp | 187 +++++--------------------- src/preferences/mail/ConfigWindow.h | 2 +- 4 files changed, 42 insertions(+), 169 deletions(-) diff --git a/src/preferences/mail/Account.cpp b/src/preferences/mail/Account.cpp index f0594c9518..74da1f67f0 100644 --- a/src/preferences/mail/Account.cpp +++ b/src/preferences/mail/Account.cpp @@ -256,7 +256,7 @@ void Account::CreateInbound() (new BAlert( MDR_DIALECT_CHOICE ("E-mail","メール"), MDR_DIALECT_CHOICE ("Could not create inbound chain.","受信チェーンは作成できませんでした。"), - MDR_DIALECT_CHOICE ("Ok","了解")))->Go(); + MDR_DIALECT_CHOICE ("OK","了解")))->Go(); return; } fInbound->SetChainDirection(inbound); diff --git a/src/preferences/mail/ConfigViews.cpp b/src/preferences/mail/ConfigViews.cpp index b70acfd8b0..26c399b9d6 100644 --- a/src/preferences/mail/ConfigViews.cpp +++ b/src/preferences/mail/ConfigViews.cpp @@ -49,7 +49,7 @@ AccountConfigView::AccountConfigView(BRect rect,Account *account) : BBox(rect), fAccount(account) { - SetLabel(MDR_DIALECT_CHOICE ("Account Configuration","アカウント設定")); + SetLabel(MDR_DIALECT_CHOICE ("Account Settings","アカウント設定")); rect = Bounds().InsetByCopy(8,8); rect.top += 10; @@ -76,9 +76,9 @@ AccountConfigView::AccountConfigView(BRect rect,Account *account) BPopUpMenu *chainsPopUp = new BPopUpMenu(B_EMPTY_STRING); const char *chainModes[] = { - MDR_DIALECT_CHOICE ("Inbound Only","受信のみ"), - MDR_DIALECT_CHOICE ("Outbound Only","送信のみ"), - MDR_DIALECT_CHOICE ("Inbound & Outbound","送受信")}; + MDR_DIALECT_CHOICE ("Receive Mail Only","受信のみ"), + MDR_DIALECT_CHOICE ("Send Mail Only","送信のみ"), + MDR_DIALECT_CHOICE ("Send and Receive Mail","送受信")}; BMenuItem *item; for (int32 i = 0;i < 3;i++) chainsPopUp->AddItem(item = new BMenuItem(chainModes[i],new BMessage(kMsgAccountTypeChanged))); @@ -148,7 +148,7 @@ void AccountConfigView::UpdateViews() { if (BMenuItem *item = fTypeField->Menu()->FindMarked()) item->SetMarked(false); - fTypeField->Menu()->Superitem()->SetLabel(MDR_DIALECT_CHOICE ("