UI change of "images"/"photo" to "media" or "media files"

This changes the above mentioned terms everywhere in the UI to
reflect the fact that Subsurface now also supports video files on top
of image files.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2018-07-13 20:46:45 +02:00 committed by Dirk Hohndel
parent 80761beb93
commit 669277d490
10 changed files with 24 additions and 24 deletions

View file

@ -170,7 +170,7 @@ void FindMovedImagesDialog::on_scanButton_clicked()
// TODO: is lastUsedImageDir really well-placed in DiveListView?
QString dirName = QFileDialog::getExistingDirectory(this,
tr("Traverse image directories"),
tr("Traverse media directories"),
DiveListView::lastUsedImageDir(),
QFileDialog::ShowDirsOnly);
if (dirName.isEmpty())
@ -251,7 +251,7 @@ void FindMovedImagesDialog::searchDone()
stopScanning = 0;
}
if (matches.isEmpty()) {
text += "<i>" + tr("No matching images found") + "</i>";
text += "<i>" + tr("No matching media files found") + "</i>";
} else {
QString matchesText;
for (const Match &match: matches) {
@ -263,9 +263,9 @@ void FindMovedImagesDialog::searchDone()
}
int numUnchanged = matches.size() - numChanged;
if (numUnchanged > 0)
text += tr("Found <b>%1</b> images at their current place.").arg(numUnchanged) + "<br/>";
text += tr("Found <b>%1</b> media files at their current place.").arg(numUnchanged) + "<br/>";
if (numChanged > 0) {
text += tr("Found <b>%1</b> images at new locations:").arg(numChanged) + "<br/>";
text += tr("Found <b>%1</b> media files at new locations:").arg(numChanged) + "<br/>";
text += matchesText;
}
}