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>
<widget class="QCheckBox" name="CheckBox_AutoSave" >
<property name="text" >
<string>Automatically save database on exit</string>
<string>Automatically save database on exit and workspace locking</string>
</property>
</widget>
</item>

@ -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;
}

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

@ -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();