mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 02:46:53 -05:00
spelling: recycle
This commit is contained in:
parent
ce06fcdbe0
commit
341ff3de37
1 changed files with 4 additions and 4 deletions
|
|
@ -333,8 +333,8 @@ void DatabaseWidget::deleteEntries()
|
||||||
selectedEntries.append(m_entryView->entryFromIndex(index));
|
selectedEntries.append(m_entryView->entryFromIndex(index));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool inRecylceBin = Tools::hasChild(m_db->metadata()->recycleBin(), selectedEntries.first());
|
bool inRecycleBin = Tools::hasChild(m_db->metadata()->recycleBin(), selectedEntries.first());
|
||||||
if (inRecylceBin || !m_db->metadata()->recycleBinEnabled()) {
|
if (inRecycleBin || !m_db->metadata()->recycleBinEnabled()) {
|
||||||
QMessageBox::StandardButton result;
|
QMessageBox::StandardButton result;
|
||||||
|
|
||||||
if (selected.size() == 1) {
|
if (selected.size() == 1) {
|
||||||
|
|
@ -525,10 +525,10 @@ void DatabaseWidget::deleteGroup()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool inRecylceBin = Tools::hasChild(m_db->metadata()->recycleBin(), currentGroup);
|
bool inRecycleBin = Tools::hasChild(m_db->metadata()->recycleBin(), currentGroup);
|
||||||
bool isRecycleBin = (currentGroup == m_db->metadata()->recycleBin());
|
bool isRecycleBin = (currentGroup == m_db->metadata()->recycleBin());
|
||||||
bool isRecycleBinSubgroup = Tools::hasChild(currentGroup, m_db->metadata()->recycleBin());
|
bool isRecycleBinSubgroup = Tools::hasChild(currentGroup, m_db->metadata()->recycleBin());
|
||||||
if (inRecylceBin || isRecycleBin || isRecycleBinSubgroup || !m_db->metadata()->recycleBinEnabled()) {
|
if (inRecycleBin || isRecycleBin || isRecycleBinSubgroup || !m_db->metadata()->recycleBinEnabled()) {
|
||||||
QMessageBox::StandardButton result = MessageBox::question(
|
QMessageBox::StandardButton result = MessageBox::question(
|
||||||
this, tr("Delete group?"),
|
this, tr("Delete group?"),
|
||||||
tr("Do you really want to delete the group \"%1\" for good?")
|
tr("Do you really want to delete the group \"%1\" for good?")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue