mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-22 22:40:55 -04:00
Fix weird base strings and reduce concatenation
This commit is contained in:
parent
e718e9f5e5
commit
3def6a3bc4
13 changed files with 26 additions and 25 deletions
|
@ -72,7 +72,7 @@ void TotpDialog::updateProgressBar()
|
|||
void TotpDialog::updateSeconds()
|
||||
{
|
||||
uint epoch = QDateTime::currentDateTime().toTime_t() - 1;
|
||||
m_ui->timerLabel->setText(tr("Expires in") + " <b>" + QString::number(m_step - (epoch % m_step)) + "</b> " + tr("seconds"));
|
||||
m_ui->timerLabel->setText(tr("Expires in <b>%n</b> second(s)", "", m_step - (epoch % m_step)));
|
||||
}
|
||||
|
||||
void TotpDialog::updateTotp()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue