diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index 38bb386..1e2b3a0 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -38,10 +38,13 @@ "luxLightToggle": "Auto toggle frontlight at lux", "wpTimeout": "WiFi-config portal timeout", "nostrPubKey": "Nostr source pubkey", + "nostrZapKey": "Nostr zap pubkey", "nostrRelay": "Nostr Relay", + "nostrZapNotify": "Nostr Zap Notifications", "useNostr": "Use Nostr datasource", "bitaxeHostname": "BitAxe hostname", - "bitaxeEnabled": "Enable BitAxe" + "bitaxeEnabled": "Enable BitAxe", + "nostrZapPubkey": "Nostr Zap pubkey" }, "control": { "systemInfo": "System info", diff --git a/src/routes/Settings.svelte b/src/routes/Settings.svelte index de7852b..476a5eb 100644 --- a/src/routes/Settings.svelte +++ b/src/routes/Settings.svelte @@ -299,6 +299,24 @@ {/if} + {#if 'nostrZapNotify' in $settings} + + + + + + + {/if} {#if $settings.useNostr} + {/if} + {#if 'nostrZapNotify' in $settings || $settings.useNostr} {/if} + {#if 'nostrZapNotify' in $settings} + + + + {/if} {#if 'bitaxeEnabled' in $settings}