small fixes

This commit is contained in:
arcan1s
2014-02-26 02:21:42 +04:00
parent 946b470d11
commit 0c219544b2
19 changed files with 333 additions and 208 deletions

View File

@ -36,14 +36,53 @@ void ErrorWindow::setMessage(int mess)
{
QString message;
switch(mess) {
case 0:
message = QApplication::translate("ErrorWindow", "Unknown error");
break;
case 1:
message = QApplication::translate("ErrorWindow", "Could not find components");
break;
case 2:
message = QApplication::translate("ErrorWindow", "Doesn't support yet");
message = QApplication::translate("ErrorWindow", "Does not support yet");
break;
case 3:
message = QApplication::translate("ErrorWindow", "Profile name is not set");
break;
case 4:
message = QApplication::translate("ErrorWindow", "Bind interfaces are not set");
break;
case 5:
message = QApplication::translate("ErrorWindow", "Description is not set");
break;
case 6:
message = QApplication::translate("ErrorWindow", "Ip settings are not set");
break;
case 7:
message = QApplication::translate("ErrorWindow", "Configuration file does not exist");
break;
case 8:
message = QApplication::translate("ErrorWindow", "Key is not set");
break;
case 9:
message = QApplication::translate("ErrorWindow", "Wireless settings are not set");
break;
case 10:
message = QApplication::translate("ErrorWindow", "Configuration file is not set");
break;
case 11:
message = QApplication::translate("ErrorWindow", "ESSID is not set");
break;
case 12:
message = QApplication::translate("ErrorWindow", "MAC address is incorrect");
break;
case 13:
message = QApplication::translate("ErrorWindow", "Session ID is not set");
break;
case 14:
message = QApplication::translate("ErrorWindow", "APN is not set");
break;
case 15:
message = QApplication::translate("ErrorWindow", "APN is not set");
break;
case 16:
message = QApplication::translate("ErrorWindow", "Empty user/group name");
break;
default:
message = QApplication::translate("ErrorWindow", "Unknown error");