add incorrect password text while shaking, fix plurality in retry label
commitf287dbedf1a67653a36ca804758de982cb3c4407
authorMichael Zanetti <michael.zanetti@canonical.com>
dateTue 20 May 2014, 13:07 (12 years ago)
parent1b35898
qml/Greeter/Lockscreen.qml+1−1
@@ -109,7 +109,7 @@ Showable {
109109 left: parent.left
110110 right: parent.right
111111 }
112− text: i18n.tr("%1 retries remaining").arg(root.retryCount)
112+ text: i18n.tr("%1 retry remaining", "%1 retries remaining", root.retryCount).arg(root.retryCount)
113113 horizontalAlignment: Text.AlignHCenter
114114 color: "#f3f3e7"
115115 opacity: 0.6
qml/Greeter/PinLockscreen.qml+1−1
@@ -88,7 +88,7 @@ Column {
8888 id: pinentryFieldPlaceHolder
8989 anchors.centerIn: parent
9090 color: "grey"
91− text: parent.placeholderText
91+ text: wrongPasswordAnimation.running ? i18n.tr("Incorrect passcode") : parent.placeholderText
9292 visible: pinentryFieldLabel.text.length == 0
9393 }
9494