diff --git a/src/accountstatusmodel.cpp b/src/accountstatusmodel.cpp index 2892d20e7c236db1af7798b75d888d3ba95158fd..e7dbb529dbfb7e27d02d8d6b16bee2204efe891e 100644 --- a/src/accountstatusmodel.cpp +++ b/src/accountstatusmodel.cpp @@ -68,287 +68,18 @@ public: //Attributes Account* m_pAccount; QVector<AccountStatusRow*> m_lRows; - static QHash<int,QString> m_shKnownErrors; - static const QString DEFAULT_PJ_MESSAGE; - static const QString DEFAULT_USER_MESSAGE; }; -QHash<int,QString> AccountStatusModelPrivate::m_shKnownErrors; -const QString AccountStatusModelPrivate::DEFAULT_USER_MESSAGE = QObject::tr("Unhandled error"); -const QString AccountStatusModelPrivate::DEFAULT_PJ_MESSAGE = "Default status message"; - -#define PJ_SYS_ERR 12000 -#define PJ_SELF_ERR 17100 -#define SET_MESSAGE(code) AccountStatusModelPrivate::m_shKnownErrors[code]= -static void init_statuscode() -{ - if (AccountStatusModelPrivate::m_shKnownErrors.size()) - return; - - //The content of this list is mostly copy pasted from various pjproject - //header. This is done for translation reasons and eventually to associate - //error with account fields/properties - - //This set represent the standard ietf error code used for SIP[S] and HTTP[S] - SET_MESSAGE(100) QObject::tr("Trying" ); - SET_MESSAGE(180) QObject::tr("Ringing" ); - SET_MESSAGE(181) QObject::tr("Call Is Being Forwarded" ); - SET_MESSAGE(182) QObject::tr("Queued" ); - SET_MESSAGE(183) QObject::tr("Session Progress" ); - - SET_MESSAGE(200) QObject::tr("OK" ); - SET_MESSAGE(202) QObject::tr("Accepted" ); - - SET_MESSAGE(300) QObject::tr("Multiple Choices" ); - SET_MESSAGE(301) QObject::tr("Moved Permanently" ); - SET_MESSAGE(302) QObject::tr("Moved Temporarily" ); - SET_MESSAGE(305) QObject::tr("Use Proxy" ); - SET_MESSAGE(380) QObject::tr("Alternative Service" ); - - SET_MESSAGE(400) QObject::tr("Bad Request" ); - SET_MESSAGE(401) QObject::tr("Unauthorized" ); - SET_MESSAGE(402) QObject::tr("Payment Required" ); - SET_MESSAGE(403) QObject::tr("Forbidden" ); - SET_MESSAGE(404) QObject::tr("Not Found" ); - SET_MESSAGE(405) QObject::tr("Method Not Allowed" ); - SET_MESSAGE(406) QObject::tr("Not Acceptable" ); - SET_MESSAGE(407) QObject::tr("Proxy Authentication Required" ); - SET_MESSAGE(408) QObject::tr("Request Timeout" ); - SET_MESSAGE(410) QObject::tr("Gone" ); - SET_MESSAGE(413) QObject::tr("Request Entity Too Large" ); - SET_MESSAGE(414) QObject::tr("Request URI Too Long" ); - SET_MESSAGE(415) QObject::tr("Unsupported Media Type" ); - SET_MESSAGE(416) QObject::tr("Unsupported URI Scheme" ); - SET_MESSAGE(420) QObject::tr("Bad Extension" ); - SET_MESSAGE(421) QObject::tr("Extension Required" ); - SET_MESSAGE(422) QObject::tr("Session Timer Too Small" ); - SET_MESSAGE(423) QObject::tr("Interval Too Brief" ); - SET_MESSAGE(480) QObject::tr("Temporarily Unavailable" ); - SET_MESSAGE(481) QObject::tr("Call/Transaction Does Not Exist" ); - SET_MESSAGE(482) QObject::tr("Loop Detected" ); - SET_MESSAGE(483) QObject::tr("Too Many Hops" ); - SET_MESSAGE(484) QObject::tr("Address Incompleted" ); - SET_MESSAGE(485) QObject::tr("Ambiguous" ); - SET_MESSAGE(486) QObject::tr("Busy Here" ); - SET_MESSAGE(487) QObject::tr("Request Terminated" ); - SET_MESSAGE(488) QObject::tr("Not Acceptable Here" ); - SET_MESSAGE(489) QObject::tr("Bad Event" ); - SET_MESSAGE(490) QObject::tr("Request Updated" ); - SET_MESSAGE(491) QObject::tr("Request Pending" ); - SET_MESSAGE(493) QObject::tr("Undecipherable" ); - - SET_MESSAGE(500) QObject::tr("Internal Server Error" ); - SET_MESSAGE(501) QObject::tr("Not Implemented" ); - SET_MESSAGE(502) QObject::tr("Bad Gateway" ); - SET_MESSAGE(503) QObject::tr("Service Unavailable" ); - SET_MESSAGE(504) QObject::tr("Server Timeout" ); - SET_MESSAGE(505) QObject::tr("Version Not Supported" ); - SET_MESSAGE(513) QObject::tr("Message Too Large" ); - SET_MESSAGE(580) QObject::tr("Precondition Failure" ); - - SET_MESSAGE(600) QObject::tr("Busy Everywhere" ); - SET_MESSAGE(603) QObject::tr("Decline" ); - SET_MESSAGE(604) QObject::tr("Does Not Exist Anywhere" ); - SET_MESSAGE(606) QObject::tr("Not Acceptable" ); - - SET_MESSAGE(701) QObject::tr("No response from destination server" ); - SET_MESSAGE(702) QObject::tr("Unable to resolve destination server" ); - SET_MESSAGE(703) QObject::tr("Error sending message to destination server"); - - //This section match to POSIX error codes -#ifdef Q_OS_LINUX - SET_MESSAGE(PJ_SYS_ERR + EBFONT ) QObject::tr("Bad font file format" ); - SET_MESSAGE(PJ_SYS_ERR + ENONET ) QObject::tr("Machine is not on the network" ); - SET_MESSAGE(PJ_SYS_ERR + EADV ) QObject::tr("Advertise error" ); - SET_MESSAGE(PJ_SYS_ERR + ESRMNT ) QObject::tr("Srmount error" ); - SET_MESSAGE(PJ_SYS_ERR + ECOMM ) QObject::tr("Communication error on send" ); - SET_MESSAGE(PJ_SYS_ERR + EDOTDOT ) QObject::tr("RFS specific error" ); - SET_MESSAGE(PJ_SYS_ERR + ENOTUNIQ ) QObject::tr("Name not unique on network" ); - SET_MESSAGE(PJ_SYS_ERR + EBADFD ) QObject::tr("File descriptor in bad state" ); - SET_MESSAGE(PJ_SYS_ERR + EREMCHG ) QObject::tr("Remote address changed" ); - SET_MESSAGE(PJ_SYS_ERR + ELIBACC ) QObject::tr("Can not access a needed shared library" ); - SET_MESSAGE(PJ_SYS_ERR + ELIBBAD ) QObject::tr("Accessing a corrupted shared library" ); - SET_MESSAGE(PJ_SYS_ERR + ELIBMAX ) QObject::tr("Attempting to link in too many shared libraries" ); - SET_MESSAGE(PJ_SYS_ERR + ELIBEXEC ) QObject::tr("Cannot exec a shared library directly" ); - SET_MESSAGE(PJ_SYS_ERR + ERESTART ) QObject::tr("Interrupted system call should be restarted" ); - SET_MESSAGE(PJ_SYS_ERR + ESTRPIPE ) QObject::tr("Streams pipe error" ); - SET_MESSAGE(PJ_SYS_ERR + EUCLEAN ) QObject::tr("Structure needs cleaning" ); - SET_MESSAGE(PJ_SYS_ERR + ENOTNAM ) QObject::tr("Not a XENIX named type file" ); - SET_MESSAGE(PJ_SYS_ERR + ENAVAIL ) QObject::tr("No XENIX semaphores available" ); - SET_MESSAGE(PJ_SYS_ERR + EISNAM ) QObject::tr("Is a named type file" ); - SET_MESSAGE(PJ_SYS_ERR + EREMOTEIO ) QObject::tr("Remote I/O error" ); - SET_MESSAGE(PJ_SYS_ERR + ENOMEDIUM ) QObject::tr("No medium found" ); - SET_MESSAGE(PJ_SYS_ERR + EMEDIUMTYPE ) QObject::tr("Wrong medium type" ); - SET_MESSAGE(PJ_SYS_ERR + ENOKEY ) QObject::tr("Required key not available" ); - SET_MESSAGE(PJ_SYS_ERR + EKEYEXPIRED ) QObject::tr("Key has expired" ); - SET_MESSAGE(PJ_SYS_ERR + EKEYREVOKED ) QObject::tr("Key has been revoked" ); - SET_MESSAGE(PJ_SYS_ERR + EKEYREJECTED ) QObject::tr("Key was rejected by service" ); - SET_MESSAGE(PJ_SYS_ERR + EDQUOT ) QObject::tr("Quota exceeded" ); - SET_MESSAGE(PJ_SYS_ERR + ECANCELED ) QObject::tr("Operation Canceled" ); -#endif - SET_MESSAGE(PJ_SYS_ERR + ENOSTR ) QObject::tr("Device not a stream" ); - SET_MESSAGE(PJ_SYS_ERR + ENODATA ) QObject::tr("No data available" ); - SET_MESSAGE(PJ_SYS_ERR + ETIME ) QObject::tr("Timer expired" ); - SET_MESSAGE(PJ_SYS_ERR + ENOSR ) QObject::tr("Out of streams resources" ); - SET_MESSAGE(PJ_SYS_ERR + ENOLINK ) QObject::tr("Link has been severed" ); - SET_MESSAGE(PJ_SYS_ERR + EPROTO ) QObject::tr("Protocol error" ); - SET_MESSAGE(PJ_SYS_ERR + EMULTIHOP ) QObject::tr("Multihop attempted" ); - SET_MESSAGE(PJ_SYS_ERR + EBADMSG ) QObject::tr("Not a data message" ); - SET_MESSAGE(PJ_SYS_ERR + EOVERFLOW ) QObject::tr("Value too large for defined data type" ); - SET_MESSAGE(PJ_SYS_ERR + EILSEQ ) QObject::tr("Illegal byte sequence" ); - SET_MESSAGE(PJ_SYS_ERR + EUSERS ) QObject::tr("Too many users" ); - SET_MESSAGE(PJ_SYS_ERR + ENOTSOCK ) QObject::tr("Socket operation on non-socket" ); - SET_MESSAGE(PJ_SYS_ERR + EDESTADDRREQ ) QObject::tr("Destination address required" ); - SET_MESSAGE(PJ_SYS_ERR + EMSGSIZE ) QObject::tr("Message too long" ); - SET_MESSAGE(PJ_SYS_ERR + EPROTOTYPE ) QObject::tr("Protocol wrong type for socket" ); - SET_MESSAGE(PJ_SYS_ERR + ENOPROTOOPT ) QObject::tr("Protocol not available" ); - SET_MESSAGE(PJ_SYS_ERR + EPROTONOSUPPORT ) QObject::tr("Protocol not supported" ); - SET_MESSAGE(PJ_SYS_ERR + ESOCKTNOSUPPORT ) QObject::tr("Socket type not supported" ); - SET_MESSAGE(PJ_SYS_ERR + EOPNOTSUPP ) QObject::tr("Operation not supported on transport endpoint" ); - SET_MESSAGE(PJ_SYS_ERR + EPFNOSUPPORT ) QObject::tr("Protocol family not supported" ); - SET_MESSAGE(PJ_SYS_ERR + EAFNOSUPPORT ) QObject::tr("Address family not supported by protocol" ); - SET_MESSAGE(PJ_SYS_ERR + EADDRINUSE ) QObject::tr("Address already in use" ); - SET_MESSAGE(PJ_SYS_ERR + EADDRNOTAVAIL ) QObject::tr("Cannot assign requested address" ); - SET_MESSAGE(PJ_SYS_ERR + ENETDOWN ) QObject::tr("Network is down" ); - SET_MESSAGE(PJ_SYS_ERR + ENETUNREACH ) QObject::tr("Network is unreachable" ); - SET_MESSAGE(PJ_SYS_ERR + ENETRESET ) QObject::tr("Network dropped connection because of reset" ); - SET_MESSAGE(PJ_SYS_ERR + ECONNABORTED ) QObject::tr("Software caused connection abort" ); - SET_MESSAGE(PJ_SYS_ERR + ECONNRESET ) QObject::tr("Connection reset by peer" ); - SET_MESSAGE(PJ_SYS_ERR + ENOBUFS ) QObject::tr("No buffer space available" ); - SET_MESSAGE(PJ_SYS_ERR + EISCONN ) QObject::tr("Transport endpoint is already connected" ); - SET_MESSAGE(PJ_SYS_ERR + ENOTCONN ) QObject::tr("Transport endpoint is not connected" ); - SET_MESSAGE(PJ_SYS_ERR + ESHUTDOWN ) QObject::tr("Cannot send after transport endpoint shutdown" ); - SET_MESSAGE(PJ_SYS_ERR + ETOOMANYREFS ) QObject::tr("Too many references: cannot splice" ); - SET_MESSAGE(PJ_SYS_ERR + ETIMEDOUT ) QObject::tr("Connection timed out" ); - SET_MESSAGE(PJ_SYS_ERR + ECONNREFUSED ) QObject::tr("Connection refused" ); - SET_MESSAGE(PJ_SYS_ERR + EHOSTDOWN ) QObject::tr("Host is down" ); - SET_MESSAGE(PJ_SYS_ERR + EHOSTUNREACH ) QObject::tr("No route to host" ); - SET_MESSAGE(PJ_SYS_ERR + EALREADY ) QObject::tr("Operation already in progress" ); - SET_MESSAGE(PJ_SYS_ERR + EINPROGRESS ) QObject::tr("Operation now in progress" ); - SET_MESSAGE(PJ_SYS_ERR + ESTALE ) QObject::tr("Stale file handle" ); - - //The next sections represent pjproject specific errors - - /* Generic SIP errors */ - SET_MESSAGE(PJ_SELF_ERR + 01 ) QObject::tr("Object is busy" );/* PJSIP_EBUSY */ - SET_MESSAGE(PJ_SELF_ERR + 02 ) QObject::tr("Object with the same type exists" );/* PJSIP_ETYPEEXISTS */ - SET_MESSAGE(PJ_SELF_ERR + 03 ) QObject::tr("SIP stack shutting down" );/* PJSIP_ESHUTDOWN */ - SET_MESSAGE(PJ_SELF_ERR + 04 ) QObject::tr("SIP object is not initialized." );/* PJSIP_ENOTINITIALIZED */ - SET_MESSAGE(PJ_SELF_ERR + 05 ) QObject::tr("Missing route set (for tel: URI)" );/* PJSIP_ENOROUTESET */ - - /* Messaging errors */ - SET_MESSAGE(PJ_SELF_ERR + 20 ) QObject::tr("Invalid message/syntax error" );/* PJSIP_EINVALIDMSG */ - SET_MESSAGE(PJ_SELF_ERR + 21 ) QObject::tr("Expecting request message" );/* PJSIP_ENOTREQUESTMSG */ - SET_MESSAGE(PJ_SELF_ERR + 22 ) QObject::tr("Expecting response message" );/* PJSIP_ENOTRESPONSEMSG */ - SET_MESSAGE(PJ_SELF_ERR + 23 ) QObject::tr("Message too long" );/* PJSIP_EMSGTOOLONG */ - SET_MESSAGE(PJ_SELF_ERR + 24 ) QObject::tr("Partial message" );/* PJSIP_EPARTIALMSG */ - - SET_MESSAGE(PJ_SELF_ERR + 30 ) QObject::tr("Invalid/unexpected SIP status code" );/* PJSIP_EINVALIDSTATUS */ - - SET_MESSAGE(PJ_SELF_ERR + 39 ) QObject::tr("Invalid URI" );/* PJSIP_EINVALIDURI */ - SET_MESSAGE(PJ_SELF_ERR + 40 ) QObject::tr("Invalid URI scheme" );/* PJSIP_EINVALIDSCHEME */ - SET_MESSAGE(PJ_SELF_ERR + 41 ) QObject::tr("Missing Request-URI" );/* PJSIP_EMISSINGREQURI */ - SET_MESSAGE(PJ_SELF_ERR + 42 ) QObject::tr("Invalid Request URI" );/* PJSIP_EINVALIDREQURI */ - SET_MESSAGE(PJ_SELF_ERR + 43 ) QObject::tr("URI is too long" );/* PJSIP_EURITOOLONG */ - - SET_MESSAGE(PJ_SELF_ERR + 50 ) QObject::tr("Missing required header(s)" );/* PJSIP_EMISSINGHDR */ - SET_MESSAGE(PJ_SELF_ERR + 51 ) QObject::tr("Invalid header field" );/* PJSIP_EINVALIDHDR */ - SET_MESSAGE(PJ_SELF_ERR + 52 ) QObject::tr("Invalid Via header" );/* PJSIP_EINVALIDVIA */ - SET_MESSAGE(PJ_SELF_ERR + 53 ) QObject::tr("Multiple Via headers in response" );/* PJSIP_EMULTIPLEVIA */ - - SET_MESSAGE(PJ_SELF_ERR + 54 ) QObject::tr("Missing message body" );/* PJSIP_EMISSINGBODY */ - SET_MESSAGE(PJ_SELF_ERR + 55 ) QObject::tr("Invalid/unexpected method" );/* PJSIP_EINVALIDMETHOD */ - - /* Transport errors */ - SET_MESSAGE(PJ_SELF_ERR + 60 ) QObject::tr("Unsupported transport" );/* PJSIP_EUNSUPTRANSPORT */ - SET_MESSAGE(PJ_SELF_ERR + 61 ) QObject::tr("Transmit buffer already pending" );/* PJSIP_EPENDINGTX */ - SET_MESSAGE(PJ_SELF_ERR + 62 ) QObject::tr("Rx buffer overflow" );/* PJSIP_ERXOVERFLOW */ - SET_MESSAGE(PJ_SELF_ERR + 63 ) QObject::tr("Buffer destroyed" );/* PJSIP_EBUFDESTROYED */ - SET_MESSAGE(PJ_SELF_ERR + 64 ) QObject::tr("Unsuitable transport selected" );/* PJSIP_ETPNOTSUITABLE */ - SET_MESSAGE(PJ_SELF_ERR + 65 ) QObject::tr("Transport not available for use" );/* PJSIP_ETPNOTAVAIL */ - - /* Transaction errors */ - SET_MESSAGE(PJ_SELF_ERR + 70 ) QObject::tr("Transaction has been destroyed" );/* PJSIP_ETSXDESTROYED */ - SET_MESSAGE(PJ_SELF_ERR + 71 ) QObject::tr("No transaction is associated with the object " - "(expecting stateful processing)" );/* PJSIP_ENOTSX */ - - /* URI comparison status */ - SET_MESSAGE(PJ_SELF_ERR + 80 ) QObject::tr("URI scheme mismatch" );/* PJSIP_ECMPSCHEME */ - SET_MESSAGE(PJ_SELF_ERR + 81 ) QObject::tr("URI user part mismatch" );/* PJSIP_ECMPUSER */ - SET_MESSAGE(PJ_SELF_ERR + 82 ) QObject::tr("URI password part mismatch" );/* PJSIP_ECMPPASSWD */ - SET_MESSAGE(PJ_SELF_ERR + 83 ) QObject::tr("URI host part mismatch" );/* PJSIP_ECMPHOST */ - SET_MESSAGE(PJ_SELF_ERR + 84 ) QObject::tr("URI port mismatch" );/* PJSIP_ECMPPORT */ - SET_MESSAGE(PJ_SELF_ERR + 85 ) QObject::tr("URI transport param mismatch" );/* PJSIP_ECMPTRANSPORTPRM */ - SET_MESSAGE(PJ_SELF_ERR + 86 ) QObject::tr("URI ttl param mismatch" );/* PJSIP_ECMPTTLPARAM */ - SET_MESSAGE(PJ_SELF_ERR + 87 ) QObject::tr("URI user param mismatch" );/* PJSIP_ECMPUSERPARAM */ - SET_MESSAGE(PJ_SELF_ERR + 88 ) QObject::tr("URI method param mismatch" );/* PJSIP_ECMPMETHODPARAM */ - SET_MESSAGE(PJ_SELF_ERR + 89 ) QObject::tr("URI maddr param mismatch" );/* PJSIP_ECMPMADDRPARAM */ - SET_MESSAGE(PJ_SELF_ERR + 90 ) QObject::tr("URI other param mismatch" );/* PJSIP_ECMPOTHERPARAM */ - SET_MESSAGE(PJ_SELF_ERR + 91 ) QObject::tr("URI header parameter mismatch" );/* PJSIP_ECMPHEADERPARAM */ - - /* Authentication. */ - SET_MESSAGE(PJ_SELF_ERR + 100) QObject::tr("Credential failed to authenticate" );/* PJSIP_EFAILEDCREDENTIAL */ - SET_MESSAGE(PJ_SELF_ERR + 101) QObject::tr("No suitable credential" );/* PJSIP_ENOCREDENTIAL */ - SET_MESSAGE(PJ_SELF_ERR + 102) QObject::tr("Invalid/unsupported digest algorithm" );/* PJSIP_EINVALIDALGORITHM */ - SET_MESSAGE(PJ_SELF_ERR + 103) QObject::tr("Invalid/unsupported digest qop" );/* PJSIP_EINVALIDQOP */ - SET_MESSAGE(PJ_SELF_ERR + 104) QObject::tr("Unsupported authentication scheme" );/* PJSIP_EINVALIDAUTHSCHEME */ - SET_MESSAGE(PJ_SELF_ERR + 105) QObject::tr("No previous challenge" );/* PJSIP_EAUTHNOPREVCHAL */ - SET_MESSAGE(PJ_SELF_ERR + 106) QObject::tr("No suitable authorization header" );/* PJSIP_EAUTHNOAUTH */ - SET_MESSAGE(PJ_SELF_ERR + 107) QObject::tr("Account or credential not found" );/* PJSIP_EAUTHACCNOTFOUND */ - SET_MESSAGE(PJ_SELF_ERR + 108) QObject::tr("Account or credential is disabled" );/* PJSIP_EAUTHACCDISABLED */ - SET_MESSAGE(PJ_SELF_ERR + 109) QObject::tr("Invalid authorization realm" );/* PJSIP_EAUTHINVALIDREALM */ - SET_MESSAGE(PJ_SELF_ERR + 110) QObject::tr("Invalid authorization digest" );/* PJSIP_EAUTHINVALIDDIGEST */ - SET_MESSAGE(PJ_SELF_ERR + 111) QObject::tr("Maximum number of stale retries exceeded" );/* PJSIP_EAUTHSTALECOUNT */ - SET_MESSAGE(PJ_SELF_ERR + 112) QObject::tr("Invalid nonce value in authentication challenge" );/* PJSIP_EAUTHINNONCE */ - SET_MESSAGE(PJ_SELF_ERR + 113) QObject::tr("Invalid AKA credential" );/* PJSIP_EAUTHINAKACRED */ - SET_MESSAGE(PJ_SELF_ERR + 114) QObject::tr("No challenge is found" );/* PJSIP_EAUTHNOCHAL */ - - /* UA/dialog layer. */ - SET_MESSAGE(PJ_SELF_ERR + 120) QObject::tr("Missing From/To tag parameter" );/* PJSIP_EMISSINGTAG */ - SET_MESSAGE(PJ_SELF_ERR + 121) QObject::tr("Expecting REFER request" );/* PJSIP_ENOTREFER */ - SET_MESSAGE(PJ_SELF_ERR + 122) QObject::tr("Not associated with REFER subscription" );/* PJSIP_ENOREFERSESSION */ - - /* Invite session. */ - SET_MESSAGE(PJ_SELF_ERR + 140) QObject::tr("INVITE session already terminated" );/* PJSIP_ESESSIONTERMINATED */ - SET_MESSAGE(PJ_SELF_ERR + 141) QObject::tr("Invalid INVITE session state" );/* PJSIP_ESESSIONSTATE */ - SET_MESSAGE(PJ_SELF_ERR + 142) QObject::tr("Require secure session/transport" );/* PJSIP_ESESSIONINSECURE */ - - /* SSL errors */ - SET_MESSAGE(PJ_SELF_ERR + 160) QObject::tr("Unknown TLS error" );/* PJSIP_TLS_EUNKNOWN */ - SET_MESSAGE(PJ_SELF_ERR + 161) QObject::tr("Invalid SSL protocol method" );/* PJSIP_TLS_EINVMETHOD */ - SET_MESSAGE(PJ_SELF_ERR + 162) QObject::tr("Error loading/verifying SSL CA list file" );/* PJSIP_TLS_ECACERT */ - SET_MESSAGE(PJ_SELF_ERR + 163) QObject::tr("Error loading SSL certificate chain file" );/* PJSIP_TLS_ECERTFILE */ - SET_MESSAGE(PJ_SELF_ERR + 164) QObject::tr("Error adding private key from SSL certificate file" );/* PJSIP_TLS_EKEYFILE */ - SET_MESSAGE(PJ_SELF_ERR + 165) QObject::tr("Error setting SSL cipher list" );/* PJSIP_TLS_ECIPHER */ - SET_MESSAGE(PJ_SELF_ERR + 166) QObject::tr("Error creating SSL context" );/* PJSIP_TLS_ECTX */ - SET_MESSAGE(PJ_SELF_ERR + 167) QObject::tr("Error creating SSL connection object" );/* PJSIP_TLS_ESSLCONN */ - SET_MESSAGE(PJ_SELF_ERR + 168) QObject::tr("Unknown error when performing SSL connect()" );/* PJSIP_TLS_ECONNECT */ - SET_MESSAGE(PJ_SELF_ERR + 169) QObject::tr("Unknown error when performing SSL accept()" );/* PJSIP_TLS_EACCEPT */ - SET_MESSAGE(PJ_SELF_ERR + 170) QObject::tr("Unknown error when sending SSL data" );/* PJSIP_TLS_ESEND */ - SET_MESSAGE(PJ_SELF_ERR + 171) QObject::tr("Unknown error when reading SSL data" );/* PJSIP_TLS_EREAD */ - SET_MESSAGE(PJ_SELF_ERR + 172) QObject::tr("SSL negotiation has timed out" );/* PJSIP_TLS_ETIMEDOUT */ - SET_MESSAGE(PJ_SELF_ERR + 173) QObject::tr("SSL certificate verification error" );/* PJSIP_TLS_ECERTVERIF */ - -} -#undef SET_MESSAGE -#undef PJ_SELF_ERR -#undef PJ_SYS_ERR - AccountStatusRow::AccountStatusRow(const QString& _description, int _code, AccountStatusModel::Type _type): code(_code),counter(0), time(QDateTime::currentDateTime()),type(_type) { - description = AccountStatusModelPrivate::m_shKnownErrors[code]; - - if (AccountStatusModelPrivate::m_shKnownErrors[code].isEmpty()) - description = _description==AccountStatusModelPrivate::DEFAULT_PJ_MESSAGE? - AccountStatusModelPrivate::DEFAULT_USER_MESSAGE : _description; + description = _description; } AccountStatusModelPrivate::AccountStatusModelPrivate(Account* parent) : m_pAccount(parent) { - init_statuscode(); } AccountStatusModelPrivate::~AccountStatusModelPrivate() diff --git a/translations/lrc_en.ts b/translations/lrc_en.ts index e1c28997eeedb31446aabd2b4dd0cdec9e7a6a7e..0b0aded163ec813f74675a6249b88124fe8d0b5d 100644 --- a/translations/lrc_en.ts +++ b/translations/lrc_en.ts @@ -160,7 +160,7 @@ <message> <location filename="../src/call.cpp" line="685"/> <location filename="../src/call.cpp" line="767"/> - <location filename="../src/call.cpp" line="2001"/> + <location filename="../src/call.cpp" line="2002"/> <source>Conference</source> <translation type="unfinished"></translation> </message> @@ -195,7 +195,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/call.cpp" line="2009"/> + <location filename="../src/call.cpp" line="2007"/> <source>Account: </source> <translation type="unfinished"></translation> </message> @@ -219,12 +219,12 @@ <context> <name>CallPrivate</name> <message> - <location filename="../src/call.cpp" line="1596"/> + <location filename="../src/call.cpp" line="1597"/> <source>Failure</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/call.cpp" line="1609"/> + <location filename="../src/call.cpp" line="1610"/> <source>No account registered!</source> <translation type="unfinished"></translation> </message> @@ -237,7 +237,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/categorizedbookmarkmodel.cpp" line="303"/> + <location filename="../src/categorizedbookmarkmodel.cpp" line="302"/> <source>Contacts</source> <translation type="unfinished"></translation> </message> @@ -277,10 +277,10 @@ <context> <name>ContactMethod</name> <message> - <location filename="../src/contactmethod.cpp" line="477"/> - <location filename="../src/contactmethod.cpp" line="480"/> <location filename="../src/contactmethod.cpp" line="483"/> <location filename="../src/contactmethod.cpp" line="486"/> + <location filename="../src/contactmethod.cpp" line="489"/> + <location filename="../src/contactmethod.cpp" line="492"/> <source>N/A</source> <translation type="unfinished"></translation> </message> @@ -425,17 +425,17 @@ <context> <name>Media::RecordingModel</name> <message> - <location filename="../src/media/recordingmodel.cpp" line="148"/> + <location filename="../src/media/recordingmodel.cpp" line="149"/> <source>Recordings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/media/recordingmodel.cpp" line="218"/> + <location filename="../src/media/recordingmodel.cpp" line="219"/> <source>Text messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/media/recordingmodel.cpp" line="223"/> + <location filename="../src/media/recordingmodel.cpp" line="224"/> <source>Audio/Video</source> <translation type="unfinished"></translation> </message> @@ -653,1034 +653,22 @@ <context> <name>QObject</name> <message> - <location filename="../src/accountstatusmodel.cpp" line="77"/> - <source>Unhandled error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="93"/> - <source>Trying</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="94"/> - <source>Ringing</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="95"/> - <source>Call Is Being Forwarded</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="96"/> - <source>Queued</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="97"/> - <source>Session Progress</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="99"/> - <source>OK</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="100"/> - <source>Accepted</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="102"/> - <source>Multiple Choices</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="103"/> - <source>Moved Permanently</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="104"/> - <source>Moved Temporarily</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="105"/> - <source>Use Proxy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="106"/> - <source>Alternative Service</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="108"/> - <source>Bad Request</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="109"/> - <source>Unauthorized</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="110"/> - <source>Payment Required</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="111"/> - <source>Forbidden</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="112"/> - <source>Not Found</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="113"/> - <source>Method Not Allowed</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="114"/> - <location filename="../src/accountstatusmodel.cpp" line="152"/> - <source>Not Acceptable</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="115"/> - <source>Proxy Authentication Required</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="116"/> - <source>Request Timeout</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="117"/> - <source>Gone</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="118"/> - <source>Request Entity Too Large</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="119"/> - <source>Request URI Too Long</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="120"/> - <source>Unsupported Media Type</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="121"/> - <source>Unsupported URI Scheme</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="122"/> - <source>Bad Extension</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="123"/> - <source>Extension Required</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="124"/> - <source>Session Timer Too Small</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="125"/> - <source>Interval Too Brief</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="126"/> - <source>Temporarily Unavailable</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="127"/> - <source>Call/Transaction Does Not Exist</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="128"/> - <source>Loop Detected</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="129"/> - <source>Too Many Hops</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="130"/> - <source>Address Incompleted</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="131"/> - <source>Ambiguous</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="132"/> - <source>Busy Here</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="133"/> - <source>Request Terminated</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="134"/> - <source>Not Acceptable Here</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="135"/> - <source>Bad Event</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="136"/> - <source>Request Updated</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="137"/> - <source>Request Pending</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="138"/> - <source>Undecipherable</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="140"/> - <source>Internal Server Error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="141"/> - <source>Not Implemented</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="142"/> - <source>Bad Gateway</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="143"/> - <source>Service Unavailable</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="144"/> - <source>Server Timeout</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="145"/> - <source>Version Not Supported</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="146"/> - <source>Message Too Large</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="147"/> - <source>Precondition Failure</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="149"/> - <source>Busy Everywhere</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="150"/> - <source>Decline</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="151"/> - <source>Does Not Exist Anywhere</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="154"/> - <source>No response from destination server</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="155"/> - <source>Unable to resolve destination server</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="156"/> - <source>Error sending message to destination server</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="160"/> - <source>Bad font file format</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="161"/> - <source>Machine is not on the network</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="162"/> - <source>Advertise error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="163"/> - <source>Srmount error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="164"/> - <source>Communication error on send</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="165"/> - <source>RFS specific error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="166"/> - <source>Name not unique on network</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="167"/> - <source>File descriptor in bad state</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="168"/> - <source>Remote address changed</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="169"/> - <source>Can not access a needed shared library</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="170"/> - <source>Accessing a corrupted shared library</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="171"/> - <source>Attempting to link in too many shared libraries</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="172"/> - <source>Cannot exec a shared library directly</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="173"/> - <source>Interrupted system call should be restarted</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="174"/> - <source>Streams pipe error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="175"/> - <source>Structure needs cleaning</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="176"/> - <source>Not a XENIX named type file</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="177"/> - <source>No XENIX semaphores available</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="178"/> - <source>Is a named type file</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="179"/> - <source>Remote I/O error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="180"/> - <source>No medium found</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="181"/> - <source>Wrong medium type</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="182"/> - <source>Required key not available</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="183"/> - <source>Key has expired</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="184"/> - <source>Key has been revoked</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="185"/> - <source>Key was rejected by service</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="186"/> - <source>Quota exceeded</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="187"/> - <source>Operation Canceled</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="189"/> - <source>Device not a stream</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="190"/> - <source>No data available</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="191"/> - <source>Timer expired</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="192"/> - <source>Out of streams resources</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="193"/> - <source>Link has been severed</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="194"/> - <source>Protocol error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="195"/> - <source>Multihop attempted</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="196"/> - <source>Not a data message</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="197"/> - <source>Value too large for defined data type</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="198"/> - <source>Illegal byte sequence</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="199"/> - <source>Too many users</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="200"/> - <source>Socket operation on non-socket</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="201"/> - <source>Destination address required</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="202"/> - <location filename="../src/accountstatusmodel.cpp" line="243"/> - <source>Message too long</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="203"/> - <source>Protocol wrong type for socket</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="204"/> - <source>Protocol not available</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="205"/> - <source>Protocol not supported</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="206"/> - <source>Socket type not supported</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="207"/> - <source>Operation not supported on transport endpoint</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="208"/> - <source>Protocol family not supported</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="209"/> - <source>Address family not supported by protocol</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="210"/> - <source>Address already in use</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="211"/> - <source>Cannot assign requested address</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="212"/> - <source>Network is down</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="213"/> - <source>Network is unreachable</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="214"/> - <source>Network dropped connection because of reset</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="215"/> - <source>Software caused connection abort</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="216"/> - <source>Connection reset by peer</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="217"/> - <source>No buffer space available</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="218"/> - <source>Transport endpoint is already connected</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="219"/> - <source>Transport endpoint is not connected</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="220"/> - <source>Cannot send after transport endpoint shutdown</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="221"/> - <source>Too many references: cannot splice</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="222"/> - <source>Connection timed out</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="223"/> - <source>Connection refused</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="224"/> - <source>Host is down</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="225"/> - <source>No route to host</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="226"/> - <source>Operation already in progress</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="227"/> - <source>Operation now in progress</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="228"/> - <source>Stale file handle</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="233"/> - <source>Object is busy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="234"/> - <source>Object with the same type exists</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="235"/> - <source>SIP stack shutting down</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="236"/> - <source>SIP object is not initialized.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="237"/> - <source>Missing route set (for tel: URI)</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="240"/> - <source>Invalid message/syntax error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="241"/> - <source>Expecting request message</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="242"/> - <source>Expecting response message</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="244"/> - <source>Partial message</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="246"/> - <source>Invalid/unexpected SIP status code</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="248"/> - <source>Invalid URI</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="249"/> - <source>Invalid URI scheme</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="250"/> - <source>Missing Request-URI</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="251"/> - <source>Invalid Request URI</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="252"/> - <source>URI is too long</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="254"/> - <source>Missing required header(s)</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="255"/> - <source>Invalid header field</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="256"/> - <source>Invalid Via header</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="257"/> - <source>Multiple Via headers in response</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="259"/> - <source>Missing message body</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="260"/> - <source>Invalid/unexpected method</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="263"/> - <source>Unsupported transport</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="264"/> - <source>Transmit buffer already pending</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="265"/> - <source>Rx buffer overflow</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="266"/> - <source>Buffer destroyed</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="267"/> - <source>Unsuitable transport selected</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="268"/> - <source>Transport not available for use</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="271"/> - <source>Transaction has been destroyed</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="272"/> - <source>No transaction is associated with the object (expecting stateful processing)</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="276"/> - <source>URI scheme mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="277"/> - <source>URI user part mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="278"/> - <source>URI password part mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="279"/> - <source>URI host part mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="280"/> - <source>URI port mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="281"/> - <source>URI transport param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="282"/> - <source>URI ttl param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="283"/> - <source>URI user param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="284"/> - <source>URI method param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="285"/> - <source>URI maddr param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="286"/> - <source>URI other param mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="287"/> - <source>URI header parameter mismatch</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="290"/> - <source>Credential failed to authenticate</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="291"/> - <source>No suitable credential</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="292"/> - <source>Invalid/unsupported digest algorithm</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="293"/> - <source>Invalid/unsupported digest qop</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="294"/> - <source>Unsupported authentication scheme</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="295"/> - <source>No previous challenge</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="296"/> - <source>No suitable authorization header</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="297"/> - <source>Account or credential not found</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="298"/> - <source>Account or credential is disabled</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="299"/> - <source>Invalid authorization realm</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="300"/> - <source>Invalid authorization digest</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="301"/> - <source>Maximum number of stale retries exceeded</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="302"/> - <source>Invalid nonce value in authentication challenge</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="303"/> - <source>Invalid AKA credential</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="304"/> - <source>No challenge is found</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="307"/> - <source>Missing From/To tag parameter</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="308"/> - <source>Expecting REFER request</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="309"/> - <source>Not associated with REFER subscription</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="312"/> - <source>INVITE session already terminated</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="313"/> - <source>Invalid INVITE session state</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="314"/> - <source>Require secure session/transport</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="317"/> - <source>Unknown TLS error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="318"/> - <source>Invalid SSL protocol method</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="319"/> - <source>Error loading/verifying SSL CA list file</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="320"/> - <source>Error loading SSL certificate chain file</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="321"/> - <source>Error adding private key from SSL certificate file</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="322"/> - <source>Error setting SSL cipher list</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="323"/> - <source>Error creating SSL context</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="324"/> - <source>Error creating SSL connection object</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="325"/> - <source>Unknown error when performing SSL connect()</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="326"/> - <source>Unknown error when performing SSL accept()</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="327"/> - <source>Unknown error when sending SSL data</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="328"/> - <source>Unknown error when reading SSL data</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="329"/> - <source>SSL negotiation has timed out</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="330"/> - <source>SSL certificate verification error</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../src/accountstatusmodel.cpp" line="444"/> + <location filename="../src/accountstatusmodel.cpp" line="175"/> <source>Message</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/accountstatusmodel.cpp" line="446"/> + <location filename="../src/accountstatusmodel.cpp" line="177"/> <source>Code</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/accountstatusmodel.cpp" line="448"/> + <location filename="../src/accountstatusmodel.cpp" line="179"/> <source>Time</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/accountstatusmodel.cpp" line="450"/> + <location filename="../src/accountstatusmodel.cpp" line="181"/> <source>Counter</source> <translation type="unfinished"></translation> </message> @@ -1930,27 +918,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/daemoncertificatecollection.cpp" line="146"/> + <location filename="../src/daemoncertificatecollection.cpp" line="149"/> <source>%1 %2 list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/daemoncertificatecollection.cpp" line="147"/> + <location filename="../src/daemoncertificatecollection.cpp" line="150"/> <source>Daemon certificate store</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/daemoncertificatecollection.cpp" line="149"/> + <location filename="../src/daemoncertificatecollection.cpp" line="152"/> <source>banned</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/daemoncertificatecollection.cpp" line="150"/> + <location filename="../src/daemoncertificatecollection.cpp" line="153"/> <source>allowed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/daemoncertificatecollection.cpp" line="156"/> + <location filename="../src/daemoncertificatecollection.cpp" line="159"/> <location filename="../src/foldercertificatecollection.cpp" line="192"/> <source>Certificate</source> <translation type="unfinished"></translation> @@ -1992,7 +980,6 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/localhistorycollection.cpp" line="225"/> <location filename="../src/private/sortproxies.cpp" line="135"/> <location filename="../src/private/sortproxies.cpp" line="153"/> <source>Unknown</source>