comparison ui/mainwindow.cpp @ 656:0ca15d937490

Avoid the word insecure.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 25 Jun 2014 15:30:58 +0200
parents 129e611eaf50
children 37ffc8ddb698
comparison
equal deleted inserted replaced
654:129e611eaf50 656:0ca15d937490
477 477
478 QToolButton *allRemoveButton = new QToolButton; 478 QToolButton *allRemoveButton = new QToolButton;
479 allRemoveButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); 479 allRemoveButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
480 allRemoveButton->setIcon(QIcon(":/img/task-attempt.png")); 480 allRemoveButton->setIcon(QIcon(":/img/task-attempt.png"));
481 allRemoveButton->setIconSize(QSize(32, 32)); 481 allRemoveButton->setIconSize(QSize(32, 32));
482 allRemoveButton->setText(tr("Insecure\nCertificates")); 482 allRemoveButton->setText(tr("Certificates\nto remove"));
483 allRemoveButton->setFixedWidth(90); 483 allRemoveButton->setFixedWidth(90);
484 allRemoveButton->setFixedHeight(70); 484 allRemoveButton->setFixedHeight(70);
485 allRemoveButton->setCheckable(true); 485 allRemoveButton->setCheckable(true);
486 486
487 QToolButton *infoButton = new QToolButton; 487 QToolButton *infoButton = new QToolButton;
596 this, SLOT(listChanged(int))); 596 this, SLOT(listChanged(int)));
597 mUpdatesNew->hide(); 597 mUpdatesNew->hide();
598 598
599 mUpdatesRemoveCertificates = 599 mUpdatesRemoveCertificates =
600 new QLabel("<h3>" + 600 new QLabel("<h3>" +
601 tr("Remove insecure Certificates (%1/%2)").arg(0).arg(0) + 601 tr("Remove Certificates (%1/%2)").arg(0).arg(0) +
602 "</h3>"); 602 "</h3>");
603 mUpdatesDetailsRemove = new QPushButton(tr("Show Details")); 603 mUpdatesDetailsRemove = new QPushButton(tr("Show Details"));
604 connect(mUpdatesDetailsRemove, 604 connect(mUpdatesDetailsRemove,
605 SIGNAL(clicked()), 605 SIGNAL(clicked()),
606 this, 606 this,
679 installPanelLayout->addLayout(installCenterLayout); 679 installPanelLayout->addLayout(installCenterLayout);
680 installPanelLayout->addWidget(mInstallList); 680 installPanelLayout->addWidget(mInstallList);
681 mInstallPanel->setLayout(installPanelLayout); 681 mInstallPanel->setLayout(installPanelLayout);
682 682
683 /********************************** 683 /**********************************
684 * Panel for insecure certificates. 684 * Panel for certificates to be removed.
685 **********************************/ 685 **********************************/
686 mRemovePanel = new QScrollArea; 686 mRemovePanel = new QScrollArea;
687 QVBoxLayout *removePanelLayout = new QVBoxLayout; 687 QVBoxLayout *removePanelLayout = new QVBoxLayout;
688 QVBoxLayout *removeHeaderLayout = new QVBoxLayout; 688 QVBoxLayout *removeHeaderLayout = new QVBoxLayout;
689 QVBoxLayout *removeCenterLayout = new QVBoxLayout; 689 QVBoxLayout *removeCenterLayout = new QVBoxLayout;
690 690
691 QLabel *removeHeaderLabel = 691 QLabel *removeHeaderLabel =
692 new QLabel("<h2>" + tr("Insecure Certificates") + "</h2>"); 692 new QLabel("<h2>" + tr("Certificates to remove") + "</h2>");
693 QLabel *removeHeaderText = new QLabel(tr("The following list of root" 693 QLabel *removeHeaderText = new QLabel(tr("The following list of root"
694 " certificates was created by the BSI. The BSI validates authenticity," 694 " certificates was created by the BSI. The BSI validates authenticity,"
695 " security and actuality of these certificates")); 695 " security and actuality of these certificates"));
696 removeHeaderLayout->addWidget(removeHeaderLabel); 696 removeHeaderLayout->addWidget(removeHeaderLabel);
697 removeHeaderLayout->addWidget(removeHeaderText); 697 removeHeaderLayout->addWidget(removeHeaderText);
810 tr("Install new Certificates (%1/%2)") 810 tr("Install new Certificates (%1/%2)")
811 .arg(mUpdatesNew->selectedCertCount()) 811 .arg(mUpdatesNew->selectedCertCount())
812 .arg(mUpdatesNew->certificates().size()) + 812 .arg(mUpdatesNew->certificates().size()) +
813 "</h3>"); 813 "</h3>");
814 mUpdatesRemoveCertificates->setText("<h3>" + 814 mUpdatesRemoveCertificates->setText("<h3>" +
815 tr("Remove insecure Certificates (%1/%2)") 815 tr("Remove Certificates (%1/%2)")
816 .arg(mUpdatesRemove->selectedCertCount()) 816 .arg(mUpdatesRemove->selectedCertCount())
817 .arg(mUpdatesRemove->certificates().size()) + 817 .arg(mUpdatesRemove->certificates().size()) +
818 "</h3>"); 818 "</h3>");
819 } 819 }
820 820
890 .arg(mUpdatesNew->selectedCertCount()) 890 .arg(mUpdatesNew->selectedCertCount())
891 .arg(mUpdatesNew->certificates().size()) + 891 .arg(mUpdatesNew->certificates().size()) +
892 "</h3>"); 892 "</h3>");
893 893
894 mUpdatesRemoveCertificates->setText("<h3>" + 894 mUpdatesRemoveCertificates->setText("<h3>" +
895 tr("Remove insecure Certificates (%1/%2)") 895 tr("Remove Certificates (%1/%2)")
896 .arg(mUpdatesRemove->selectedCertCount()) 896 .arg(mUpdatesRemove->selectedCertCount())
897 .arg(mUpdatesRemove->certificates().size()) + 897 .arg(mUpdatesRemove->certificates().size()) +
898 "</h3>"); 898 "</h3>");
899 mUpdatesManualCertificates->setText("<h3>" + 899 mUpdatesManualCertificates->setText("<h3>" +
900 tr("Manualy changed Certificates (%1)").arg(0) + 900 tr("Manualy changed Certificates (%1)").arg(0) +

http://wald.intevation.org/projects/trustbridge/