aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/settingsdialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-29 17:13:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-29 17:13:25 +0000
commit99a5e2a0e26b6ae9cc74f1321b4fb778138283ac (patch)
tree1a74d7400875fc19ac3e97a9956284fc9cd248a1 /src/plugins/General/scrobbler/settingsdialog.cpp
parentab030aa3915a48a7590a194bd680157958be4d54 (diff)
downloadqmmp-99a5e2a0e26b6ae9cc74f1321b4fb778138283ac.tar.gz
qmmp-99a5e2a0e26b6ae9cc74f1321b4fb778138283ac.tar.bz2
qmmp-99a5e2a0e26b6ae9cc74f1321b4fb778138283ac.zip
updated scrobbler messages
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3195 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/settingsdialog.cpp')
-rw-r--r--src/plugins/General/scrobbler/settingsdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/plugins/General/scrobbler/settingsdialog.cpp b/src/plugins/General/scrobbler/settingsdialog.cpp
index c5ca85cc7..dad403c5f 100644
--- a/src/plugins/General/scrobbler/settingsdialog.cpp
+++ b/src/plugins/General/scrobbler/settingsdialog.cpp
@@ -71,18 +71,18 @@ void SettingsDialog::processTokenResponse(int error)
case LastfmAuth::NO_ERROR:
QMessageBox::information(this,
tr("Message"),
- tr("1. Wait for browser startup.") + "\n" +
- tr("2. Allow Qmmp to scrobble tracks to your Last.fm account.") + "\n" +
- tr("3. Press \"OK\"."));
+ tr("1. Wait for browser startup") + "\n" +
+ tr("2. Allow Qmmp to scrobble tracks to your Last.fm account") + "\n" +
+ tr("3. Press \"OK\""));
m_ui.newSessionButton_lastfm->setEnabled(false);
m_lastfmAuth->getSession();
break;
case LastfmAuth::NETWORK_ERROR:
- QMessageBox::warning(this, tr("Error"), tr("Network error."));
+ QMessageBox::warning(this, tr("Error"), tr("Network error"));
break;
case LastfmAuth::LASTFM_ERROR:
default:
- QMessageBox::warning(this, tr("Error"), tr("Unable to register new session."));
+ QMessageBox::warning(this, tr("Error"), tr("Unable to register new session"));
}
}
@@ -93,7 +93,7 @@ void SettingsDialog::processSessionResponse(int error)
{
case LastfmAuth::NO_ERROR:
{
- QMessageBox::information(this, tr("Message"), tr("New session has been received successfully."));
+ QMessageBox::information(this, tr("Message"), tr("New session has been received successfully"));
m_ui.sessionLineEdit_lastfm->setText(m_lastfmAuth->session());
QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
@@ -101,11 +101,11 @@ void SettingsDialog::processSessionResponse(int error)
break;
}
case LastfmAuth::NETWORK_ERROR:
- QMessageBox::warning(this, tr("Error"), tr("Network error."));
+ QMessageBox::warning(this, tr("Error"), tr("Network error"));
break;
case LastfmAuth::LASTFM_ERROR:
default:
- QMessageBox::warning(this, tr("Error"), tr("Unable to register new session."));
+ QMessageBox::warning(this, tr("Error"), tr("Unable to register new session"));
}
}
@@ -125,15 +125,15 @@ void SettingsDialog::processCheckResponse(int error)
{
case LastfmAuth::NO_ERROR:
{
- QMessageBox::information(this, tr("Message"), tr("Permission granted."));
+ QMessageBox::information(this, tr("Message"), tr("Permission granted"));
m_ui.sessionLineEdit_lastfm->setText(m_lastfmAuth->session());
break;
}
case LastfmAuth::NETWORK_ERROR:
- QMessageBox::warning(this, tr("Error"), tr("Network error."));
+ QMessageBox::warning(this, tr("Error"), tr("Network error"));
break;
case LastfmAuth::LASTFM_ERROR:
default:
- QMessageBox::warning(this, tr("Error"), tr("Permission denied."));
+ QMessageBox::warning(this, tr("Error"), tr("Permission denied"));
}
}