From 863bd3316d847b1fd89125aa0f0de83b6cbc6be0 Mon Sep 17 00:00:00 2001 From: sniperbeamer Date: Thu, 28 Feb 2008 13:59:08 +0000 Subject: [PATCH] Corrected some strings git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@160 b624d157-de02-0410-bad0-e51aec6abb33 --- src/forms/SettingsDlg.ui | 2 +- src/lib/EntryView.cpp | 4 ++-- src/mainwindow.cpp | 7 +++---- src/mainwindow.h | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/forms/SettingsDlg.ui b/src/forms/SettingsDlg.ui index c136e1b..cbe7552 100644 --- a/src/forms/SettingsDlg.ui +++ b/src/forms/SettingsDlg.ui @@ -302,7 +302,7 @@ - Automatically save database on exit + Automatically save database on exit and workspace locking diff --git a/src/lib/EntryView.cpp b/src/lib/EntryView.cpp index 979dab2..2c5fde8 100644 --- a/src/lib/EntryView.cpp +++ b/src/lib/EntryView.cpp @@ -153,9 +153,9 @@ void KeepassEntryView::OnDeleteEntry(){ if(config->askBeforeDelete()){ QString text; if(entries.size()==1) - text=tr("Are you sure you want delete this entry?"); + text=tr("Are you sure you want to delete this entry?"); else - text=tr("Are you sure you want delete these %1 entries?").arg(entries.size()); + text=tr("Are you sure you want to delete these %1 entries?").arg(entries.size()); if(QMessageBox::question(this,tr("Delete?"),text,QMessageBox::Yes | QMessageBox::No,QMessageBox::No)==QMessageBox::No) return; } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c6466e9..412482f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -535,12 +535,11 @@ void KeepassMainWindow::OnFileNewKdb(){ } +// TODO Kxdb +/* void KeepassMainWindow::OnFileNewKxdb(){ - - - } - +*/ void KeepassMainWindow::OnFileOpen(){ /*QFileDialog FileDlg(this,tr("Open Database..."),QDir::homePath()); diff --git a/src/mainwindow.h b/src/mainwindow.h index 909ee98..fc811c1 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -60,7 +60,7 @@ class KeepassMainWindow : public QMainWindow, public Ui_MainWindow{ private slots: void OnFileNewKdb(); - void OnFileNewKxdb(); + //void OnFileNewKxdb(); // TODO Kxdb void OnFileOpen(); void OnFileClose(); bool OnFileSave();