aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeyDetailsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyDetailsDialog.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeyDetailsDialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/keypair_details/KeyDetailsDialog.cpp b/src/ui/dialog/keypair_details/KeyDetailsDialog.cpp
index 012d2a24..6908592b 100644
--- a/src/ui/dialog/keypair_details/KeyDetailsDialog.cpp
+++ b/src/ui/dialog/keypair_details/KeyDetailsDialog.cpp
@@ -39,12 +39,12 @@ KeyDetailsDialog::KeyDetailsDialog(const GpgKey& key, QWidget* parent)
: GeneralDialog(typeid(KeyDetailsDialog).name(), parent) {
tab_widget_ = new QTabWidget();
tab_widget_->addTab(new KeyPairDetailTab(key.GetId(), tab_widget_),
- _("KeyPair"));
- tab_widget_->addTab(new KeyPairUIDTab(key.GetId(), tab_widget_), _("UIDs"));
+ tr("KeyPair"));
+ tab_widget_->addTab(new KeyPairUIDTab(key.GetId(), tab_widget_), tr("UIDs"));
tab_widget_->addTab(new KeyPairSubkeyTab(key.GetId(), tab_widget_),
- _("Subkeys"));
+ tr("Subkeys"));
tab_widget_->addTab(new KeyPairOperaTab(key.GetId(), tab_widget_),
- _("Operations"));
+ tr("Operations"));
auto* main_layout = new QVBoxLayout;
main_layout->addWidget(tab_widget_);
@@ -54,7 +54,7 @@ KeyDetailsDialog::KeyDetailsDialog(const GpgKey& key, QWidget* parent)
#endif
this->setAttribute(Qt::WA_DeleteOnClose, true);
this->setLayout(main_layout);
- this->setWindowTitle(_("Key Details"));
+ this->setWindowTitle(tr("Key Details"));
this->setModal(true);
this->show();