summaryrefslogtreecommitdiff
authortille <tille>2002-07-22 10:43:11 (UTC)
committer tille <tille>2002-07-22 10:43:11 (UTC)
commit3878c4883ce02dd98122695ffa678c3f54f704bb (patch) (side-by-side diff)
treeed388ed88085aacd2bef4d412a98cec772983589
parent0a22d863b288a0b499cfc249126a342aeda2b628 (diff)
downloadopie-3878c4883ce02dd98122695ffa678c3f54f704bb.zip
opie-3878c4883ce02dd98122695ffa678c3f54f704bb.tar.gz
opie-3878c4883ce02dd98122695ffa678c3f54f704bb.tar.bz2
fixes bug #133 -- added two tr("")
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/security/security.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp
index 6c1931a..2821f4b 100644
--- a/core/settings/security/security.cpp
+++ b/core/settings/security/security.cpp
@@ -176,52 +176,52 @@ void Security::applySecurity()
cfg.setGroup("Sync");
int auth_peer=0;
int auth_peer_bits;
QString sn = syncnet->currentText();
parseNet(sn,auth_peer,auth_peer_bits);
cfg.writeEntry("auth_peer",auth_peer);
cfg.writeEntry("auth_peer_bits",auth_peer_bits);
/*
cfg.setGroup("Remote");
if ( telnetAvailable() )
cfg.writeEntry("allow_telnet",telnet->isChecked());
if ( sshAvailable() )
cfg.writeEntry("allow_ssh",ssh->isChecked());
// ### write ssh/telnet sys config files
*/
}
}
void Security::changePassCode()
{
QString new1;
QString new2;
do {
- new1 = enterPassCode("Enter new passcode");
+ new1 = enterPassCode(tr("Enter new passcode"));
if ( new1.isNull() )
return;
- new2 = enterPassCode("Re-enter new passcode");
+ new2 = enterPassCode(tr("Re-enter new passcode"));
if ( new2.isNull() )
return;
} while (new1 != new2);
passcode = new1;
updateGUI();
}
void Security::clearPassCode()
{
passcode = QString::null;
updateGUI();
}
QString Security::enterPassCode(const QString& prompt)
{
return Password::getPassword(prompt);
}
bool Security::telnetAvailable() const
{
// ### not implemented
return FALSE;