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