1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Fix translation issue and compile issue on Windows.

This commit is contained in:
S. Razi Alavizadeh 2013-11-09 22:24:39 +03:30
parent 478af279da
commit d1f0b1776a
3 changed files with 8 additions and 1 deletions

View File

@ -476,7 +476,7 @@ void NetworkManager::proxyAuthentication(const QNetworkProxy &proxy, QAuthentica
connect(box, SIGNAL(rejected()), dialog, SLOT(reject()));
connect(box, SIGNAL(accepted()), dialog, SLOT(accept()));
QCheckBox* rememberCheck = new QCheckBox("Remember username and password for this proxy.", dialog);
QCheckBox* rememberCheck = new QCheckBox(tr("Remember username and password for this proxy."), dialog);
label->setText(tr("A username and password are being requested by proxy %1. ").arg(proxy.hostName()));
formLa->addRow(label);

View File

@ -113,6 +113,7 @@ void qupzilla_signal_handler(int s)
}
#endif // defined(Q_OS_LINUX) || defined(__GLIBC__)
#ifndef Q_OS_WIN
#if (QT_VERSION < 0x050000)
void msgHandler(QtMsgType type, const char* msg)
{
@ -156,6 +157,7 @@ void msgHandler(QtMsgType type, const QMessageLogContext &context, const QString
}
}
#endif
#endif
int main(int argc, char* argv[])
{

View File

@ -2569,6 +2569,11 @@ Please install latest version of QupZilla.</source>
<source>Proxy authorisation required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/lib/network/networkmanager.cpp" line="479"/>
<source>Remember username and password for this proxy.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/lib/network/networkmanager.cpp" line="481"/>
<source>A username and password are being requested by proxy %1. </source>