Fix erroneous display for some web page previews
This commit is contained in:
parent
aeca799006
commit
6e6396eac4
13 changed files with 93 additions and 5 deletions
|
@ -391,10 +391,6 @@ ListItem {
|
|||
WebPagePreview {
|
||||
id: webPagePreview
|
||||
|
||||
Component.onCompleted: {
|
||||
webPagePreviewLoader.height = 0;
|
||||
}
|
||||
|
||||
onImplicitHeightChanged: {
|
||||
webPagePreviewLoader.height = webPagePreview.implicitHeight;
|
||||
}
|
||||
|
|
|
@ -145,4 +145,19 @@ Column {
|
|||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
id: noPreviewAvailableText
|
||||
|
||||
width: parent.width
|
||||
text: qsTr("Preview not supported for this link...")
|
||||
font.pixelSize: Theme.fontSizeTiny
|
||||
font.italic: true
|
||||
color: Theme.secondaryColor
|
||||
elide: Text.ElideRight
|
||||
wrapMode: Text.Wrap
|
||||
maximumLineCount: 1
|
||||
textFormat: Text.StyledText
|
||||
visible: !siteNameText.visible && !titleText.visible && !descriptionText.visible && !webPagePreviewImageItem.visible
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1158,6 +1158,13 @@
|
|||
<translation>Download fehlgeschlagen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation>Vorschau wird für diesen Link nicht unterstützt...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1158,6 +1158,13 @@
|
|||
<translation>Download failed.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation>Preview not supported for this link...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1148,6 +1148,13 @@
|
|||
<translation>Error al bajar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1159,6 +1159,13 @@
|
|||
<translation>Lataus epäonnistui.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1148,6 +1148,13 @@
|
|||
<translation>A letöltés nem sikerült.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1158,6 +1158,13 @@
|
|||
<translation>Download non riuscito.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1168,6 +1168,13 @@
|
|||
<translation>Nieudane pobieranie</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1168,6 +1168,13 @@
|
|||
<translation>Ошибка скачивания.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1158,6 +1158,13 @@
|
|||
<translation>Nerladdning misslyckades.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1148,6 +1148,13 @@
|
|||
<translation>下载失败</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
|
@ -1148,6 +1148,13 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebPagePreview</name>
|
||||
<message>
|
||||
<source>Preview not supported for this link...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>functions</name>
|
||||
<message>
|
||||
|
|
Loading…
Reference in a new issue