Skip to content

Commit 1b0a005

Browse files
author
Lauris Kaplinski
committed
Merge branch 'libcdoc' of github.com:lauris71/DigiDoc4-Client into libcdoc
# Conflicts: # client/dialogs/PasswordDialog.ui
2 parents 562c9e2 + eb5c913 commit 1b0a005

5 files changed

Lines changed: 20 additions & 6 deletions

File tree

client/dialogs/PasswordDialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ PasswordDialog::PasswordDialog(Mode mode, QWidget *parent)
3636
ui->password2Line->setHidden(mode == Mode::DECRYPT);
3737
ui->password2Error->hide();
3838
if(mode == DECRYPT) {
39+
ui->title->setText(tr("Decrypt with password"));
3940
ui->passwordLabel->setText(tr("Enter password to decrypt the document"));
4041
ui->ok->setText(tr("Decrypt"));
42+
ui->passwordLine->setFocus();
4143
}
4244
auto setError = [this](LineEdit *input, QLabel *error, const QString &msg) {
4345
input->setLabel(msg.isEmpty() ? QString() : QStringLiteral("error"));

client/dialogs/PasswordDialog.ui

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<rect>
1010
<x>0</x>
1111
<y>0</y>
12-
<width>496</width>
13-
<height>610</height>
12+
<width>528</width>
13+
<height>628</height>
1414
</rect>
1515
</property>
1616
<property name="styleSheet">
@@ -93,16 +93,16 @@ margin-left: 6px;
9393
<enum>QLayout::SetFixedSize</enum>
9494
</property>
9595
<property name="leftMargin">
96-
<number>24</number>
96+
<number>40</number>
9797
</property>
9898
<property name="topMargin">
99-
<number>24</number>
99+
<number>32</number>
100100
</property>
101101
<property name="rightMargin">
102-
<number>24</number>
102+
<number>40</number>
103103
</property>
104104
<property name="bottomMargin">
105-
<number>24</number>
105+
<number>32</number>
106106
</property>
107107
<item>
108108
<widget class="QLabel" name="title">

client/translations/en.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,10 @@ ID-Card</translation>
17941794
<source>Encrypt</source>
17951795
<translation>Encrypt</translation>
17961796
</message>
1797+
<message>
1798+
<source>Decrypt with password</source>
1799+
<translation>Decrypt with password</translation>
1800+
</message>
17971801
<message>
17981802
<source>Enter password to decrypt the document</source>
17991803
<translation>Enter password to decrypt the document</translation>

client/translations/et.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,10 @@ ID-kaardiga</translation>
17941794
<source>Encrypt</source>
17951795
<translation>Krüpteeri</translation>
17961796
</message>
1797+
<message>
1798+
<source>Decrypt with password</source>
1799+
<translation>Dekrüpteeri parooliga</translation>
1800+
</message>
17971801
<message>
17981802
<source>Enter password to decrypt the document</source>
17991803
<translation>Sisestage parool dokumendi dekrüpteerimiseks</translation>

client/translations/ru.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,10 @@ ID-картой</translation>
17941794
<source>Encrypt</source>
17951795
<translation>Зашифровать</translation>
17961796
</message>
1797+
<message>
1798+
<source>Decrypt with password</source>
1799+
<translation>Расшифровать с паролем</translation>
1800+
</message>
17971801
<message>
17981802
<source>Enter password to decrypt the document</source>
17991803
<translation>Введите пароль для расшифровки документа</translation>

0 commit comments

Comments
 (0)