Fix translations

This commit is contained in:
Janek Bevendorff 2022-03-20 22:10:49 +01:00
parent 1ca358f3fd
commit 60f7744ec6
11 changed files with 4428 additions and 4472 deletions

View file

@ -1138,9 +1138,10 @@ void DatabaseWidget::loadDatabase(bool accepted)
if (!expiredEntries.isEmpty()) {
m_entryView->displaySearch(expiredEntries);
m_entryView->setFirstEntryActive();
m_searchingLabel->setText(expirationOffset == 0
? tr("Expired entries")
: tr("Entries expiring within %1 days").arg(expirationOffset));
m_searchingLabel->setText(
expirationOffset == 0
? tr("Expired entries")
: tr("Entries expiring within %1 day(s)", "", expirationOffset).arg(expirationOffset));
m_searchingLabel->setVisible(true);
}
}