WIP feature/breadcrumb/fix_localize

This commit is contained in:
elforjani3
2020-05-13 00:02:21 +02:00
parent 4ab85eaf09
commit e6f63fbc88
69 changed files with 610 additions and 394 deletions

View File

@@ -375,7 +375,7 @@ function AccountFormDialog({
text={
selectedSubaccount
? selectedSubaccount.name
: 'Select Parent Account'
: <T id={'select_parent_account'}/>
}
/>
</Select>

View File

@@ -82,7 +82,7 @@ function ExchangeRateDialog({
.then((response) => {
closeDialog(name);
AppToaster.show({
message: 'the_exchange_rate_has_been_edited',
message: formatMessage({id:'the_exchange_rate_has_been_successfully_edited'})
});
setSubmitting(false);
})
@@ -94,7 +94,7 @@ function ExchangeRateDialog({
.then((response) => {
closeDialog(name);
AppToaster.show({
message: 'the_exchangeRate_has_been_submit',
message: formatMessage({id:'the_exchange_rate_has_been_successfully_created'})
});
setSubmitting(false);
})

View File

@@ -74,7 +74,7 @@ function InviteUserDialog({
.then((response) => {
closeDialog(name);
AppToaster.show({
message: 'the_user_details_has_been_updated',
message: formatMessage({id:'the_user_details_has_been_updated'}),
});
setSubmitting(false);
})

View File

@@ -42,7 +42,7 @@ function ItemFromDialog({
submitItemCategory({ values })
.then((response) => {
AppToaster.show({
message: 'the_category_has_been_submit',
message: formatMessage({id:'the_category_has_been_successfully_created'}),
});
})
.catch((error) => {