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' },
|
tileServerAttributionLabel: { id: 'soapbox_config.tile_server_attribution_label', defaultMessage: 'Map tiles attribution' },
|
||||||
redirectRootNoLoginLabel: { id: 'soapbox_config.redirect_root_no_login_label', defaultMessage: 'Redirect homepage' },
|
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.' },
|
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;
|
type ValueGetter<T = Element> = (e: React.ChangeEvent<T>) => any;
|
||||||
|
@ -285,7 +284,7 @@ const SoapboxConfig: React.FC = () => {
|
||||||
>
|
>
|
||||||
<Input
|
<Input
|
||||||
type='text'
|
type='text'
|
||||||
placeholder={intl.formatMessage(messages.redirectRootNoLoginPlaceholder)}
|
placeholder='/timeline/local'
|
||||||
value={String(data.get('redirectRootNoLogin', ''))}
|
value={String(data.get('redirectRootNoLogin', ''))}
|
||||||
onChange={handleChange(['redirectRootNoLogin'], (e) => e.target.value)}
|
onChange={handleChange(['redirectRootNoLogin'], (e) => e.target.value)}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -1200,7 +1200,6 @@
|
||||||
"soapbox_config.raw_json_label": "Advanced: Edit raw JSON data",
|
"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_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_label": "Redirect homepage",
|
||||||
"soapbox_config.redirect_root_no_login_placeholder": "/timeline/local",
|
|
||||||
"soapbox_config.save": "Save",
|
"soapbox_config.save": "Save",
|
||||||
"soapbox_config.saved": "Soapbox config saved!",
|
"soapbox_config.saved": "Soapbox config saved!",
|
||||||
"soapbox_config.tile_server_attribution_label": "Map tiles attribution",
|
"soapbox_config.tile_server_attribution_label": "Map tiles attribution",
|
||||||
|
|
Ładowanie…
Reference in New Issue