Fix traduction for multicurrency module
This commit is contained in:
parent
495ce2463d
commit
b000ccf2e2
@ -239,16 +239,17 @@ print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">'
|
|||||||
print '</form>';
|
print '</form>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '<br />';
|
print '<br />';
|
||||||
*/
|
|
||||||
|
|
||||||
if (!empty($conf->global->MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION))
|
if (!empty($conf->global->MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION))
|
||||||
{
|
{
|
||||||
$var=false;
|
$var=false;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("CurrencyLayerAccount").'</td>'."\n";
|
print '<td>'.$form->textwithpicto($langs->trans("CurrencyLayerAccount"), $langs->trans("CurrencyLayerAccount_help_to_synchronize")).'</td>'."\n";
|
||||||
print '<td align="center" width="20"> </td>';
|
print '<td align="center" width="20"> </td>';
|
||||||
print '<td align="right" width="100">';
|
print '<td align="right" width="100">';
|
||||||
print '<form id="form_sync" action="" method="POST">';
|
print '<form id="form_sync" action="" method="POST">';
|
||||||
@ -306,7 +307,7 @@ if (!empty($conf->global->MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION))
|
|||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Currencies").'</td>'."\n";
|
print '<td>'.$form->textwithpicto($langs->trans("CurrenciesUsed"), $langs->transnoentitiesnoconv("CurrenciesUsed_help_to_add")).'</td>'."\n";
|
||||||
print '<td align="center" width="20"> </td>';
|
print '<td align="center" width="20"> </td>';
|
||||||
print '<td align="center" width="100">'.$langs->trans("Rate").'</td>'."\n";
|
print '<td align="center" width="100">'.$langs->trans("Rate").'</td>'."\n";
|
||||||
|
|
||||||
@ -315,7 +316,6 @@ print '<tr '.$bc[$var].'>';
|
|||||||
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print '<input type="hidden" name="action" value="add_currency">';
|
print '<input type="hidden" name="action" value="add_currency">';
|
||||||
//print '<td><input type="text" name="code" value="" size="5" placeholder="'.$langs->trans('code').'" /> - <input type="text" name="name" value="" size="35" placeholder="'.$langs->trans('name').'" /></td>';
|
|
||||||
print '<td>'.$form->selectCurrency('', 'code').'</td>';
|
print '<td>'.$form->selectCurrency('', 'code').'</td>';
|
||||||
print '<td align="center" width="20"> </td>';
|
print '<td align="center" width="20"> </td>';
|
||||||
print '<td align="right" width="300">';
|
print '<td align="right" width="300">';
|
||||||
|
|||||||
17
htdocs/langs/en_US/multicurrency.lang
Normal file
17
htdocs/langs/en_US/multicurrency.lang
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# ADMIN
|
||||||
|
RecordSaved=Currency rate added
|
||||||
|
RecordDeleted=Currency rate deleted
|
||||||
|
ErrorAddRateFail=Error in added rate
|
||||||
|
ErrorAddCurrencyFail=Error in added currency
|
||||||
|
ErrorDeleteCurrencyFail=Error delete fail
|
||||||
|
multicurrency_syncronize_error=Error in synchronization
|
||||||
|
multicurrency_useOriginTx=Use the origin rate
|
||||||
|
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
|
||||||
|
multicurrency_appId=API key
|
||||||
|
multicurrency_appCurrencySource=Currency source
|
||||||
|
multicurrency_alternateCurrencySource= Alternate currency souce
|
||||||
|
CurrenciesUsed=Currencies used
|
||||||
|
CurrenciesUsed_help_to_add=Add the differents currencies and rates you need to use on you <b>proposals</b>, <b>orders</b>, etc.
|
||||||
|
Rate=Rate
|
||||||
|
rate=rate
|
||||||
Loading…
Reference in New Issue
Block a user