Nicolium: Allow configuring the new option

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-04-07 20:37:20 +00:00
parent 998da3094a
commit 43fcf9af2e
2 changed files with 22 additions and 0 deletions

View File

@@ -1135,6 +1135,8 @@
"follow_request.authorize": "Authorize",
"follow_request.reject": "Reject",
"footer.meow": "meow :3 {emoji}",
"frontend_config.allow_displaying_remote_no_login_hint": "When disabled, users will be navigated to origin URLs when trying to view remote content.",
"frontend_config.allow_displaying_remote_no_login_label": "Allow displaying remote content when not logged in",
"frontend_config.copyright_footer.meta_fields.label_placeholder": "Copyright footer",
"frontend_config.crypto_address.meta_fields.address_placeholder": "Address",
"frontend_config.crypto_address.meta_fields.note_placeholder": "Note (optional)",

View File

@@ -360,6 +360,26 @@ const FrontendConfigEditor: React.FC = () => {
/>
</ListItem>
<ListItem
label={
<FormattedMessage
id='frontend_config.allow_displaying_remote_no_login_label'
defaultMessage='Allow displaying remote content when not logged in'
/>
}
hint={
<FormattedMessage
id='frontend_config.allow_displaying_remote_no_login_hint'
defaultMessage='When disabled, users will be navigated to origin URLs when trying to view remote content.'
/>
}
>
<Toggle
checked={frontendConfig.allowDisplayingRemoteNoLogin}
onChange={handleChange('allowDisplayingRemoteNoLogin', (e) => e.target.checked)}
/>
</ListItem>
<ListItem
label={
<FormattedMessage