import variables from 'config/variables'; import { Header, Content } from '../Layout'; import defaults from 'config/default'; function Final(props) { const language = localStorage.getItem('language') || defaults.language; const theme = localStorage.getItem('theme') || defaults.theme; return (
{variables.getMessage('welcome:sections.final.changes')} {variables.getMessage('welcome:sections.final.changes_description')}
props.switchTab(1)}> {variables.getMessage('settings:sections.language.title')}:{' '} {new Intl.DisplayNames([language], { type: 'language' }).of(language)}
props.switchTab(3)}> {variables.getMessage('settings:sections.appearance.theme.title')}:{' '} {variables.getMessage( 'settings:sections.appearance.theme.' + theme, )}
{props.importedSettings.length !== 0 && (
props.switchTab(2)}> {variables.getMessage('welcome:sections.final.imported', { amount: props.importedSettings.length, })}{' '}
)}
); } export { Final as default, Final };