2003-02-18 22:58:48 +00:00
|
|
|
#include "gui_titles.h"
|
|
|
|
|
2003-10-01 04:48:51 +00:00
|
|
|
// TODO: the code is riddles with constants that are indices
|
|
|
|
// into these arrays. This is bad.
|
|
|
|
// Also can't these be made char* instead of char[256]s?
|
|
|
|
|
2003-02-18 22:58:48 +00:00
|
|
|
char g_szTabItems[MAX_TABS][256] = {
|
2003-02-27 09:21:22 +00:00
|
|
|
"Projects",
|
|
|
|
"Work",
|
|
|
|
"Transfers",
|
|
|
|
"Messages",
|
|
|
|
"Disk"
|
2003-02-18 22:58:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
char g_szColumnTitles[MAX_LIST_ID][MAX_COLS][256] = {
|
|
|
|
{"Project", "Account", "Total Credit", "Avg. Credit", "Resource Share", "", ""},
|
2003-08-09 00:17:17 +00:00
|
|
|
{"Project", "Application", "Name", "CPU time", "Progress", "To Completion", "Report Deadline", "Status"},
|
2003-02-25 00:41:38 +00:00
|
|
|
{"Project", "File", "Progress", "Size", "Time", "Speed", "Status"},
|
2003-02-18 22:58:48 +00:00
|
|
|
{"Project", "Time", "Message", "", "", "", ""}
|
|
|
|
};
|
|
|
|
|
|
|
|
char g_szUsageItems[MAX_USAGE_STR][256] = {
|
2003-06-03 21:30:40 +00:00
|
|
|
"Free space",
|
2003-06-23 18:49:17 +00:00
|
|
|
"Used space: non-BOINC",
|
2003-06-09 20:07:23 +00:00
|
|
|
"Used space: BOINC",
|
2004-08-06 20:43:31 +00:00
|
|
|
"Free space: BOINC",
|
2004-06-02 23:45:49 +00:00
|
|
|
"BOINC software",
|
2004-08-05 21:50:35 +00:00
|
|
|
"BOINC free space",
|
2003-02-18 22:58:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
char g_szMiscItems[MAX_MISC_STR][256] = {
|
2003-02-27 09:21:22 +00:00
|
|
|
"New",
|
|
|
|
"Running",
|
|
|
|
"Ready to run",
|
2003-11-03 03:31:24 +00:00
|
|
|
"Computation error", // Computation done
|
2003-11-03 03:31:25 +00:00
|
|
|
"Ready to report", // Results uploaded / Files uploaded
|
2003-02-27 09:21:22 +00:00
|
|
|
"Acknowledged",
|
|
|
|
"Error: invalid state",
|
|
|
|
"Completed",
|
|
|
|
"Uploading",
|
|
|
|
"Downloading",
|
|
|
|
"Retry in",
|
|
|
|
"Download failed",
|
2003-07-29 05:46:10 +00:00
|
|
|
"Upload failed",
|
2004-06-30 01:10:22 +00:00
|
|
|
"Suspended",
|
2004-09-02 23:06:14 +00:00
|
|
|
"Paused"
|
2003-02-18 22:58:48 +00:00
|
|
|
};
|