Fix translations for option values

This commit is contained in:
Bogdan
2023-08-04 07:05:31 +03:00
parent 3c5eefc349
commit 1100f350ae
3 changed files with 25 additions and 10 deletions
@@ -19,9 +19,24 @@ import translate from 'Utilities/String/translate';
import styles from './EditApplicationModalContent.css';
const syncLevelOptions = [
{ key: 'disabled', value: translate('Disabled') },
{ key: 'addOnly', value: translate('AddRemoveOnly') },
{ key: 'fullSync', value: translate('FullSync') }
{
key: 'disabled',
get value() {
return translate('Disabled');
}
},
{
key: 'addOnly',
get value() {
return translate('AddRemoveOnly');
}
},
{
key: 'fullSync',
get value() {
return translate('FullSync');
}
}
];
function EditApplicationModalContent(props) {