1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-29 00:30:04 +02:00

* Clean up last commit a little bit for translators.

This commit is contained in:
Christian Muehlhaeuser
2014-09-21 20:01:53 +02:00
parent 0fa0f6c620
commit 78b0e9e058
2 changed files with 7 additions and 12 deletions

View File

@@ -94,12 +94,13 @@ GoogleWrapper::GoogleWrapper ( const QString& pluginID )
config->m_ui->xmppServer->setText( "talk.google.com" );
config->m_ui->xmppPort->setValue( 5222 );
config->m_ui->groupBoxXmppAdvanced->hide();
config->m_ui->serviceHint->setText( QString( "<html><head/><body><p>" ) +
tr( "You may need to change your %1Google Account Settings%2 to login.", "%1 is <a href>, %2 is </a>" )
.arg( "<a href=\"https://www.google.com/settings/security/lesssecureapps\"><span style=\" text-decoration: underline; color:#0000ff;\">" )
.arg( "</span></a>" )
+ QString( "</p></body></html>" ) );
config->m_ui->serviceHint->show();
config->m_ui->serviceHint->setText("<html><head/><body><p>" +
tr( "You may need to change your " ) +
"<a href=\"https://www.google.com/settings/security/lesssecureapps\"><span style=\" text-decoration: underline; color:#0000ff;\">" +
tr( "Google Account settings" ) + "</span></a>" +
tr( " to login." ) + "</p></body></html>");
m_onlinePixmap = QPixmap( ":/google-account/gmail-logo.png" );
m_offlinePixmap = QPixmap( ":/google-account/gmail-offline-logo.png" );

View File

@@ -415,14 +415,8 @@
</item>
<item>
<widget class="QLabel" name="serviceHint">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string></string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>