sforkowany z mirror/soapbox
Delete unnecessary placeholder locale
rodzic
5f747fa703
commit
e48e5a5652
|
@ -55,7 +55,6 @@ const messages = defineMessages({
|
|||
tileServerAttributionLabel: { id: 'soapbox_config.tile_server_attribution_label', defaultMessage: 'Map tiles attribution' },
|
||||
redirectRootNoLoginLabel: { id: 'soapbox_config.redirect_root_no_login_label', defaultMessage: 'Redirect homepage' },
|
||||
redirectRootNoLoginHint: { id: 'soapbox_config.redirect_root_no_login_hint', defaultMessage: 'Path to redirect the homepage when a user is not logged in.' },
|
||||
redirectRootNoLoginPlaceholder: { id: 'soapbox_config.redirect_root_no_login_placeholder', defaultMessage: '/timeline/local' },
|
||||
});
|
||||
|
||||
type ValueGetter<T = Element> = (e: React.ChangeEvent<T>) => any;
|
||||
|
@ -285,7 +284,7 @@ const SoapboxConfig: React.FC = () => {
|
|||
>
|
||||
<Input
|
||||
type='text'
|
||||
placeholder={intl.formatMessage(messages.redirectRootNoLoginPlaceholder)}
|
||||
placeholder='/timeline/local'
|
||||
value={String(data.get('redirectRootNoLogin', ''))}
|
||||
onChange={handleChange(['redirectRootNoLogin'], (e) => e.target.value)}
|
||||
/>
|
||||
|
|
|
@ -1200,7 +1200,6 @@
|
|||
"soapbox_config.raw_json_label": "Advanced: Edit raw JSON data",
|
||||
"soapbox_config.redirect_root_no_login_hint": "Path to redirect the homepage when a user is not logged in.",
|
||||
"soapbox_config.redirect_root_no_login_label": "Redirect homepage",
|
||||
"soapbox_config.redirect_root_no_login_placeholder": "/timeline/local",
|
||||
"soapbox_config.save": "Save",
|
||||
"soapbox_config.saved": "Soapbox config saved!",
|
||||
"soapbox_config.tile_server_attribution_label": "Map tiles attribution",
|
||||
|
|
Ładowanie…
Reference in New Issue