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

Commit 88f11d77 authored by Paula's avatar Paula
Browse files

change log system with log & error centralized. Also use an instruction error...

change log system with log & error centralized. Also use an instruction error class to handle errors reported to the user
parent 5e537a0b
Loading
Loading
Loading
Loading
+21 −4
Original line number Diff line number Diff line
@@ -34,10 +34,27 @@
              ></span>
            </button>
          </a>
          <div id="error-message-state" hidden="display:none">
            <div id="error-caption-state"></div>
          <div id="error-message-state" class="card" hidden>
            <div class="error-header danger">
              <img
                class="error-img"
                src="assets/images/icons/critical-error.svg"
              />
              <div class="error-title" data-translate="error-occurred"></div>
            </div>
            <div class="card-body">
              <blockquote id="error-caption-state"></blockquote>
              <div id="error-text-state"></div>
            </div>
            <div class="card-footer">
              <div>
                <button id="send-log">
                  <span data-translate="send-log"></span>
                  <span class="btn-loader"></span>
                </button>
              </div>
            </div>
          </div>
          <a
            href="https://doc.e.foundation/eos-installer"
            target="_blank"
@@ -677,6 +694,7 @@
          </div>
        </div>
      </div>
      <!-- End FLASH -->

      <div id="flashing-recovery" class="card inactive flashing">
        <div class="card-header" data-translate="installing-recovery"></div>
@@ -692,7 +710,6 @@
          </div>
        </div>
      </div>
      <!-- End FLASH -->
      <!-- Start Recovery-->
      <div
        id="bootloader-to-recovery-manually"
+14 −1
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",
  "send-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>).",
@@ -99,5 +100,17 @@
  "unlocking-instructions-3": "Da das Gerät <b>vollständig zurückgesetzt</b> wird, müssen Sie <b>USB-Debugging erneut aktivieren</b>.",
  "unlocking-instructions-4": "Überspringen Sie die Einrichtung auf dem Telefon.",
  "unlocking-instructions-1-teracube": "Das Telefon fordert dazu auf, den Bootloader zu entsperren. Wählen Sie <code>unlock bootloader</code> mit der <kbd>Volume Up</kbd>-Taste aus.",
  "unlocking-instructions-1-mimir": "Das Telefon fordert dazu auf, den Bootloader zu entsperren. Wählen Sie <code>unlock bootloader</code> mit der <kbd>Volume Down</kbd>-Taste aus."
  "unlocking-instructions-1-mimir": "Das Telefon fordert dazu auf, den Bootloader zu entsperren. Wählen Sie <code>unlock bootloader</code> mit der <kbd>Volume Down</kbd>-Taste aus.",

  "error-unknown-error-instructions": "Ein unerwarteter Fehler ist aufgetreten. Bitte versuchen Sie es erneut oder melden Sie das Problem, wenn es weiterhin besteht.",
  "error-occurred": "Es ist ein Fehler aufgetreten",
  "error-adb-connect-failed-instructions": "Verbindung zum Gerät fehlgeschlagen. Stellen Sie sicher, dass USB-Debugging aktiviert ist, das Kabel ordnungsgemäß angeschlossen ist, und versuchen Sie es erneut.",
  "error-bootloader-connect-failed-instructions": "Verbindung im Bootloader-Modus fehlgeschlagen. Trennen Sie das USB-Kabel und schließen Sie es wieder an.",
  "error-unlock-not-allowed-instructions": "Ihr Gerät darf nicht entsperrt werden. OEM-Entsperrung muss in den Entwickleroptionen aktiviert sein.",
  "error-offline-before-fetch-instructions": "Keine Internetverbindung erkannt. Bitte überprüfen Sie Ihre Netzwerkverbindung und versuchen Sie es erneut.",
  "error-bootloader-flash-failed-instructions": "Beim Flashen des Geräts ist ein Fehler aufgetreten. Stellen Sie sicher, dass das USB-Kabel angeschlossen ist und der Akku ausreichend geladen ist.",
  "error-download-chunk-request-failed-instructions": "Der Download ist fehlgeschlagen. Überprüfen Sie Ihre Internetverbindung und versuchen Sie es erneut.",
  "error-local-storage-issue-instructions": "Ein lokaler Speicherfehler ist aufgetreten. Stellen Sie sicher, dass genügend Speicherplatz vorhanden ist.",
  "error-corrupted-zip-instructions": "Die heruntergeladene Datei scheint beschädigt zu sein. Bitte versuchen Sie es erneut.",
  "error-lock-failed-instructions": "Beim Sperren oder Überprüfen des Bootloaders ist ein Fehler aufgetreten. Trennen Sie das USB-Kabel und schließen Sie es wieder an."
}
+14 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
  "device-model-not-supported-title": "Your phone {{product-name}} is not compatible",
  "download-eos": "Downloading /e/OS",
  "donate": "Donate",
  "send-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>).",
