mirror of
https://github.com/chris2511/xca.git
synced 2026-09-13 18:46:25 +05:00
- extended russian translation by Pavel Belly - dropped approach to create sentences from different parts like "Successfully created %1 '%2'" with %1 being "the certificate" and %2 being the name. This leads to trouble for other languages. Therefore I decided to mention the whole sentences and accept the many, almost duplicated sentences. - Consolidate german translation: . Smart card/Smartcard -> Chipkarte . Besitzer -> Inhaber . Unterschriftsanfrage/Zertifikatsanfrage -> Zertifikatsantrag - Support translations for pki_*.cpp by adding Q_OBJECT
21 lines
310 B
C++
21 lines
310 B
C++
|
|
#include "pass_info.h"
|
|
|
|
pass_info::pass_info(QString t, QString d, QWidget *w)
|
|
{
|
|
title = t;
|
|
description = d;
|
|
widget = w;
|
|
if (!widget)
|
|
widget = qApp->activeWindow();
|
|
type = tr("Password");
|
|
pixmap = MainWindow::keyImg;
|
|
}
|
|
|
|
void pass_info::setPin()
|
|
{
|
|
type = tr("PIN");
|
|
pixmap = MainWindow::scardImg;
|
|
}
|
|
|