Author: stippi Date: 2010-01-13 13:06:51 +0100 (Wed, 13 Jan 2010) New Revision: 35048 Changeset: http://dev.haiku-os.org/changeset/35048/haiku Ticket: http://dev.haiku-os.org/ticket/5169 Modified: haiku/trunk/src/kits/tracker/FSUtils.cpp haiku/trunk/src/kits/tracker/StatusWindow.cpp Log: Patch by Humdinger: Changed strings to sentence case in the rest of the Tracker code. Remaining part of case-tracker.diff from #5169. Modified: haiku/trunk/src/kits/tracker/FSUtils.cpp =================================================================== --- haiku/trunk/src/kits/tracker/FSUtils.cpp 2010-01-13 12:03:25 UTC (rev 35047) +++ haiku/trunk/src/kits/tracker/FSUtils.cpp 2010-01-13 12:06:51 UTC (rev 35048) @@ -1755,7 +1755,7 @@ sprintf(replaceMsg, kReplaceManyStr, verb, verb); BAlert *alert = new BAlert("", replaceMsg, - "Cancel", "Prompt", "Replace All"); + "Cancel", "Prompt", "Replace all"); alert->SetShortcut(0, B_ESCAPE); switch (alert->Go()) { case 0: @@ -1891,7 +1891,7 @@ // special case single collision (don't need Replace All shortcut) BAlert *alert; if (multipleCollisions || sourceIsDirectory) { - alert = new BAlert("", replaceMsg, "Skip", "Replace All"); + alert = new BAlert("", replaceMsg, "Skip", "Replace all"); } else { alert = new BAlert("", replaceMsg, "Cancel", "Replace"); alert->SetShortcut(0, B_ESCAPE); @@ -2605,7 +2605,7 @@ } if (err != kTrashCanceled && err != kUserCanceled && err != B_OK) - (new BAlert("", "Error Deleting items", "OK", NULL, NULL, + (new BAlert("", "Error deleting items", "OK", NULL, NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(); } if (gStatusWindow) @@ -2796,7 +2796,7 @@ status_t result = dir.InitCheck(); if (result == B_OK) { char name[B_FILE_NAME_LENGTH]; - strcpy(name, "New Folder"); + strcpy(name, "New folder"); int32 fnum = 1; while (dir.Contains(name)) { @@ -2804,9 +2804,9 @@ // ToDo: // move this logic ot FSMakeOriginalName if (++fnum > 9) - sprintf(name, "New Folder%ld", fnum); + sprintf(name, "New folder%ld", fnum); else - sprintf(name, "New Folder %ld", fnum); + sprintf(name, "New folder %ld", fnum); } BDirectory newDir; @@ -3206,7 +3206,7 @@ alternative = kFindApplicationStr; } else if (error == B_LAUNCH_FAILED_APP_IN_TRASH) { alertString << "Could not open \"" << documentRef.name - << "\" because application \"" << app.name << "\" is in the trash. "; + << "\" because application \"" << app.name << "\" is in the Trash. "; alternative = kFindAlternativeStr; } else if (error == B_LAUNCH_FAILED_APP_NOT_FOUND) { alertString << "Could not open \"" << documentRef.name << "\" " Modified: haiku/trunk/src/kits/tracker/StatusWindow.cpp =================================================================== --- haiku/trunk/src/kits/tracker/StatusWindow.cpp 2010-01-13 12:03:25 UTC (rev 35047) +++ haiku/trunk/src/kits/tracker/StatusWindow.cpp 2010-01-13 12:06:51 UTC (rev 35048) @@ -146,7 +146,7 @@ BStatusWindow::BStatusWindow() : - BWindow(kStatusRect, "Tracker Status", B_TITLED_WINDOW, + BWindow(kStatusRect, "Tracker status", B_TITLED_WINDOW, B_NOT_CLOSABLE | B_NOT_RESIZABLE | B_NOT_ZOOMABLE, B_ALL_WORKSPACES), fRetainDesktopFocus(false) @@ -529,7 +529,7 @@ break; case kCreateLinkState: - fStatusBar->Reset("Creating Links: ", buffer.String()); + fStatusBar->Reset("Creating links: ", buffer.String()); break; case kMoveState: