00001 00014 #ifndef _Messages_h 00015 #define _Messages_h 00016 00017 #include <string> 00018 00019 using std::string; 00020 00021 const string ERROR_ED2K_LINK_CAPTION = "eDonkey Link"; 00022 const string ERROR_ED2K_LINK = "Error: ED2K: Invalid eDonkey Link!"; 00023 00024 const string ERROR_DUPLICATE_CAPTION = "Duplicate eDonkey Link"; 00025 const string ERROR_DUPLICATE = "Error: eDonkey Link entered already exist!"; 00026 00027 const string ERROR_INVALID_MD4_CAPTION = "MD4 harsh"; 00028 const string ERROR_INVALID_MD4 = "Error: Invalid MD4 harsh!"; 00029 00030 const string ERROR_MD4_NOT_IN_DB_CAPTION = "MD4 harsh not found in database"; 00031 const string ERROR_MD4_NOT_IN_DB = "MD4 harsh is not found in database.\nTo Modify, MD4 harsh must be in database.\nOtherwise, use Add button to add new entry."; 00032 00033 const string ERROR_MD4_IN_DB_CAPTION = "MD4 harsh found in database"; 00034 const string ERROR_MD4_IN_DB = "Error: MD4 harsh is found in database.\nTo Add, MD4 harsh must not be in database.\nOtherwise, use Modify button to modify an entry."; 00035 00036 const string ERROR_IMDB_URL_CAPTION = "IMDB URL"; 00037 const string ERROR_IMDB_URL = "Error: Invalid IMDB URL!"; 00038 00039 const string ERROR_NETCAT_CAPTION = "Netcat"; 00040 const string ERROR_NETCAT = "Error: Netcat is not install in your system.\nPlease install the program and try again."; 00041 00042 const string ERROR_AMULE_ED2KLINKS_NOT_EXIST_CAPTION = "aMule 'ed2k' protocol"; 00043 const string ERROR_AMULE_ED2KLINKS_NOT_EXIST = "Error: File ~/.aMule/ED2KLinks does not exist!"; 00044 00045 const string ERROR_AMULE_ED2KLINKS_NO_WRITE_CAPTION = "aMule 'ed2k' protocol"; 00046 const string ERROR_AMULE_ED2KLINKS_NO_WRITE = "Error: Can not write to file ~/.aMule/ED2KLinks!"; 00047 00048 // Database Error Messages. 00049 const string E_DELETE_DB_CAPTION = "Delete Database"; 00050 const string E_DELETE_DB = "Error: To delete, you must select a database!"; 00051 00052 const string E_NEW_EMPTY_DB_CAPTION = "New Database"; 00053 const string E_NEW_EMPTY_DB = "Error: To create a new database, you must type the name of the database in the 'Database name' entry field!"; 00054 00055 const string E_OPEN_DB_CAPTION = "Opend Database"; 00056 const string E_OPEN_DB = "Error: To open, you must select a database!"; 00057 00058 //const String ERROR_MYSQL_INIT_CAPTION = wxT("MySQL"); // Not likely to happen. 00059 //const String ERROR_MYSQL_INIT = wxT("Error: MySQL: Insufficient memory to allocate a new object!"); 00060 00061 00062 #endif // _Messages_h