Commit fa0e26a0 authored by Karel Slaný's avatar Karel Slaný

Added description of the verify imported message option.

parent ed0d6968
......@@ -53,7 +53,7 @@ Component {
statusBar.visible = false
}
/* File dialog for choose of files/folder from the storage */
/* File dialog for choosing of files/directories from the storage. */
FileDialogue {
id: fileDialogue
multiSelect: true
......@@ -84,7 +84,7 @@ Component {
},
"zfoDir": function callZfoDir() {
clearInfo()
fileDialogue.raise(qsTr("Select import folder"), "*.*", false)
fileDialogue.raise(qsTr("Select import directory"), "*.*", false)
}
}
......@@ -101,7 +101,7 @@ Component {
image: "qrc:/ui/datovka-folder-open.svg"
showEntry: true
showNext: true
name: qsTr("Import ZFO files from folder")
name: qsTr("Import ZFO files from directory")
funcName: "zfoDir"
}
}
......@@ -129,17 +129,27 @@ Component {
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: qsTr("Here you can import messages from ZFO files or selected directory into the local database. You can enabled the message validation on the ISDS server (working connection to server is required).")
text: qsTr("Here you can import messages from ZFO files into the local database. You can manually specify individual ZFO files or you can select whole directories containing ZFO files.")
}
Text {
text: " "
}
AccessibleSwitch {
id: verifyMessage
text: qsTr("Verify message in the ISDS server")
text: qsTr("Verify imported messages on the ISDS server")
font.pointSize: defaultTextFont.font.pointSize
checked: false
}
AccessibleText {
color: datovkaPalette.mid
wrapMode: Text.Wrap
width: parent.width
text: (verifyMessage.checked ?
(qsTr("Messages will be validated on the ISDS server before being imported. This means that the imported messages are going to be sent to the ISDS server where they are going to be checked. Messages failing this test won't be imported.")
+ "\n" + qsTr("Working internet connection is required. The speed of the operation depends on the speed of your internet connection. Also be aware that it will generate upload traffic whose size depends on the amount of imported data.")
+ "\n" + qsTr("We don't recommend using this option when you are using a mobile internet connection.")) :
qsTr("Imported messages won't be validated on the ISDS server."))
}
AccessibleMenu {
id: importMenuList
height: 2 * delegateHeight
......
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