web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

error.json (5251B)


      1 {
      2     "backup": {
      3         "export_failure": "Unable to export app state. Please try again."
      4     },
      5     "app": {
      6         "export": {
      7             "missing_datastore_config": "Missing datastore configuration for export.",
      8             "missing_nostr_keystore_config": "Missing nostr keystore configuration for export."
      9         }
     10     },
     11     "client": {
     12         "geolocation": {
     13             "location_unavailable": "The device location is unavailable",
     14             "permission_denied": "The access device location was denied",
     15             "request_failure": "The request could not be completed",
     16             "timeout": "The request for your device location expired"
     17         },
     18         "http": {
     19             "request_failure": "There was a request failure"
     20         },
     21         "nfc": {
     22             "window_undefined": "The window context is unavailable",
     23             "secure_context_required": "NFC requires a secure context (HTTPS)",
     24             "unsupported": "NFC is not supported on this device",
     25             "permission_denied": "NFC permission was denied",
     26             "scan_in_progress": "NFC scan is already active",
     27             "scan_failed": "Unable to start NFC scan",
     28             "read_failed": "NFC read failed",
     29             "write_failed": "NFC write failed",
     30             "make_read_only_failed": "Unable to lock NFC tag",
     31             "abort": "NFC operation was aborted",
     32             "timeout": "NFC operation timed out",
     33             "invalid_message": "NFC message is invalid",
     34             "unknown_error": "NFC encountered an unknown error"
     35         },
     36         "ble": {
     37             "window_undefined": "The window context is unavailable",
     38             "navigator_undefined": "The navigator context is unavailable",
     39             "secure_context_required": "Bluetooth requires a secure context (HTTPS)",
     40             "unsupported": "Bluetooth is not supported on this device",
     41             "unavailable": "Bluetooth is unavailable or disabled",
     42             "permission_denied": "Bluetooth permission was denied",
     43             "device_not_found": "No Bluetooth device was selected",
     44             "connect_failed": "Unable to connect over Bluetooth",
     45             "service_not_found": "Bluetooth service was not found",
     46             "characteristic_not_found": "Bluetooth characteristic was not found",
     47             "notify_failed": "Unable to enable Bluetooth notifications",
     48             "write_failed": "Bluetooth write failed",
     49             "read_failed": "Bluetooth read failed",
     50             "disconnected": "Bluetooth device disconnected",
     51             "abort": "Bluetooth operation was aborted",
     52             "timeout": "Bluetooth operation timed out",
     53             "invalid_message": "Bluetooth message is invalid",
     54             "unknown_error": "Bluetooth encountered an unknown error"
     55         },
     56         "undefined_window": "The window context is unavailable",
     57         "nostr": {
     58             "missing_public_key": "There is no public key available",
     59             "sync_disabled": "The sync process is currently disabled"
     60         }
     61     },
     62     "default": {
     63         "failure": "The request was not succesful"
     64     },
     65     "configuration": {
     66         "import": {
     67             "database_format_mismatch": "Import file database backup format does not match metadata.",
     68             "empty_file": "Import file is empty.",
     69             "failure": "Unable to import app state. Please verify the file and try again.",
     70             "invalid_file_contents": "Import file contents are invalid.",
     71             "missing_required_sections": "Import file is missing required sections.",
     72             "missing_version_metadata": "Import file is missing version metadata.",
     73             "no_file_chosen": "Choose a backup file before continuing.",
     74             "storage_mismatch": "Import failed: {{label}} storage mismatch (app={{app_database}}/{{app_store}}, backup={{backup_database}}/{{backup_store}}).",
     75             "replica_db_version_mismatch": "Import file replica-db version does not match metadata.",
     76             "replica_store_key_mismatch": "Import failed: replica DB store key mismatch (app={{app_store_key}}, backup={{backup_store_key}}).",
     77             "unsupported_backup_version": "Unsupported backup version ({{backup_version}}); expected {{expected_version}}."
     78         },
     79         "profile": {
     80             "name_min_length": "Profile name must be at least 3 characters."
     81         }
     82     },
     83     "init": {
     84         "configuration_failure": "There was an error configuring the device",
     85         "device_configuration_nostr_profile": "There was an error while configuring your profile",
     86         "device_configuration_nostr_relay": "There was an error while adding the nostr relay configuration"
     87     },
     88     "model": {
     89         "filter_map_bind_values_undefined": "",
     90         "filter_map_options_list_invalid": "",
     91         "filter_map_query_values_invalid_condition": "",
     92         "filter_map_query_values_undefined": ""
     93     },
     94     "nostr": {
     95         "ndk_user_undefined": "There was an error configuring the nostr client",
     96         "no_relays": "There are no relays connected"
     97     },
     98     "radroots": {
     99         "account_registered": "This profile is already registered"
    100     },
    101     "util": {
    102         "parse_file_path_undefined": "There was an error reading the file path"
    103     }
    104 }