Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41269 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Siarzhuk Zharski 2011-04-19 20:11:41 +00:00
parent d0c2d8e437
commit dfd93e239f
2 changed files with 4 additions and 3 deletions

View File

@ -143,7 +143,7 @@ MainWindow::MessageReceived(BMessage* message)
status_t ret = be_roster->Launch(button->Ref());
if (ret < B_OK && ret != B_ALREADY_RUNNING) {
BString errStr(B_TRANSLATE("Failed to launch '%1'.\n"
"\nError:"));
"\nError: "));
BPath path(button->Ref());
if (path.InitCheck() >= B_OK)
errStr.ReplaceFirst("%1", path.Path());
@ -159,7 +159,7 @@ MainWindow::MessageReceived(BMessage* message)
status_t ret = be_roster->Launch(button->AppSignature());
if (ret != B_OK && ret != B_ALREADY_RUNNING) {
BString errStr(B_TRANSLATE("Failed to launch application "
"with signature '%2'.\n\nError:"));
"with signature '%2'.\n\nError: "));
errStr.ReplaceFirst("%2", button->AppSignature());
errorMessage << errStr.String() << " ";
errorMessage << strerror(ret);

View File

@ -345,7 +345,8 @@ THeaderView::THeaderView(BRect rect, BRect windowRect, bool incoming,
item->SetMarked(true);
fAccountID = item->Message()->FindInt32("id");
} else {
fAccountMenu->AddItem(item = new BMenuItem("<none>",NULL));
fAccountMenu->AddItem(
item = new BMenuItem(B_TRANSLATE("<none>"), NULL));
item->SetEnabled(false);
fAccountID = ~0UL;
}