[SSE mobile] Fix Bug 52416

This commit is contained in:
SergeyEzhin 2021-10-06 13:37:19 +04:00
parent afce03a1f9
commit 46c16c2c15

View file

@ -47,7 +47,7 @@ const PageApplicationSettings = props => {
</List> </List>
<BlockTitle>{_t.textFormulaLanguage}</BlockTitle> <BlockTitle>{_t.textFormulaLanguage}</BlockTitle>
<List mediaList> <List mediaList>
<ListItem title={currentFormulaLang.displayValue} subtitle={`Example: ${currentFormulaLang.exampleValue}`} link="/formula-languages/" <ListItem title={currentFormulaLang.displayValue} subtitle={`${t('View.Settings.textExample')}: ${currentFormulaLang.exampleValue}`} link="/formula-languages/"
routeProps={{ routeProps={{
onFormulaLangChange: props.onFormulaLangChange onFormulaLangChange: props.onFormulaLangChange
}}> }}>
@ -147,7 +147,7 @@ const PageFormulaLanguage = props => {
<List mediaList> <List mediaList>
{dataLang.map((elem, index) => { {dataLang.map((elem, index) => {
return ( return (
<ListItem radio key={index} title={elem.displayValue} subtitle={`Example: ${elem.exampleValue}`} checked={elem.value === formulaLang} <ListItem radio key={index} title={elem.displayValue} subtitle={`${t('View.Settings.textExample')}: ${elem.exampleValue}`} checked={elem.value === formulaLang}
onChange={() => { onChange={() => {
storeApplicationSettings.changeFormulaLang(elem.value); storeApplicationSettings.changeFormulaLang(elem.value);
props.onFormulaLangChange(elem.value); props.onFormulaLangChange(elem.value);