Applied patch by Humdinger (#5169): Changed GUI strings to sentence case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -21,10 +21,10 @@ MainWindow::GeneralPage::GeneralPage()
|
|||||||
fTeamCountView(NULL),
|
fTeamCountView(NULL),
|
||||||
fThreadCountView(NULL)
|
fThreadCountView(NULL)
|
||||||
{
|
{
|
||||||
fDataSourceView = AddDataView("Data Source:");
|
fDataSourceView = AddDataView("Data source:");
|
||||||
fCPUCountView = AddDataView("Number of CPUs:");
|
fCPUCountView = AddDataView("Number of CPUs:");
|
||||||
fRunTimeView = AddDataView("Total Time:");
|
fRunTimeView = AddDataView("Total time:");
|
||||||
fIdleTimeView = AddDataView("Idle Time:");
|
fIdleTimeView = AddDataView("Idle time:");
|
||||||
fTeamCountView = AddDataView("Teams:");
|
fTeamCountView = AddDataView("Teams:");
|
||||||
fThreadCountView = AddDataView("Threads:");
|
fThreadCountView = AddDataView("Threads:");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -478,21 +478,21 @@ public:
|
|||||||
int32 filteredCount = fFilterModel->CountSelectedItems();
|
int32 filteredCount = fFilterModel->CountSelectedItems();
|
||||||
int32 selectedCount = fSelectionModel->CountSelectedItems();
|
int32 selectedCount = fSelectionModel->CountSelectedItems();
|
||||||
|
|
||||||
BMenuItem* item = new BMenuItem("Hide Selected Threads",
|
BMenuItem* item = new BMenuItem("Hide selected threads",
|
||||||
new BMessage(MSG_SCHEDULING_FILTER_HIDE_SELECTED));
|
new BMessage(MSG_SCHEDULING_FILTER_HIDE_SELECTED));
|
||||||
contextMenu->AddItem(item);
|
contextMenu->AddItem(item);
|
||||||
item->SetTarget(this);
|
item->SetTarget(this);
|
||||||
if (selectedCount == 0 || selectedCount == filteredCount)
|
if (selectedCount == 0 || selectedCount == filteredCount)
|
||||||
item->SetEnabled(false);
|
item->SetEnabled(false);
|
||||||
|
|
||||||
item = new BMenuItem("Hide Unselected Threads",
|
item = new BMenuItem("Hide unselected threads",
|
||||||
new BMessage(MSG_SCHEDULING_FILTER_HIDE_UNSELECTED));
|
new BMessage(MSG_SCHEDULING_FILTER_HIDE_UNSELECTED));
|
||||||
contextMenu->AddItem(item);
|
contextMenu->AddItem(item);
|
||||||
item->SetTarget(this);
|
item->SetTarget(this);
|
||||||
if (selectedCount == 0 || selectedCount == filteredCount)
|
if (selectedCount == 0 || selectedCount == filteredCount)
|
||||||
item->SetEnabled(false);
|
item->SetEnabled(false);
|
||||||
|
|
||||||
item = new BMenuItem("Show All Threads",
|
item = new BMenuItem("Show all threads",
|
||||||
new BMessage(MSG_SCHEDULING_FILTER_SHOW_ALL));
|
new BMessage(MSG_SCHEDULING_FILTER_SHOW_ALL));
|
||||||
contextMenu->AddItem(item);
|
contextMenu->AddItem(item);
|
||||||
item->SetTarget(this);
|
item->SetTarget(this);
|
||||||
@@ -899,7 +899,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
text << "\n\n";
|
text << "\n\n";
|
||||||
text << "Running Threads:";
|
text << "Running threads:";
|
||||||
for (int32 i = 0; i < cpuCount; i++) {
|
for (int32 i = 0; i < cpuCount; i++) {
|
||||||
text << "\n " << i << ": ";
|
text << "\n " << i << ": ";
|
||||||
if (Model::Thread* thread = runningThreads[i])
|
if (Model::Thread* thread = runningThreads[i])
|
||||||
|
|||||||
@@ -133,21 +133,21 @@ MainWindow::ThreadsPage::ThreadsPage(MainWindow* parent)
|
|||||||
1000, false, B_TRUNCATE_MIDDLE, B_ALIGN_RIGHT));
|
1000, false, B_TRUNCATE_MIDDLE, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new Int64TableColumn(5, "Runs", 80, 20, 1000,
|
fThreadsTable->AddColumn(new Int64TableColumn(5, "Runs", 80, 20, 1000,
|
||||||
B_TRUNCATE_END, B_ALIGN_RIGHT));
|
B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new NanotimeTableColumn(6, "Run Time", 80, 20,
|
fThreadsTable->AddColumn(new NanotimeTableColumn(6, "Run time", 80, 20,
|
||||||
1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new Int64TableColumn(7, "Latencies", 80, 20, 1000,
|
fThreadsTable->AddColumn(new Int64TableColumn(7, "Latencies", 80, 20, 1000,
|
||||||
B_TRUNCATE_END, B_ALIGN_RIGHT));
|
B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new NanotimeTableColumn(8, "Latency Time", 80, 20,
|
fThreadsTable->AddColumn(new NanotimeTableColumn(8, "Latency time", 80, 20,
|
||||||
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new Int64TableColumn(9, "Preemptions", 80, 20,
|
fThreadsTable->AddColumn(new Int64TableColumn(9, "Preemptions", 80, 20,
|
||||||
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new NanotimeTableColumn(10, "Preemption Time", 80,
|
fThreadsTable->AddColumn(new NanotimeTableColumn(10, "Preemption time", 80,
|
||||||
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new Int64TableColumn(11, "Waits", 80, 20,
|
fThreadsTable->AddColumn(new Int64TableColumn(11, "Waits", 80, 20,
|
||||||
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new NanotimeTableColumn(12, "Wait Time", 80,
|
fThreadsTable->AddColumn(new NanotimeTableColumn(12, "Wait time", 80,
|
||||||
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new NanotimeTableColumn(13, "Unspecified Time", 80,
|
fThreadsTable->AddColumn(new NanotimeTableColumn(13, "Unspecified time", 80,
|
||||||
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
20, 1000, false, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
fThreadsTable->AddColumn(new Int64TableColumn(14, "I/O Count", 80, 20,
|
fThreadsTable->AddColumn(new Int64TableColumn(14, "I/O Count", 80, 20,
|
||||||
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
1000, B_TRUNCATE_END, B_ALIGN_RIGHT));
|
||||||
|
|||||||
@@ -352,17 +352,17 @@ ThreadWindow::ActivityPage::ActivityPage()
|
|||||||
.Add(new BScrollView("activity scroll", fActivityChart, 0, true, false))
|
.Add(new BScrollView("activity scroll", fActivityChart, 0, true, false))
|
||||||
.AddStrut(20)
|
.AddStrut(20)
|
||||||
.Add(BGridLayoutBuilder()
|
.Add(BGridLayoutBuilder()
|
||||||
.Add(fRunTimeCheckBox = new ColorCheckBox("Run Time", kRunTimeColor,
|
.Add(fRunTimeCheckBox = new ColorCheckBox("Run time", kRunTimeColor,
|
||||||
new BMessage(MSG_CHECK_BOX_RUN_TIME)),
|
new BMessage(MSG_CHECK_BOX_RUN_TIME)),
|
||||||
0, 0)
|
0, 0)
|
||||||
.Add(fWaitTimeCheckBox = new ColorCheckBox("Wait Time",
|
.Add(fWaitTimeCheckBox = new ColorCheckBox("Wait time",
|
||||||
kWaitTimeColor, new BMessage(MSG_CHECK_BOX_WAIT_TIME)),
|
kWaitTimeColor, new BMessage(MSG_CHECK_BOX_WAIT_TIME)),
|
||||||
1, 0)
|
1, 0)
|
||||||
.Add(fPreemptionTimeCheckBox = new ColorCheckBox("Preemption Time",
|
.Add(fPreemptionTimeCheckBox = new ColorCheckBox("Preemption time",
|
||||||
kPreemptionTimeColor,
|
kPreemptionTimeColor,
|
||||||
new BMessage(MSG_CHECK_BOX_PREEMPTION_TIME)),
|
new BMessage(MSG_CHECK_BOX_PREEMPTION_TIME)),
|
||||||
0, 1)
|
0, 1)
|
||||||
.Add(fLatencyTimeCheckBox = new ColorCheckBox("Latency Time",
|
.Add(fLatencyTimeCheckBox = new ColorCheckBox("Latency time",
|
||||||
kLatencyTimeColor,
|
kLatencyTimeColor,
|
||||||
new BMessage(MSG_CHECK_BOX_LATENCY_TIME)),
|
new BMessage(MSG_CHECK_BOX_LATENCY_TIME)),
|
||||||
1, 1)
|
1, 1)
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ ThreadWindow::GeneralPage::GeneralPage()
|
|||||||
fThreadNameView = AddDataView("Name:");
|
fThreadNameView = AddDataView("Name:");
|
||||||
fThreadIDView = AddDataView("ID:");
|
fThreadIDView = AddDataView("ID:");
|
||||||
fTeamView = AddDataView("Team:");
|
fTeamView = AddDataView("Team:");
|
||||||
fRunTimeView = AddDataView("Run Time:");
|
fRunTimeView = AddDataView("Run time:");
|
||||||
fWaitTimeView = AddDataView("Wait Time:");
|
fWaitTimeView = AddDataView("Wait time:");
|
||||||
fLatencyView = AddDataView("Latencies:");
|
fLatencyView = AddDataView("Latencies:");
|
||||||
fPreemptionView = AddDataView("Preemptions:");
|
fPreemptionView = AddDataView("Preemptions:");
|
||||||
fUnspecifiedTimeView = AddDataView("Unspecified Time:");
|
fUnspecifiedTimeView = AddDataView("Unspecified time:");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user