mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
Fix translation artefacts.
No need to translate "X Certificate and Key management", "Form", "Dialog" or "TimeInput" "Select Token" and "New Key" window titles were never shown. Remove them.
This commit is contained in:
parent
6d6a29ad0b
commit
3eef4bd12b
@ -304,6 +304,7 @@ bool pkcs11::selectToken(slotid *slot, QWidget *w)
|
||||
ui.image->setPixmap(*MainWindow::scardImg);
|
||||
ui.tokenBox->addItems(slotnames);
|
||||
ui.buttonBox->button(QDialogButtonBox::Ok)->setText(QObject::tr("Select"));
|
||||
select_slot->setWindowTitle(XCA_TITLE);
|
||||
if (select_slot->exec() == 0) {
|
||||
delete select_slot;
|
||||
return false;
|
||||
|
||||
@ -51,7 +51,7 @@ class DbTransaction
|
||||
#define Transaction DbTransaction __trans
|
||||
#define TransBegin() __trans.begin(__FILE__, __LINE__)
|
||||
#define TransThrow() if (!__trans.begin(__FILE__, __LINE__)) { \
|
||||
throw errorEx(tr("Failed to start a database transaction")); }
|
||||
throw errorEx(QObject::tr("Failed to start a database transaction")); }
|
||||
#define TransCommit() __trans.commit(__FILE__, __LINE__)
|
||||
#define TransRollback() __trans.rollback(__FILE__, __LINE__)
|
||||
#define TransDone(e) __trans.done(e, __FILE__, __LINE__);
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>New Key</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Select Token</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>TimeInput</string>
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
|
||||
@ -22,7 +22,7 @@ CrlDetail::CrlDetail(MainWindow *mainwin)
|
||||
{
|
||||
mw = mainwin;
|
||||
setupUi(this);
|
||||
setWindowTitle(tr(XCA_TITLE));
|
||||
setWindowTitle(XCA_TITLE);
|
||||
|
||||
image->setPixmap(*MainWindow::revImg);
|
||||
issuerSqlId = QVariant();
|
||||
|
||||
@ -21,7 +21,7 @@ KeyDetail::KeyDetail(QWidget *parent)
|
||||
:QDialog(parent)
|
||||
{
|
||||
setupUi(this);
|
||||
setWindowTitle(tr(XCA_TITLE));
|
||||
setWindowTitle(XCA_TITLE);
|
||||
image->setPixmap(*MainWindow::keyImg);
|
||||
keyModulus->setFont(XCA_application::tableFont);
|
||||
tabWidget->setCurrentIndex(0);
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "lib/pki_scard.h"
|
||||
#include "XcaTreeView.h"
|
||||
#include "KeyTreeView.h"
|
||||
#include "MainWindow.h"
|
||||
#include <QAbstractItemModel>
|
||||
#include <QAbstractItemView>
|
||||
|
||||
@ -129,7 +129,7 @@ void MainWindow::help()
|
||||
|
||||
ui.textbox->setSource(QUrl(uri));
|
||||
ui.textbox->setSearchPaths(QStringList(path));
|
||||
h->setWindowTitle(tr(XCA_TITLE));
|
||||
h->setWindowTitle(XCA_TITLE);
|
||||
h->show();
|
||||
}
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ NewKey::NewKey(QWidget *parent, QString name)
|
||||
QList<keyListItem> keytypes;
|
||||
|
||||
setupUi(this);
|
||||
setWindowTitle(tr(XCA_TITLE));
|
||||
setWindowTitle(XCA_TITLE);
|
||||
image->setPixmap(*MainWindow::keyImg);
|
||||
|
||||
if (!name.isEmpty())
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
OidResolver::OidResolver(QWidget *parent)
|
||||
:QWidget(parent)
|
||||
{
|
||||
setWindowTitle(tr(XCA_TITLE));
|
||||
setupUi(this);
|
||||
setWindowTitle(XCA_TITLE);
|
||||
}
|
||||
|
||||
void OidResolver::searchOid(QString s)
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "lib/pki_temp.h"
|
||||
#include "XcaTreeView.h"
|
||||
#include "TempTreeView.h"
|
||||
#include "MainWindow.h"
|
||||
#include <QAbstractItemModel>
|
||||
#include <QAbstractItemView>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user