Commit b8349a39 authored by Rolf Eike Beer's avatar Rolf Eike Beer

use the same text for owner trust values everywhere

parent 354b680e
/*
* Copyright (C) 2006 Jimmy Gilles <jimmygilles@gmail.com>
* Copyright (C) 2010,2013,2014,2016 Rolf Eike Beer <kde@opensource.sf-tec.de>
* Copyright (C) 2010,2013,2014,2016,2017 Rolf Eike Beer <kde@opensource.sf-tec.de>
*/
/***************************************************************************
* This program is free software; you can redistribute it and/or modify *
......@@ -85,9 +85,9 @@ QString toString(const gpgme_validity_t ownertrust)
{
switch (ownertrust) {
case GPGME_VALIDITY_UNDEFINED:
return i18n("Do not Know");
return i18n("I do not know");
case GPGME_VALIDITY_NEVER:
return i18n("Do NOT Trust");
return i18n("I do NOT trust");
case GPGME_VALIDITY_MARGINAL:
return i18n("Marginally");
case GPGME_VALIDITY_FULL:
......
......@@ -109,6 +109,11 @@ KgpgKeyInfo::KgpgKeyInfo(KGpgKeyNode *node, KGpgItemModel *model, QWidget *paren
Q_ASSERT(m_node != Q_NULLPTR);
setupUi(this);
m_owtrust->addItem(Convert::toString(GPGME_VALIDITY_UNDEFINED));
m_owtrust->addItem(Convert::toString(GPGME_VALIDITY_NEVER));
m_owtrust->addItem(Convert::toString(GPGME_VALIDITY_MARGINAL));
m_owtrust->addItem(Convert::toString(GPGME_VALIDITY_FULL));
m_owtrust->addItem(Convert::toString(GPGME_VALIDITY_ULTIMATE));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QWidget *mainWidget = new QWidget(this);
......
......@@ -181,31 +181,6 @@
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<item>
<property name="text">
<string>I do not know</string>
</property>
</item>
<item>
<property name="text">
<string>I do NOT trust</string>
</property>
</item>
<item>
<property name="text">
<string>Marginally</string>
</property>
</item>
<item>
<property name="text">
<string>Fully</string>
</property>
</item>
<item>
<property name="text">
<string>Ultimately</string>
</property>
</item>
</widget>
</item>
<item row="6" column="0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment