mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Fix call to tr in order to create translation strings
Fixes #365 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8525805f04
commit
53ae83e038
1 changed files with 2 additions and 2 deletions
|
@ -584,8 +584,8 @@ static bool can_merge(const struct dive *a, const struct dive *b, enum asked_use
|
|||
if (dive_endtime(a) + 30 * 60 < b->when) {
|
||||
if (*have_asked == NOTYET) {
|
||||
if (QMessageBox::warning(MainWindow::instance(),
|
||||
MainWindow::instance()->tr("Warning"),
|
||||
MainWindow::instance()->tr("Trying to merge dives with %1min interval in between").arg(
|
||||
MainWindow::tr("Warning"),
|
||||
MainWindow::tr("Trying to merge dives with %1min interval in between").arg(
|
||||
(b->when - dive_endtime(a)) / 60),
|
||||
QMessageBox::Ok | QMessageBox::Cancel) == QMessageBox::Cancel) {
|
||||
*have_asked = DONTMERGE;
|
||||
|
|
Loading…
Add table
Reference in a new issue