1 #include "constants.h" 2 3 // ------------------------------------------------------ 4 // PoorMan Window 5 extern const char* STR_APP_SIG 6 = "application/x-vnd.haiku.PoorMan"; 7 char* STR_APP_NAME 8 = "PoorMan"; 9 extern const char* STR_ERR_WEB_DIR 10 = "You have not yet selected the folder you want PoorMan " 11 "to publish on the Web. PoorMan can create a " 12 "\"public_html\" folder in your home folder or you can select " 13 "one of your own folders to publish.\n\n" 14 "Do you wish to select a folder to publish on the Web?"; 15 extern const char* STR_ERR_CANT_START 16 = "Can't Start the Server"; 17 18 extern const char* STR_MNU_FILE 19 = "File"; 20 extern const char* STR_MNU_FILE_SAVE_AS 21 = "Save Console As..."; 22 extern const char* STR_MNU_FILE_SAVE_SELECTION 23 = "Save Console Selections As..."; 24 extern const char* STR_MNU_FILE_ABOUT 25 = "About PoorMan"; 26 extern const char* STR_MNU_FILE_QUIT 27 = "Quit"; 28 extern const char* STR_MNU_EDIT 29 = "Edit"; 30 extern const char* STR_MNU_EDIT_COPY 31 = "Copy"; 32 extern const char* STR_MNU_EDIT_SELECT_ALL 33 = "Select All"; 34 extern const char* STR_MNU_EDIT_PREF 35 = "Preferences..."; 36 extern const char* STR_MNU_CTRL 37 = "Controls"; 38 extern const char* STR_MNU_CTRL_RUN_SERVER 39 = "Run Server"; 40 extern const char* STR_MNU_CTRL_CLEAR_HIT_COUNTER 41 = "Clear Hit Counter"; 42 extern const char* STR_MNU_CTRL_CLEAR_CONSOLE 43 = "Clear Console Log"; 44 extern const char* STR_MNU_CTRL_CLEAR_LOG_FILE 45 = "Clear Log File"; 46 47 extern const char* STR_FILEPANEL_SAVE_CONSOLE 48 = "Save Log Console"; 49 extern const char* STR_FILEPANEL_SAVE_CONSOLE_SELECTION 50 = "Save Log Console Selection"; 51 extern const char* STR_TXT_VIEW 52 = "Logging View"; 53 54 // ------------------------------------------------------ 55 // Preferences Window 56 char* STR_WIN_NAME_PREF 57 = "PoorMan Settings"; 58 59 extern const char* STR_SETTINGS_FILE_PATH 60 = "/boot/home/config/settings/PoorMan Settings"; 61 extern const char* STR_SETTINGS_NEW_FILE_PATH 62 = "/boot/home/config/settings/OBOS PoorMan Settings"; 63 64 extern const char* STR_TAB_SITE 65 = "Site"; 66 extern const char* STR_BBX_LOCATION 67 = "Web Site Location"; 68 extern const char* STR_TXT_DIRECTORY 69 = "Web Directory:"; 70 extern const char* STR_BTN_DIRECTORY 71 = "Select Web Directory"; 72 extern const char* STR_TXT_INDEX 73 = "Index File Name:"; 74 extern const char* STR_BBX_OPTIONS 75 = "Web Site Options"; 76 extern const char* STR_CBX_DIR_LIST 77 = "Send Directory List if No Index"; 78 extern const char* STR_CBX_DIR_LIST_LABEL 79 = "Send Directory List if No Index"; 80 extern const char* STR_FILEPANEL_SELECT_WEB_DIR 81 = "Select Web Directory"; 82 83 extern const char* STR_TAB_LOGGING 84 = "Logging"; 85 extern const char* STR_BBX_CONSOLE_LOGGING 86 = "Console Logging"; 87 extern const char* STR_CBX_LOG_CONSOLE 88 = "Log to Console"; 89 extern const char* STR_BBX_FILE_LOGGING 90 = "File Logging"; 91 extern const char* STR_CBX_LOG_FILE 92 = "Log to File"; 93 extern const char* STR_TXT_LOG_FILE_NAME 94 = "Log File Name:"; 95 extern const char* STR_BTN_CREATE_LOG_FILE 96 = "Create Log File"; 97 extern const char* STR_FILEPANEL_CREATE_LOG_FILE 98 = "Create Poor Man Log"; 99 100 extern const char* STR_TAB_ADVANCED 101 = "Advanced"; 102 extern const char* STR_BBX_CONNECTION 103 = "Connections Options"; 104 extern const char* STR_SLD_LABEL 105 = "Maximum Simultaneous Connections:"; 106 char* STR_SLD_STATUS_LABEL 107 = "connections"; 108 109 extern const char CMD_FILE_SAVE_AS 110 = 'S'; 111 extern const char CMD_FILE_QUIT 112 = 'Q'; 113 extern const char CMD_EDIT_COPY 114 = 'C'; 115 extern const char CMD_EDIT_SELECT_ALL 116 = 'A'; 117 118 extern const char* STR_ABOUT_TITLE 119 = "About PoorMan"; 120 extern const char* STR_ABOUT_BUTTON 121 = "OK"; 122 extern const char* STR_ABOUT_DESC 123 = "Poor Man's Web Server\n" 124 "Copyright © 2004 Haiku\n" 125 "All rights reserved.\n\n" 126 "Written by: Philip Harrison"; 127 128 // -------------------------------- 129 extern const rgb_color WHITE = { 255, 255, 255, 255 }; 130 extern const rgb_color GRAY = { 184, 184, 184, 255 }; 131 extern const rgb_color BACKGROUND_COLOR = { 216, 216, 216, 255 }; 132 extern const rgb_color BLACK = { 0, 0, 0, 255 }; 133