@ -11,8 +11,11 @@ import LocalSettingsPageItem from './item';
const messages = defineMessages ( {
const messages = defineMessages ( {
layout _auto : { id : 'layout.auto' , defaultMessage : 'Auto' } ,
layout _auto : { id : 'layout.auto' , defaultMessage : 'Auto' } ,
layout _auto _hint : { id : 'layout.hint.auto' , defaultMessage : 'Automatically chose layout based on “Enable advanced web interface” setting and screen size.' } ,
layout _desktop : { id : 'layout.desktop' , defaultMessage : 'Desktop' } ,
layout _desktop : { id : 'layout.desktop' , defaultMessage : 'Desktop' } ,
layout _desktop _hint : { id : 'layout.hint.desktop' , defaultMessage : 'Use multiple-column layout regardless of the “Enable advanced web interface” setting or screen size.' } ,
layout _mobile : { id : 'layout.single' , defaultMessage : 'Mobile' } ,
layout _mobile : { id : 'layout.single' , defaultMessage : 'Mobile' } ,
layout _mobile _hint : { id : 'layout.hint.single' , defaultMessage : 'Use single-column layout regardless of the “Enable advanced web interface” setting or screen size.' } ,
side _arm _none : { id : 'settings.side_arm.none' , defaultMessage : 'None' } ,
side _arm _none : { id : 'settings.side_arm.none' , defaultMessage : 'None' } ,
side _arm _keep : { id : 'settings.side_arm_reply_mode.keep' , defaultMessage : 'Keep secondary toot button to set privacy' } ,
side _arm _keep : { id : 'settings.side_arm_reply_mode.keep' , defaultMessage : 'Keep secondary toot button to set privacy' } ,
side _arm _copy : { id : 'settings.side_arm_reply_mode.copy' , defaultMessage : 'Copy privacy setting of the toot being replied to' } ,
side _arm _copy : { id : 'settings.side_arm_reply_mode.copy' , defaultMessage : 'Copy privacy setting of the toot being replied to' } ,
@ -87,9 +90,9 @@ export default class LocalSettingsPage extends React.PureComponent {
item = { [ 'layout' ] }
item = { [ 'layout' ] }
id = 'mastodon-settings--layout'
id = 'mastodon-settings--layout'
options = { [
options = { [
{ value : 'auto' , message : intl . formatMessage ( messages . layout _auto ) } ,
{ value : 'auto' , message : intl . formatMessage ( messages . layout _auto ) , hint : intl . formatMessage ( messages . layout _auto _hint ) } ,
{ value : 'multiple' , message : intl . formatMessage ( messages . layout _desktop ) } ,
{ value : 'multiple' , message : intl . formatMessage ( messages . layout _desktop ) , hint : intl . formatMessage ( messages . layout _desktop _hint ) } ,
{ value : 'single' , message : intl . formatMessage ( messages . layout _mobile ) } ,
{ value : 'single' , message : intl . formatMessage ( messages . layout _mobile ) , hint : intl . formatMessage ( messages . layout _mobile _hint ) } ,
] }
] }
onChange = { onChange }
onChange = { onChange }
>
>