mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
80761beb93
commit
669277d490
10 changed files with 24 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue