~ubuntu-branches/ubuntu/trusty/ktp-kded-integration-module/trusty-proposed

« back to all changes in this revision

Viewing changes to error-handler.cpp

  • Committer: Package Import Robot
  • Author(s): George Kiagiadakis
  • Date: 2012-06-19 12:23:53 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120619122353-yx283wesj3dmuh10
Tags: 0.4.0-0ubuntu1
Upload to Kubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
                //do nothing
60
60
                break;
61
61
            case Tp::ConnectionStatusReasonAuthenticationFailed:
62
 
                showMessageToUser(i18n("Could not connect %1. Authentication failed (is your password correct?)", account->displayName()), ErrorHandler::SystemMessageError);
 
62
                showMessageToUser(i18nc("%1 ist the account name", "Could not connect %1. Authentication failed (is your password correct?)", account->displayName()), ErrorHandler::SystemMessageError);
63
63
                break;
64
64
            case Tp::ConnectionStatusReasonNetworkError:
65
 
                showMessageToUser(i18n("Could not connect %1. There was a network error, check your connection", account->displayName()), ErrorHandler::SystemMessageError);
 
65
                showMessageToUser(i18nc("%1 ist the account name", "Could not connect %1. There was a network error, check your connection", account->displayName()), ErrorHandler::SystemMessageError);
66
66
                break;
67
67
            default:
68
 
                showMessageToUser(i18n("There was a problem while trying to connect %1 - %2", account->displayName(), KTp::ErrorDictionary::displayVerboseErrorMessage(connectionError)), ErrorHandler::SystemMessageError);
 
68
                showMessageToUser(i18nc("%1 ist the account name, %2 the error message", "There was a problem while trying to connect %1 - %2", account->displayName(), KTp::ErrorDictionary::displayVerboseErrorMessage(connectionError)), ErrorHandler::SystemMessageError);
69
69
                break;
70
70
        }
71
71
    }