summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sshkeys/sshkeys.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/settings/sshkeys/sshkeys.cpp b/noncore/settings/sshkeys/sshkeys.cpp
index 5095d16..701356a 100644
--- a/noncore/settings/sshkeys/sshkeys.cpp
+++ b/noncore/settings/sshkeys/sshkeys.cpp
@@ -77,7 +77,7 @@ void SSHKeysApp::doRefreshListButton()
77 sshadd_process << "ssh-add" << "-l"; 77 sshadd_process << "ssh-add" << "-l";
78 bool ret = sshadd_process.start(OProcess::Block, OProcess::AllOutput); 78 bool ret = sshadd_process.start(OProcess::Block, OProcess::AllOutput);
79 if (!ret) { 79 if (!ret) {
80 log_text("Error running ssh-add"); 80 log_text(tr("Error running ssh-add"));
81 return; 81 return;
82 } 82 }
83 83
@@ -167,7 +167,7 @@ void SSHKeysApp::ssh_add_exited(OProcess *proc)
167 setEnabled(TRUE); 167 setEnabled(TRUE);
168 if (proc->exitStatus()) { 168 if (proc->exitStatus()) {
169 169
170 log_text(QString("ssh-add failed")); 170 log_text(QString(tr("ssh-add failed")));
171 } 171 }
172} 172}
173 173
@@ -191,14 +191,14 @@ void SSHKeysApp::doAddButton()
191 191
192 if (KeyFileName->currentText().length()) { 192 if (KeyFileName->currentText().length()) {
193 addprocess << "ssh-add" << "--" << KeyFileName->currentText(); 193 addprocess << "ssh-add" << "--" << KeyFileName->currentText();
194 log_text(QString("Running ssh-add -- ") + KeyFileName->currentText()); 194 log_text(QString(tr("Running ssh-add -- ")) + KeyFileName->currentText());
195 } else { 195 } else {
196 addprocess << "ssh-add"; 196 addprocess << "ssh-add";
197 log_text("Running ssh-add"); 197 log_text(tr("Running ssh-add"));
198 } 198 }
199 bool ret = addprocess.start(OProcess::NotifyOnExit, OProcess::AllOutput); 199 bool ret = addprocess.start(OProcess::NotifyOnExit, OProcess::AllOutput);
200 if (!ret) { 200 if (!ret) {
201 log_text("Error running ssh-add"); 201 log_text(tr("Error running ssh-add"));
202 doRefreshListButton(); 202 doRefreshListButton();
203 setEnabled(TRUE); 203 setEnabled(TRUE);
204 } 204 }
@@ -217,11 +217,11 @@ void SSHKeysApp::doRemoveAllButton()
217 connect(&sshadd_process, SIGNAL(receivedStdout(OProcess*,char*,int)), 217 connect(&sshadd_process, SIGNAL(receivedStdout(OProcess*,char*,int)),
218 this, SLOT(log_sshadd_output(OProcess*,char*,int))); 218 this, SLOT(log_sshadd_output(OProcess*,char*,int)));
219 219
220 log_text("Running ssh-add -D"); 220 log_text(tr("Running ssh-add -D"));
221 sshadd_process << "ssh-add" << "-D"; 221 sshadd_process << "ssh-add" << "-D";
222 bool ret = sshadd_process.start(OProcess::Block, OProcess::AllOutput); 222 bool ret = sshadd_process.start(OProcess::Block, OProcess::AllOutput);
223 if (!ret) { 223 if (!ret) {
224 log_text("Error running ssh-add"); 224 log_text(tr("Error running ssh-add"));
225 } 225 }
226 doRefreshListButton(); 226 doRefreshListButton();
227} 227}