diff --git a/.env.example b/.env.example index 9126a998..a70c7e8f 100644 --- a/.env.example +++ b/.env.example @@ -8,4 +8,4 @@ DEFAULT_CURRENCY=USD # Set the logging level: trace | debug | info | warn | error | fatal | silent LOG_LEVEL=info # Maxinum image size that can be uploaded (in bytes) -MAX_IMAGE_SIZE=5000000 \ No newline at end of file +MAX_IMAGE_SIZE=5000000 diff --git a/src/ambient.d.ts b/src/ambient.d.ts index 63499e78..8e6821a9 100644 --- a/src/ambient.d.ts +++ b/src/ambient.d.ts @@ -92,6 +92,7 @@ type Config = { showName: boolean; showNameAcrossGroups: boolean; showForOwner: boolean; + showNamePublic: boolean; requireEmail: boolean; }; listMode: ListMode; diff --git a/src/i18n/en.json b/src/i18n/en.json index a76eec85..8f342e22 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -102,6 +102,8 @@ "show-for-list-owner": "Show for list owner", "show-for-list-owner-description": "Allow list owners to view claims on their own lists.", "show-name": "Show name", + "show-name-publicly": "Show name publicly", + "show-name-publicly-tooltip": "When enabled, the name provided on a public claim is shown to everyone viewing the public list.", "smtp": "SMTP", "smtp-from-email": "From Email", "smtp-from-name": "From Name", diff --git a/src/lib/components/admin/Settings/General/Claims.svelte b/src/lib/components/admin/Settings/General/Claims.svelte index 7f3fe968..77857954 100644 --- a/src/lib/components/admin/Settings/General/Claims.svelte +++ b/src/lib/components/admin/Settings/General/Claims.svelte @@ -46,6 +46,22 @@ {$t("admin.show-name-across-groups-tooltip")} {/snippet} + + + + {#snippet description()} + {$t("admin.show-name-publicly-tooltip")} + {/snippet} +