diff options
author | saturneric <[email protected]> | 2024-01-16 13:35:59 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-16 13:35:59 +0000 |
commit | 620ae9e7c1a8b2db2515c080416cb592066e5fec (patch) | |
tree | 900f3e55118aa2a5049d99dd743d3e595016fc7b /src/ui/dialog/keypair_details/KeyDetailsDialog.cpp | |
parent | fix: make task and threading system safer (diff) | |
download | GpgFrontend-620ae9e7c1a8b2db2515c080416cb592066e5fec.tar.gz GpgFrontend-620ae9e7c1a8b2db2515c080416cb592066e5fec.zip |
refactor: remove libgettext from project
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyDetailsDialog.cpp')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyDetailsDialog.cpp | 10 |
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(); |