From 3094db802d769d79f91a0318ff1006e5acf28a38 Mon Sep 17 00:00:00 2001
From: vjrj <vjrj@comunes.org>
Date: Sat, 23 Nov 2024 01:03:46 +0100
Subject: [PATCH] Add error messages for transaction fetching in translations

---
 assets/translations/en.json | 5 ++++-
 assets/translations/es.json | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/assets/translations/en.json b/assets/translations/en.json
index 9117028c..a52b58f1 100644
--- a/assets/translations/en.json
+++ b/assets/translations/en.json
@@ -311,5 +311,8 @@
   "auth_file_pubkey_mismatch": "The public key from the file does not match.",
   "scan_qr_auth": "Scan a QR code",
   "qr_scanner_no_qr_detected": "No QR code detected. Please try again.",
-  "qr_scanner_error": "An error occurred while scanning the QR code."
+  "qr_scanner_error": "An error occurred while scanning the QR code.",
+  "transactions_error_title": "Something went wrong",
+  "transactions_error_message": "We couldn't fetch your transactions. Please try again later.",
+  "transactions_error_try_again": "Try Again"
 }
diff --git a/assets/translations/es.json b/assets/translations/es.json
index c0d32911..e384a302 100644
--- a/assets/translations/es.json
+++ b/assets/translations/es.json
@@ -317,5 +317,8 @@
   "auth_file_pubkey_mismatch": "La clave pública del archivo no coincide.",
   "scan_qr_auth": "Escanear QR",
   "qr_scanner_no_qr_detected": "No se detectó ningún código QR. Inténtalo de nuevo.",
-  "qr_scanner_error": "Ocurrió un error al escanear el código QR."
+  "qr_scanner_error": "Ocurrió un error al escanear el código QR.",
+  "transactions_error_title": "Algo salió mal",
+  "transactions_error_message": "No se pudieron cargar las transacciones. Por favor, inténtalo de nuevo más tarde.",
+  "transactions_error_try_again": "Reintentar"
 }
-- 
GitLab