summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2021-02-03 17:29:43 +0100
committerRuben Pollan <meskio@sindominio.net>2021-02-03 17:29:43 +0100
commitee566492264882b5024876180113d4800a29dbda (patch)
treebb4a87eb01173c4089beed0578ee9e270e073f28 /gui/qml
parent5bddeb75b2fc12943371b306103d1660275e3bcd (diff)
Describe what the patron id is for translations
- Resolves: #413
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/LoginDialog.qml2
-rw-r--r--gui/qml/main.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/gui/qml/LoginDialog.qml b/gui/qml/LoginDialog.qml
index ba0065d..4d92648 100644
--- a/gui/qml/LoginDialog.qml
+++ b/gui/qml/LoginDialog.qml
@@ -17,6 +17,7 @@ Dialog {
}
TextField {
id: username
+ //: Ask for the library card number
placeholderText: qsTr("Patron ID")
}
TextField {
@@ -32,6 +33,7 @@ Dialog {
function getLoginText() {
if (allowEmptyPass) {
+ //: Ask for the library card number
return qsTr("Enter your Patron ID")
} else {
return qsTr("Log in with your library credentials")
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index a85ae46..17fb005 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -59,6 +59,7 @@ ApplicationWindow {
if (allowEmptyPass) {
// For now, this is a libraryVPN, so we can be explicit about what credentials are here.
// Another option to consider is to customize the error strings while vendoring.
+ //: Incorrect library card number
msg = qsTr("Please check your Patron ID")
} else {
msg = qsTr("Could not log in with those credentials, please retry")