Fix: [Multicurrency] properly display API error
This commit is contained in:
parent
bcd624e5a5
commit
d9f32f7ae1
@ -131,7 +131,7 @@ elseif ($action == 'synchronize')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessages($langs->trans('multicurrency_syncronize_error', $reponse->error->info), null, 'errors');
|
setEventMessages($langs->trans('multicurrency_syncronize_error', $response->error->info), null, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ MultiCurrency=Multi currency
|
|||||||
ErrorAddRateFail=Error in added rate
|
ErrorAddRateFail=Error in added rate
|
||||||
ErrorAddCurrencyFail=Error in added currency
|
ErrorAddCurrencyFail=Error in added currency
|
||||||
ErrorDeleteCurrencyFail=Error delete fail
|
ErrorDeleteCurrencyFail=Error delete fail
|
||||||
multicurrency_syncronize_error=Error in synchronization
|
multicurrency_syncronize_error=Synchronisation error: %s
|
||||||
multicurrency_useOriginTx=When an object is created from another, keep the original rate of source object (otherwise use the new known rate)
|
multicurrency_useOriginTx=When an object is created from another, keep the original rate of source object (otherwise use the new known rate)
|
||||||
CurrencyLayerAccount=CurrencyLayer API
|
CurrencyLayerAccount=CurrencyLayer API
|
||||||
CurrencyLayerAccount_help_to_synchronize=You sould create an account on their website to use this functionnality<br />Get your <b>API key</b><br />If you use a free account you can't change the <b>currency source</b> (USD by default)<br />But if your main currency isn't USD you can use the <b>alternate currency source</b> to force you main currency<br /><br />You are limited at 1000 synchronizations per month
|
CurrencyLayerAccount_help_to_synchronize=You sould create an account on their website to use this functionnality<br />Get your <b>API key</b><br />If you use a free account you can't change the <b>currency source</b> (USD by default)<br />But if your main currency isn't USD you can use the <b>alternate currency source</b> to force you main currency<br /><br />You are limited at 1000 synchronizations per month
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user