Commit 13a8034c authored by Nate Graham's avatar Nate Graham 🔩

Remove last inappropriate use of bold text in album view

Bolt text should be used for emphasis; it's generally never correct to
have all elements in a list be bold. Making the album list view's text
regular brings it in line with the rest of the UI.
parent fd37952f
......@@ -84,31 +84,27 @@ FocusScope {
if (trackNumber !== 0 && trackNumber !== -1 && trackNumber !== undefined) {
if (albumArtist !== undefined && artist !== albumArtist)
return i18nc("%1: track number. %2: track title. %3: artist name",
"<b>%1 - %2</b> - <i>%3</i>",
"%1 - %2 - %3",
trackNumber.toLocaleString(Qt.locale(), 'f', 0),
title, artist);
else
return i18nc("%1: track number. %2: track title.",
"<b>%1 - %2</b>",
"%1 - %2",
trackNumber.toLocaleString(Qt.locale(), 'f', 0),
title);
} else {
if (albumArtist !== undefined && artist !== albumArtist)
return i18nc("%1: track title. %2: artist name",
"<b>%1</b> - <i>%2</i>",
"%1 - %2",
title, artist);
else
return i18nc("%1: track title",
"<b>%1</b>",
title);
return title;
}
}
elide: Text.ElideRight
horizontalAlignment: Text.AlignLeft
color: myPalette.text
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
Layout.fillWidth: true
Layout.leftMargin: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment