diff --git a/src/apps/diskprobe/FileWindow.cpp b/src/apps/diskprobe/FileWindow.cpp index d0690e2210..a1e9e01cc3 100644 --- a/src/apps/diskprobe/FileWindow.cpp +++ b/src/apps/diskprobe/FileWindow.cpp @@ -31,7 +31,8 @@ FileWindow::FileWindow(BRect rect, entry_ref *ref, const BMessage *settings) BEntry entry(ref); struct stat stat; - if (entry.GetStat(&stat) == B_OK && (S_ISBLK(stat.st_mode) || S_ISCHR(stat.st_mode))) { + if (entry.GetStat(&stat) == B_OK && (S_ISBLK(stat.st_mode) + || S_ISCHR(stat.st_mode))) { BPath path(ref); SetTitle(path.Path()); } else if (entry.IsDirectory()) { @@ -80,12 +81,12 @@ FileWindow::FileWindow(BRect rect, entry_ref *ref, const BMessage *settings) // the ProbeView print menu items will be inserted here menu->AddSeparatorItem(); - menu->AddItem(new BMenuItem("About DiskProbe" B_UTF8_ELLIPSIS, + menu->AddItem(new BMenuItem(B_TRANSLATE("About DiskProbe" B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED))); menu->AddSeparatorItem(); - menu->AddItem(new BMenuItem(B_TRANSLATE("Quit"), new BMessage(B_QUIT_REQUESTED), - 'Q', B_COMMAND_KEY)); + menu->AddItem(new BMenuItem(B_TRANSLATE("Quit"), + new BMessage(B_QUIT_REQUESTED), 'Q', B_COMMAND_KEY)); menu->SetTargetForItems(be_app); item->SetTarget(this); menuBar->AddItem(menu);