on xenial help sign in
cleanup strings and debug print as per review
commit8a358244ec673f17beff52bacffd098a79e1ca4d authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 18 Aug 2014, 21:15 (12 years ago) parent6aaf521
2 files changed+2−4
qml/Notifications/NotificationMenuItemFactory.qml+1−1 qml/Shell.qml+1−3
qml/Notifications/NotificationMenuItemFactory.qml+1−1
@@ -117,7 +117,7 @@ Loader {
117117 right: parent.right
118118 }
119119 height: menuFactory.maxHeight
120− infoText: i18n.tr("Please enter SIM PIN")
120+ infoText: i18n.tr("Enter SIM PIN")
121121 errorText: i18n.tr("Sorry, incorrect PIN")
122122 minPinLength: 4
123123 maxPinLength: 8
qml/Shell.qml+1−3
@@ -267,7 +267,7 @@ Item {
267267 i18n.tr("passphrase") : i18n.tr("passcode")
268268 }
269269 lockscreen.infoText = i18n.tr("Enter your %1").arg(promptText)
270− lockscreen.errorText = i18n.tr("Incorrect %1").arg(promptText)
270+ lockscreen.errorText = i18n.tr("Sorry, incorrect %1").arg(promptText)
271271 lockscreen.show();
272272 }
273273 }
@@ -289,7 +289,6 @@ Item {
289289 // prompted for a password. We do this below after the promptless
290290 // early exit.
291291
292− print("huppppa")
293292 if (LightDM.Greeter.promptless) {
294293 return;
295294 }
@@ -299,7 +298,6 @@ Item {
299298 greeter.login();
300299 } else {
301300 AccountsService.failedLogins++
302− print("auth failed. failed logins", AccountsService.failedLogins, "max", maxFailedLogins)
303301 if (maxFailedLogins >= 2) { // require at least a warning
304302 if (AccountsService.failedLogins === maxFailedLogins - 1) {
305303 var title = lockscreen.alphaNumeric ?