summaryrefslogtreecommitdiffhomepage
path: root/logic/work.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/work.cpp')
-rw-r--r--logic/work.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/logic/work.cpp b/logic/work.cpp
index 53407f7c..07691535 100644
--- a/logic/work.cpp
+++ b/logic/work.cpp
@@ -16,9 +16,9 @@ QString Work::browse_datalogging_file(main_settings &s)
Since the freeze is apparently random, I'm not sure it helped.
*/
QString newfilename = QFileDialog::getSaveFileName(nullptr,
- QCoreApplication::translate("Work", "Select filename"),
+ otr_tr("Select filename"),
filename,
- QCoreApplication::translate("Work", "CSV File (*.csv)"),
+ otr_tr("CSV File (*.csv)"),
nullptr);
if (!newfilename.isEmpty())
{
@@ -44,10 +44,10 @@ std::shared_ptr<TrackLogger> Work::make_logger(main_settings &s)
if (!logger->is_open())
{
logger = nullptr;
- QMessageBox::warning(nullptr, QCoreApplication::translate("Work", "Logging error"),
- QCoreApplication::translate("Work", "Unable to open file '%1'. Proceeding without logging.").arg(s.tracklogging_filename),
- QMessageBox::Ok,
- QMessageBox::NoButton);
+ QMessageBox::warning(nullptr,
+ otr_tr("Logging error"),
+ otr_tr("Unable to open file '%1'. Proceeding without logging.").arg(s.tracklogging_filename),
+ QMessageBox::Ok, QMessageBox::NoButton);
}
else
{