- s/Set Cover/Set Image/g
- Correct warning if artist image is not writeable
This commit is contained in:
committed by
craig.p.drummond
parent
a2304c3735
commit
8c85eb8d28
@@ -476,7 +476,10 @@ void CoverDialog::show(const Song &s, const Covers::Image ¤t)
|
||||
Covers::Image img=current.img.isNull() ? Covers::locateImage(song) : current;
|
||||
|
||||
if (!img.fileName.isEmpty() && !QFileInfo(img.fileName).isWritable()) {
|
||||
MessageBox::error(parentWidget(), i18n("<p>A cover already exists for this album, and the file is not writeable.<p></p><i>%1</i></p>").arg(img.fileName));
|
||||
MessageBox::error(parentWidget(),
|
||||
isArtist
|
||||
? i18n("<p>An image already exists for this artist, and the file is not writeable.<p></p><i>%1</i></p>").arg(img.fileName)
|
||||
: i18n("<p>A cover already exists for this album, and the file is not writeable.<p></p><i>%1</i></p>").arg(img.fileName));
|
||||
deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ StdActions::StdActions()
|
||||
copyToDeviceAction->setMenu(DevicesModel::self()->menu());
|
||||
deleteSongsAction = ActionCollection::get()->createAction("deletesongs", i18n("Delete Songs"), "edit-delete");
|
||||
#endif
|
||||
setCoverAction = ActionCollection::get()->createAction("setcover", i18n("Set Cover"));
|
||||
setCoverAction = ActionCollection::get()->createAction("setcover", i18n("Set Image"));
|
||||
refreshAction = ActionCollection::get()->createAction("refresh", i18n("Refresh Database"), "view-refresh");
|
||||
backAction = ActionCollection::get()->createAction("back", i18n("Back"), "go-previous");
|
||||
removeAction = ActionCollection::get()->createAction("removeitems", i18n("Remove"), "list-remove");
|
||||
|
||||
Reference in New Issue
Block a user