Skip to content

Commit

Permalink
Fixed: Duplicated lang key
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 14, 2014
1 parent 627e344 commit da3bc38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion htdocs/admin/compta.php
Expand Up @@ -31,6 +31,7 @@

$langs->load('admin');
$langs->load('compta');
$langs->load('accountancy');

if (!$user->admin)
accessforbidden();
Expand Down Expand Up @@ -153,7 +154,7 @@
print '<tr '.$bc[$var].' class="value">';

// Param
$libelle = $langs->trans($key);
$libelle = $langs->trans($key);
print '<td><label for="'.$key.'">'.$libelle.'</label></td>';

// Value
Expand Down
4 changes: 0 additions & 4 deletions htdocs/langs/en_US/compta.lang
Expand Up @@ -197,10 +197,6 @@ CalculationRuleDescSupplier=according to supplier, choose appropriate method to
TurnoverPerProductInCommitmentAccountingNotRelevant=Turnover report per product, when using a <b>cash accountancy</b> mode is not relevant. This report is only available when using <b>engagement accountancy</b> mode (see setup of accountancy module).
CalculationMode=Calculation mode
AccountancyJournal=Accountancy code journal
ACCOUNTING_PRODUCT_BUY_ACCOUNT=Default accountancy code to buy products
ACCOUNTING_PRODUCT_SOLD_ACCOUNT=Default accountancy code to sell products
ACCOUNTING_SERVICE_BUY_ACCOUNT=Default accountancy code to buy services
ACCOUNTING_SERVICE_SOLD_ACCOUNT=Default accountancy code to sell services
ACCOUNTING_VAT_ACCOUNT=Default accountancy code for collecting VAT
ACCOUNTING_VAT_BUY_ACCOUNT=Default accountancy code for paying VAT
ACCOUNTING_ACCOUNT_CUSTOMER=Accountancy code by default for customer thirdparties
Expand Down

0 comments on commit da3bc38

Please sign in to comment.