From ee566492264882b5024876180113d4800a29dbda Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Wed, 3 Feb 2021 17:29:43 +0100
Subject: [PATCH] Describe what the patron id is for translations

- Resolves: #413
---
 gui/qml/LoginDialog.qml | 2 ++
 gui/qml/main.qml        | 1 +
 2 files changed, 3 insertions(+)

diff --git a/gui/qml/LoginDialog.qml b/gui/qml/LoginDialog.qml
index ba0065da..4d926485 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 a85ae46d..17fb0055 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")
-- 
GitLab