Commit 59127e7a authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Modified some texts in e-gov related pages.

parent beda14fe
......@@ -109,7 +109,7 @@ Item {
font.bold: false
width: parent.width
wrapMode: Text.Wrap
text: qsTr("Following information must be filled:")
text: (formList.count !== 0) ? qsTr("Following information are required:") : ""
}
Text {
font.bold: false
......@@ -117,9 +117,18 @@ Item {
}
}
}
AccessibleText {
id: emptyList
visible: false
color: datovkaPalette.text
anchors.centerIn: parent
width: parent.width
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
text: qsTr("No user data needed.")
}
GovFormList {
id: formList
z: 0
anchors.top: formPane.bottom
anchors.bottom: parent.bottom
clip: true
......@@ -129,6 +138,9 @@ Item {
width: parent.width
interactive: true
model: govFormModel
onCountChanged: {
emptyList.visible = (formList.count === 0)
}
}
Connections {
target: isds
......
......@@ -126,8 +126,8 @@ Component {
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
text: (filterBar.filterField.text.length === 0) ?
qsTr("No Gov service.") :
qsTr("No Gov service found that matches filter text '%1'.").arg(filterBar.filterField.text)
qsTr("No available e-government service.") :
qsTr("No e-government service found that matches filter text '%1'.").arg(filterBar.filterField.text)
}
GovServiceList {
id: govServiceList
......
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