@@ -99,5 +100,17 @@
  "unlocking-instructions-3": "Since the device <b>resets completely</b>, you will need to <b>re-enable USB debugging</b>.",
  "unlocking-instructions-4": "Pass the setup on the phone.",
  "unlocking-instructions-1-teracube": "The phone is asking for the bootloader to be unlocked. Select <code>unlock bootloader</code> by using <kbd>Volume Up</kbd> button.",
  "unlocking-instructions-1-mimir": "The phone is asking for the bootloader to be unlocked. Select <code>unlock bootloader</code> by using <kbd>Volume Down</kbd> button."
  "unlocking-instructions-1-mimir": "The phone is asking for the bootloader to be unlocked. Select <code>unlock bootloader</code> by using <kbd>Volume Down</kbd> button.",

  "error-unknown-error-instructions": "An unexpected error occurred. Please try again or report the issue if it persists.",
  "error-occurred": "An error occurred",
  "error-adb-connect-failed-instructions": "Could not connect to your device. Make sure USB debugging is enabled, your cable is properly connected, and try again.",
  "error-bootloader-connect-failed-instructions": "Could not connect to your device in bootloader mode. Reconnect the USB cable and try again.",
  "error-unlock-not-allowed-instructions": "Your device is not allowed to be unlocked. OEM unlocking must be enabled in Developer options before proceeding.",
  "error-offline-before-fetch-instructions": "No internet connection detected. Please check your network connection and try again.",
  "error-bootloader-flash-failed-instructions": "An error occurred while flashing your device. Make sure the USB cable is connected and your device has enough battery, then try again.",
  "error-download-chunk-request-failed-instructions": "The download failed. Check your internet connection and try again.",
  "error-local-storage-issue-instructions": "A local storage error occurred. Make sure your browser has enough disk space and that storage permissions are granted.",
  "error-corrupted-zip-instructions": "The downloaded file appears to be corrupted. Please try again to re-download it.",
  "error-lock-failed-instructions": "An error occurred while trying to lock or check the bootloader. Reconnect the USB cable and try again."
}
+14 −1
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",
  "send-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>).",
