Use ellipsis in «Loading…» strings
This commit is contained in:
@@ -13,7 +13,7 @@ import NeoChat.Component 1.0
|
|||||||
Kirigami.PlaceholderMessage {
|
Kirigami.PlaceholderMessage {
|
||||||
property var showContinueButton: false
|
property var showContinueButton: false
|
||||||
property var showBackButton: false
|
property var showBackButton: false
|
||||||
property string title: i18n("Loading")
|
property string title: i18n("Loading…")
|
||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ LoginStep {
|
|||||||
}
|
}
|
||||||
|
|
||||||
action: Kirigami.Action {
|
action: Kirigami.Action {
|
||||||
text: LoginHelper.testing && matrixIdField.acceptableInput ? i18n("Loading") : i18nc("@action:button", "Continue")
|
text: LoginHelper.testing && matrixIdField.acceptableInput ? i18n("Loading…") : i18nc("@action:button", "Continue")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (LoginHelper.supportsSso && LoginHelper.supportsPassword) {
|
if (LoginHelper.supportsSso && LoginHelper.supportsPassword) {
|
||||||
processed("qrc:/imports/NeoChat/Component/Login/LoginMethod.qml");
|
processed("qrc:/imports/NeoChat/Component/Login/LoginMethod.qml");
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ import QtQuick.Controls 2.12 as QQC2
|
|||||||
import org.kde.kirigami 2.12 as Kirigami
|
import org.kde.kirigami 2.12 as Kirigami
|
||||||
|
|
||||||
Kirigami.Page {
|
Kirigami.Page {
|
||||||
title: i18n("Loading")
|
title: i18n("Loading…")
|
||||||
|
|
||||||
Kirigami.PlaceholderMessage {
|
Kirigami.PlaceholderMessage {
|
||||||
id: loadingIndicator
|
id: loadingIndicator
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: i18n("Loading")
|
text: i18n("Loading…")
|
||||||
QQC2.BusyIndicator {
|
QQC2.BusyIndicator {
|
||||||
running: loadingIndicator.visible
|
running: loadingIndicator.visible
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ Kirigami.ScrollablePage {
|
|||||||
id: loadingIndicator
|
id: loadingIndicator
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: page.currentRoom === null || (messageListView.count === 0 && !page.currentRoom.allHistoryLoaded && !page.currentRoom.isInvite)
|
visible: page.currentRoom === null || (messageListView.count === 0 && !page.currentRoom.allHistoryLoaded && !page.currentRoom.isInvite)
|
||||||
text: i18n("Loading")
|
text: i18n("Loading…")
|
||||||
QQC2.BusyIndicator {
|
QQC2.BusyIndicator {
|
||||||
running: loadingIndicator.visible
|
running: loadingIndicator.visible
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Kirigami.ScrollablePage {
|
|||||||
Kirigami.PlaceholderMessage {
|
Kirigami.PlaceholderMessage {
|
||||||
visible: parent.model.count === 0 // We can assume 0 means loading since there is at least one device
|
visible: parent.model.count === 0 // We can assume 0 means loading since there is at least one device
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: i18n("Loading")
|
text: i18n("Loading…")
|
||||||
Controls.BusyIndicator {
|
Controls.BusyIndicator {
|
||||||
running: parent.visible
|
running: parent.visible
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user