Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f93cb3e authored by Paula's avatar Paula
Browse files

add error managment. Error are catched and structured with severity & code at...

add error managment. Error are catched and structured with severity & code at the lowest possible level; They may be catched again at higher level with instructions for the user added
parent 8cb7ef36
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
            </button>
          </a>
          <div id="error-message-state" class="card" hidden>
            <div class="error-header">
            <div class="error-header danger">
              <img
                class="error-img"
                src="assets/images/icons/critical-error.svg"
@@ -43,7 +43,7 @@
              <div class="error-title" data-translate="error-occurred"></div>
            </div>
            <div class="card-body">
              <div id="error-caption-state"></div>
              <blockquote id="error-caption-state"></blockquote>
              <div id="error-text-state"></div>
            </div>
            <div class="card-footer">
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
  "device-model-not-supported-title": "Ihr Telefon {{product-name}} ist nicht kompatibel",
  "download-eos": "Herunterladen von /e/OS",
  "donate": "Spenden",
  "download-log": "Diagnosebericht herunterladen",
  "enable-usb-file-transfer": "USB-Dateiübertragung aktivieren",
  "enable-usb-file-transfer-instructions-1": "Scrollen Sie im <code>Entwickleroptionen</code>-Bildschirm nach unten, um <code>Default USB configuration</code> zu finden, und tippen Sie darauf.",
  "enable-usb-file-transfer-instructions-2": "Wählen Sie jetzt die Option <code>File Transfer</code> (bei einigen Geräten heißt es <code>MTP mode (media transfer protocol)</code>).",
+3 −0
Original line number Diff line number Diff line
@@ -34,10 +34,13 @@
  "device-model-not-supported-title": "Your phone {{product-name}} is not compatible",
  "download-eos": "Downloading /e/OS",
  "donate": "Donate",
  "download-log": "Download the diagnostic report",
  "enable-usb-file-transfer": "Enable USB file transfer",
  "enable-usb-file-transfer-instructions-1": "Still inside the <code>Developer options</code>, scroll down to find <code>Default USB configuration</code> and tap on it.",
  "enable-usb-file-transfer-instructions-2": "Now select the <code>File Transfer</code> option (on some devices it is called <code>MTP mode (media transfer protocol)</code>).",
  "error-occurred": "An error occurred",
  "error-adb-request-failed-instructions": "Check connection and that no other program is using the phone and retry.",
  "error-adb-connect-failed-instructions": "Check connection and that no other program is using the phone and retry.",
  "format-device": "Format the device",
  "format-device-instructions-1": "Select <code>Factory reset</code>.",
  "format-device-instructions-2": "Select <code>Format data / Factory reset</code> option.",
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
  "device-model-not-supported-title": "Tu teléfono {{product-name}} no es compatible",
  "download-eos": "Descargando /e/OS",
  "donate": "Donar",
  "download-log": "Descargar el informe de diagnóstico",
  "enable-usb-file-transfer": "Habilitar transferencia de archivos USB",
  "enable-usb-file-transfer-instructions-1": "Aún dentro de las <code>opciones de desarrollador</code>, desplázate hacia abajo para encontrar <code>Default USB configuration</code> y pulsa sobre ella.",
  "enable-usb-file-transfer-instructions-2": "Ahora selecciona la opción <code>File Transfer</code> (en algunos dispositivos se llama <code>MTP mode (media transfer protocol)</code>).",
+3 −0
Original line number Diff line number Diff line
@@ -34,10 +34,13 @@
  "device-model-not-supported-title": "Votre téléphone {{product-name}} n'est pas compatible",
  "download-eos": "Téléchargement de /e/OS",
  "donate": "Faire un don",
  "download-log": "Télécharger le rapport de diagnostic",
  "enable-usb-file-transfer": "Activer le transfert de fichiers USB",
  "enable-usb-file-transfer-instructions-1": "Toujours dans les <code>options développeur</code>, faites défiler vers le bas pour trouver <code>Default USB configuration</code> et appuyez dessus.",
  "enable-usb-file-transfer-instructions-2": "Sélectionnez maintenant l'option <code>File Transfer</code> (sur certains appareils, elle est appelée <code>MTP mode (media transfer protocol)</code>).",
  "error-occurred": "Une erreur s'est produite",
  "error-adb-request-failed-instructions": "Vérifiez la connexion et assurez-vous qu'aucun autre programme n'utilise le téléphone, puis réessayez.",
  "error-adb-connect-failed-instructions": "Vérifiez la connexion et assurez-vous qu'aucun autre programme n'utilise le téléphone, puis réessayez.",
  "format-device": "Formater l'appareil",
  "format-device-instructions-1": "Sélectionnez <code>Factory reset</code>.",
  "format-device-instructions-2": "Sélectionnez l'option <code>Format data / Factory reset</code>.",
Loading