Improved input validation, added tests

This commit is contained in:
Djuri 2024-08-31 19:54:43 +02:00
parent cb9bfa4499
commit e21b9895a7
4 changed files with 120 additions and 16 deletions

View file

@ -42,9 +42,11 @@
"nostrRelay": "Nostr Relay",
"nostrZapNotify": "Nostr Zap Notifications",
"useNostr": "Use Nostr datasource",
"bitaxeHostname": "BitAxe hostname",
"bitaxeHostname": "BitAxe hostname or IP",
"bitaxeEnabled": "Enable BitAxe",
"nostrZapPubkey": "Nostr Zap pubkey"
"nostrZapPubkey": "Nostr Zap pubkey",
"invalidNostrPubkey": "Invalid Nostr pubkey, note that your pubkey does NOT start with npub.",
"convertingValidNpub": "Converting valid npub to pubkey"
},
"control": {
"systemInfo": "System info",