@@ -99,5 +100,17 @@
  "unlocking-instructions-3": "Dado que el dispositivo <b>se restablece completamente</b>, necesitarás <b>habilitar nuevamente la depuración USB</b>.",
  "unlocking-instructions-4": "Pasa la configuración en el teléfono.",
  "unlocking-instructions-1-teracube": "El teléfono está solicitando que el bootloader sea desbloqueado. Selecciona <code>unlock bootloader</code> usando el botón <kbd>Volume Up</kbd>.",
  "unlocking-instructions-1-mimir": "El teléfono está solicitando que el bootloader sea desbloqueado. Selecciona <code>unlock bootloader</code> usando el botón <kbd>Volume Down</kbd>."
  "unlocking-instructions-1-mimir": "El teléfono está solicitando que el bootloader sea desbloqueado. Selecciona <code>unlock bootloader</code> usando el botón <kbd>Volume Down</kbd>.",

  "error-unknown-error-instructions": "Se produjo un error inesperado. Por favor, inténtalo de nuevo o informa del problema si persiste.",
  "error-occurred": "Se ha producido un error",
  "error-adb-connect-failed-instructions": "No se pudo conectar al dispositivo. Asegúrate de que la depuración USB está activada y el cable está bien conectado.",
  "error-bootloader-connect-failed-instructions": "No se pudo conectar al dispositivo en modo bootloader. Vuelve a conectar el cable USB e inténtalo de nuevo.",
  "error-unlock-not-allowed-instructions": "El desbloqueo del dispositivo no está permitido. Debes activar el desbloqueo OEM en las opciones de desarrollador.",
  "error-offline-before-fetch-instructions": "No se detectó conexión a Internet. Comprueba tu conexión de red e inténtalo de nuevo.",
  "error-bootloader-flash-failed-instructions": "Se produjo un error al flashear el dispositivo. Asegúrate de que el cable USB está conectado y la batería tiene suficiente carga.",
  "error-download-chunk-request-failed-instructions": "La descarga ha fallado. Comprueba tu conexión a Internet e inténtalo de nuevo.",
  "error-local-storage-issue-instructions": "Se produjo un error de almacenamiento local. Asegúrate de que hay suficiente espacio en disco.",
  "error-corrupted-zip-instructions": "El archivo descargado parece estar dañado. Por favor, vuelve a descargarlo.",
  "error-lock-failed-instructions": "Se produjo un error al bloquear o verificar el bootloader. Vuelve a conectar el cable USB e inténtalo de nuevo."
}
+13 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
  "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",
  "send-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>).",
@@ -99,5 +100,16 @@
  "unlocking-instructions-3": "Étant donné que l'appareil <b>se réinitialise complètement</b>, vous devrez <b>réactiver le débogage USB</b>.",
  "unlocking-instructions-4": "Passez la configuration sur le téléphone.",
  "unlocking-instructions-1-teracube": "Le téléphone demande à ce que le bootloader soit déverrouillé. Sélectionnez <code>unlock bootloader</code> en utilisant le bouton <kbd>Volume Up</kbd>.",
  "unlocking-instructions-1-mimir": "Le téléphone demande à ce que le bootloader soit déverrouillé. Sélectionnez <code>unlock bootloader</code> en utilisant le bouton <kbd>Volume Down</kbd>."
  "unlocking-instructions-1-mimir": "Le téléphone demande à ce que le bootloader soit déverrouillé. Sélectionnez <code>unlock bootloader</code> en utilisant le bouton <kbd>Volume Down</kbd>.",
  "error-unknown-error-instructions": "Une erreur inattendue s'est produite. Veuillez réessayer ou signaler le problème s'il persiste.",
  "error-occurred": "Une erreur s'est produite",
  "error-adb-connect-failed-instructions": "Impossible de se connecter à votre appareil. Assurez-vous que le débogage USB est activé, que le câble est bien branché, puis réessayez.",
  "error-bootloader-connect-failed-instructions": "Impossible de se connecter à votre appareil en mode bootloader. Débranchez et rebranchez le câble USB, puis réessayez.",
  "error-unlock-not-allowed-instructions": "Le déverrouillage de votre appareil n'est pas autorisé. Le déverrouillage OEM doit être activé dans les options développeur avant de continuer.",
  "error-offline-before-fetch-instructions": "Aucune connexion internet détectée. Veuillez vérifier votre connexion réseau et réessayer.",
  "error-bootloader-flash-failed-instructions": "Une erreur s'est produite lors du flashage de votre appareil. Assurez-vous que le câble USB est connecté et que la batterie est suffisamment chargée, puis réessayez.",
  "error-download-chunk-request-failed-instructions": "Le téléchargement a échoué. Vérifiez votre connexion internet et réessayez.",
  "error-local-storage-issue-instructions": "Une erreur de stockage local s'est produite. Assurez-vous que votre navigateur dispose de suffisamment d'espace disque et que les autorisations de stockage sont accordées.",
  "error-corrupted-zip-instructions": "Le fichier téléchargé semble être corrompu. Veuillez réessayer pour le re-télécharger.",
  "error-lock-failed-instructions": "Une erreur s'est produite lors du verrouillage ou de la vérification du bootloader. Débranchez et rebranchez le câble USB, puis réessayez."
}
Loading