diff options
Diffstat (limited to 'src/ui/widgets/TOFUInfoPage.cpp')
-rw-r--r-- | src/ui/widgets/TOFUInfoPage.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/ui/widgets/TOFUInfoPage.cpp b/src/ui/widgets/TOFUInfoPage.cpp index 709a66e1..39cf8921 100644 --- a/src/ui/widgets/TOFUInfoPage.cpp +++ b/src/ui/widgets/TOFUInfoPage.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Saturneric + * Copyright (C) 2021 Saturneric <[email protected]> * * This file is part of GpgFrontend. * @@ -19,27 +19,28 @@ * The initial version of the source code is inherited from * the gpg4usb project, which is under GPL-3.0-or-later. * - * The source code version of this software was modified and released - * by Saturneric<[email protected]><[email protected]> starting on May 12, 2021. + * All the source code of GpgFrontend was modified and released by + * Saturneric <[email protected]> starting on May 12, 2021. + * + * SPDX-License-Identifier: GPL-3.0-or-later * */ #include "TOFUInfoPage.h" GpgFrontend::UI::TOFUInfoPage::TOFUInfoPage( - const GpgFrontend::GpgTOFUInfo &tofu_info, QWidget *parent) + const GpgFrontend::GpgTOFUInfo & /*tofu_info*/, QWidget *parent) : QWidget(parent) { auto grid_layout = new QGridLayout(); - grid_layout->addWidget(new QLabel(QString(_("Key ID")) + ": "), 0, 0); - grid_layout->addWidget(new QLabel(QString(_("Algorithm")) + ": "), 1, 0); - grid_layout->addWidget(new QLabel(QString(_("Key Size")) + ": "), 2, 0); - grid_layout->addWidget(new QLabel(QString(_("Nominal Usage")) + ": "), 3, 0); - grid_layout->addWidget(new QLabel(QString(_("Actual Usage")) + ": "), 4, 0); - grid_layout->addWidget(new QLabel(QString(_("Expires on")) + ": "), 5, 0); - grid_layout->addWidget(new QLabel(QString(_("Last Update")) + ": "), 6, 0); - grid_layout->addWidget(new QLabel(QString(_("Secret Key Existence")) + ": "), - 7, 0); + grid_layout->addWidget(new QLabel(tr("Key ID") + ": "), 0, 0); + grid_layout->addWidget(new QLabel(tr("Algorithm") + ": "), 1, 0); + grid_layout->addWidget(new QLabel(tr("Key Size") + ": "), 2, 0); + grid_layout->addWidget(new QLabel(tr("Nominal Usage") + ": "), 3, 0); + grid_layout->addWidget(new QLabel(tr("Actual Usage") + ": "), 4, 0); + grid_layout->addWidget(new QLabel(tr("Expires on") + ": "), 5, 0); + grid_layout->addWidget(new QLabel(tr("Last Update") + ": "), 6, 0); + grid_layout->addWidget(new QLabel(tr("Secret Key Existence") + ": "), 7, 0); setLayout(grid_layout); } |