xca/lib/pass_info.cpp
Christian Hohnstaedt 670c45e268 Update translation and messages
- 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
2010-05-17 06:51:24 +02:00

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;
}