Fix typos. Make ìTP untranslatable. Use American variation of words. Closes #3654.

This commit is contained in:
sledgehammer999
2015-09-04 22:56:08 +03:00
parent aa5fbd461f
commit 581d544f61
8 changed files with 19 additions and 15 deletions

View File

@@ -28,6 +28,7 @@
#include "core/net/geoipmanager.h"
#include "core/utils/string.h"
#include "core/unicodestrings.h"
#include "peerinfo.h"
namespace libt = libtorrent;
@@ -238,7 +239,7 @@ QBitArray PeerInfo::pieces() const
QString PeerInfo::connectionType() const
{
if (m_nativeInfo.flags & libt::peer_info::utp_socket)
return QString::fromUtf8("μTP");
return QString::fromUtf8(C_UTP);
QString connection;
switch(m_nativeInfo.connection_type) {