tr: Don't hardcode app name in string

This commit is contained in:
Daniel Molkentin 2013-01-23 13:44:25 +01:00
parent 7614776e10
commit e37fc8c6e5

View file

@ -272,7 +272,8 @@ void Application::slotFetchCredentials()
} }
} else { } else {
qDebug() << "Can not try again to fetch Credentials."; qDebug() << "Can not try again to fetch Credentials.";
trayMessage = tr("ownCloud user credentials are wrong. Please check configuration."); trayMessage = tr("%1 user credentials are wrong. Please check configuration.")
.arg(Theme::instance()->appName());
} }
if( !trayMessage.isEmpty() ) { if( !trayMessage.isEmpty() ) {