Corrected some strings

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@160 b624d157-de02-0410-bad0-e51aec6abb33
master
sniperbeamer 17 years ago
parent 7b15707c6d
commit 863bd3316d
  1. 2
      src/forms/SettingsDlg.ui
  2. 4
      src/lib/EntryView.cpp
  3. 7
      src/mainwindow.cpp
  4. 2
      src/mainwindow.h

@ -302,7 +302,7 @@
<item> <item>
<widget class="QCheckBox" name="CheckBox_AutoSave" > <widget class="QCheckBox" name="CheckBox_AutoSave" >
<property name="text" > <property name="text" >
<string>Automatically save database on exit</string> <string>Automatically save database on exit and workspace locking</string>
</property> </property>
</widget> </widget>
</item> </item>

@ -153,9 +153,9 @@ void KeepassEntryView::OnDeleteEntry(){
if(config->askBeforeDelete()){ if(config->askBeforeDelete()){
QString text; QString text;
if(entries.size()==1) 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 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) if(QMessageBox::question(this,tr("Delete?"),text,QMessageBox::Yes | QMessageBox::No,QMessageBox::No)==QMessageBox::No)
return; return;
} }

@ -535,12 +535,11 @@ void KeepassMainWindow::OnFileNewKdb(){
} }
// TODO Kxdb
/*
void KeepassMainWindow::OnFileNewKxdb(){ void KeepassMainWindow::OnFileNewKxdb(){
} }
*/
void KeepassMainWindow::OnFileOpen(){ void KeepassMainWindow::OnFileOpen(){
/*QFileDialog FileDlg(this,tr("Open Database..."),QDir::homePath()); /*QFileDialog FileDlg(this,tr("Open Database..."),QDir::homePath());

@ -60,7 +60,7 @@ class KeepassMainWindow : public QMainWindow, public Ui_MainWindow{
private slots: private slots:
void OnFileNewKdb(); void OnFileNewKdb();
void OnFileNewKxdb(); //void OnFileNewKxdb(); // TODO Kxdb
void OnFileOpen(); void OnFileOpen();
void OnFileClose(); void OnFileClose();
bool OnFileSave(); bool OnFileSave();