mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fixed error message in Train Library when workouts cannot be copied
The existing message is misleading and it's a source of users complains when they have the Library set to a read only folder. Fixes #2945
This commit is contained in:
@@ -205,7 +205,7 @@ Library::importFiles(Context *context, QStringList files)
|
||||
if (targetWorkout != QFileInfo(source).absoluteFilePath() && !source.copy(targetWorkout)) {
|
||||
|
||||
QMessageBox::warning(NULL, tr("Copy Workout Failed"),
|
||||
QString(tr("%1 already exists in workout library: %2")).arg(QFileInfo(targetWorkout).fileName()).arg(workoutDir));
|
||||
QString(tr("%1 cannot be written to workout library %2, check permissions and free space")).arg(QFileInfo(targetWorkout).fileName()).arg(workoutDir));
|
||||
}
|
||||
|
||||
// still add it, it may noit have been scanned...
|
||||
|
||||
Reference in New Issue
Block a user