+
+
+
+
+
+
+
-
-
+
+ {#if editable.registrationEnabled}
+
+
+
+ {#if editable.registrationKey}
+ {registrationLink}
+ {:else}
+ {$_('you-have-to-save-your-changes-to-generate-a-link')}
+ {/if}
+
+
+
+ {#if editable.registrationKey}
+
+ {$_('click-to-copy-the-link-into-your-clipboard')}
+
+ {/if}
+
+ {/if}
+
+
+
+
+
+
+
+
+
+
+
+ {#if editable.address_checked === true}
+
+
+
+ {#if !isAddress1Valid}
+
+ {$_('address-is-required')}
+
+ {/if}
+
+
+
+
+
+
+
+
+ {#if !iszipcodevalid}
+
+ {$_('valid-zipcode-postal-code-is-required')}
+
+ {/if}
+
+
+
+
+ {#if !iscityvalid}
+
+ {$_('valid-city-is-required')}
+
+ {/if}
+
+ {/if}
- {#if editable.address_checked === true}
-
-
-
- {#if !isAddress1Valid}
-
- {$_('address-is-required')}
-
- {/if}
-
-
-
-
-
-
-
-
- {#if !iszipcodevalid}
-
- {$_('valid-zipcode-postal-code-is-required')}
-
- {/if}
-
-
-
-
- {#if !iscityvalid}
-
- {$_('valid-city-is-required')}
-
- {/if}
-
- {/if}
{:else}
{#await promise}
diff --git a/src/components/scanstations/CopyScanStationTokenModal.svelte b/src/components/scanstations/CopyScanStationTokenModal.svelte
index 6fa4db58..96c0d8ad 100644
--- a/src/components/scanstations/CopyScanStationTokenModal.svelte
+++ b/src/components/scanstations/CopyScanStationTokenModal.svelte
@@ -23,14 +23,14 @@
throw new Error();
}
Toastify({
- text: $_('copied-token-to-clipboard'),
+ text: $_("copied-token-to-clipboard"),
duration: 500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast();
copied = true;
} catch (err) {
Toastify({
- text: $_('error-whyile-copying-to-clipboard'),
+ text: $_("error-whyile-copying-to-clipboard"),
duration: 500,
backgroundColor:
"linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)",
@@ -75,7 +75,9 @@
d="M4 5v11h16V5H4zM2 4a1 1 0 011-1h18a1 1 0 011 1v14H2V4zM1 19h22v2H1v-2z" />
-
{$_('token')}
+
+ {$_('token')}
+
{$_('the-scanstations-api-token-will-only-get-displayed-once-you-wont-be-able-to-change-or-view-it-again')}
@@ -106,7 +108,9 @@
d="M7 4V2h10v2h3l1 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V5l1-1h3zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z" />