Corrected some strings

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@160 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer 2008-02-28 13:59:08 +00:00
parent 7b15707c6d
commit 863bd3316d
4 changed files with 7 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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