aboutsummaryrefslogtreecommitdiff
path: root/src/trustedhostcollection.cpp
diff options
context:
space:
mode:
authorCarmina16 <mistresssilvara@hotmail.com>2021-03-06 22:32:26 +0700
committerFelix Queißner <felix@ib-queissner.de>2021-03-06 16:59:32 +0100
commit4e89d5d8053697cb882e659a88156eacec15dcfe (patch)
tree0228bf64cc1d7fe1baf019769ffc30d4c1c3483e /src/trustedhostcollection.cpp
parentcdc3888b5847ee7971fef7fe296f1b483afc000b (diff)
downloadkristall-4e89d5d8053697cb882e659a88156eacec15dcfe.tar.gz
Implement interface translation
Diffstat (limited to 'src/trustedhostcollection.cpp')
-rw-r--r--src/trustedhostcollection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/trustedhostcollection.cpp b/src/trustedhostcollection.cpp
index bbc7720..a3d6c1a 100644
--- a/src/trustedhostcollection.cpp
+++ b/src/trustedhostcollection.cpp
@@ -28,9 +28,9 @@ QVariant TrustedHostCollection::headerData(int section, Qt::Orientation orientat
{
switch(section)
{
- case 0: return "Host Name";
- case 1: return "First Seen";
- case 2: return "Key Type";
+ case 0: return QObject::tr("Host Name");
+ case 1: return QObject::tr("First Seen");
+ case 2: return QObject::tr("Key Type");
}
}
return QVariant { };
@@ -71,8 +71,8 @@ QVariant TrustedHostCollection::data(const QModelIndex &index, int role) const
case QSsl::Ec: return "EC";
// case QSsl::Dh: return "DH";
case QSsl::Dsa: return "DSA";
- case QSsl::Opaque: return "Opaque";
- default: return "Unforseen";
+ case QSsl::Opaque: return QObject::tr("Opaque");
+ default: return QObject::tr("Unforseen");
}
}
}