Commit 1efe6dde authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Fixed some texts and updated Czech localisation.

parent 4ec24716
......@@ -172,7 +172,7 @@ Component {
image: "qrc:/ui/briefcase.svg"
showEntry: true
showNext: true
name: qsTr("Records management")
name: qsTr("Records Management")
funcName: "settRecMan"
}
ListElement {
......
......@@ -171,7 +171,7 @@ Component {
image: "qrc:/ui/briefcase.svg"
showEntry: true
showNext: true
name: qsTr("Upload to Records Management")
name: qsTr("Upload to records management")
funcName: "uploadRM"
}
ListElement {
......
......@@ -119,7 +119,7 @@ Component {
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: qsTr("Here you can upload message into chosen folders in the records management. Update folder hierarchy and select target folders.")
text: qsTr("The message can be uploaded into selected locations in the records management hierarchy.")
}
Row {
id: buttonRow
......@@ -265,6 +265,10 @@ Component {
}
}
/*
* TODO -- Handle situation where non-leaf nodes can also
* be selected.
*/
MouseArea {
function handleClick() {
if (!rLeaf) {
......@@ -281,7 +285,15 @@ Component {
anchors.fill: parent
Accessible.role: Accessible.Button
Accessible.name: qsTr("Open attachment '%1'.").arg(rName)
Accessible.name: {
if (!rLeaf) {
qsTr("View content of %1.").arg(rName)
} else if (rSelectable) {
(!rSelected) ? qsTr("Select %1.").arg(rName) : qsTr("Deselect %1.").arg(rName)
} else {
""
}
}
Accessible.onScrollDownAction: uploadHierarchyList.scrollDown()
Accessible.onScrollUpAction: uploadHierarchyList.scrollUp()
Accessible.onPressAction: {
......
......@@ -116,7 +116,7 @@ Item {
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: qsTr("Click button below for synchronization of information about uploaded files.")
text: qsTr("Button below updates the information about data messages uploaded into the records management service.")
}
AccessibleButton {
id: updateRmDataButton
......@@ -135,7 +135,7 @@ Item {
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: qsTr("Please fill service URL and your identification token. Click button 'Get service info' to login into records management service. You should received service info. Finally, click the icon for saving into settings.")
text: qsTr("Please fill in service URL and your identification token. Click button '%1' to log into the records management service. You should receive information about the service. Finally, click the top right button to save the settings.").arg(infoButton.text)
}
AccessibleText {
color: datovkaPalette.text
......
This diff is collapsed.
This diff is collapsed.
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