Author: vsalaun Date: 2011-07-18 10:42:25 +0200 (Mon, 18 Jul 2011) New Revision: 3227 Url: http://chorem.org/repositories/revision/lima/3227 Log: add to i18n all LimaBusinessExceptions from FranceAccountingRules and translate them to French Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/DefaultAccountingRules.java trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/FranceAccountingRules.java trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/DefaultAccountingRules.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/DefaultAccountingRules.java 2011-07-18 08:03:17 UTC (rev 3226) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/DefaultAccountingRules.java 2011-07-18 08:42:25 UTC (rev 3227) @@ -71,7 +71,7 @@ // Check if the numberaccount is not blank if (StringUtils.isBlank(account.getAccountNumber())) { - throw new LimaBusinessException(_("lima-business.accountingrules.invalidaccountnumber") + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber") + " : " + account.getAccountNumber()); } } @@ -84,12 +84,12 @@ throws LimaException { // check the number account is not empty if (StringUtils.isBlank(account.getAccountNumber())) { - throw new LimaBusinessException(_("lima-business.accountingrules.invalidaccountnumber") + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber") + account.getAccountNumber()); } //check if parentaccount have no subaccount if (masterAccount.getSubAccounts().size() > 0){ - throw new LimaBusinessException(_("lima-business.accountingrules.subledgererror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.subledgererror")); } } @@ -100,7 +100,7 @@ public List<FinancialPeriod> createFiscalPeriodRules(FiscalPeriod fiscalPeriod, TopiaContext transaction) throws LimaException { //check if the enddate period is after the begindate period if (fiscalPeriod.getEndDate().before(fiscalPeriod.getBeginDate())){ - throw new LimaBusinessException(_("lima-business.accountingrules.enddateerror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.enddateerror")); } return null; } @@ -126,7 +126,7 @@ // Check if account have entries int nbentries = entryDAO.findAllByAccount(account).size(); if (nbentries != 0) { - throw new LimaBusinessException(_("lima-business.accountingrules.deleteaccounterror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.deleteaccounterror")); } } catch (TopiaException ex) { @@ -144,7 +144,7 @@ // Check if entrybook have entries int nbfinancialtransaction = financialTransactionDAO.findAllByEntryBook(entryBook).size(); if (nbfinancialtransaction != 0) { - throw new LimaBusinessException(_("lima-business.accountingrules.deleteentrybookerror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.deleteentrybookerror")); } } catch (TopiaException ex) { @@ -161,7 +161,7 @@ public void checkFinancialPeriodBlockedWithFinancialTransaction(FinancialTransaction financialTransaction, TopiaContext topiaContext) throws LimaException { //check financial period locked if (financialTransaction.getFinancialPeriod().getLocked()){ - throw new LimaBusinessException(_("lima-business.accountingrules.financialperiodblocked")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.financialperiodblocked")); } //check all entrybook of his financial period are blocked @@ -186,7 +186,7 @@ } } if (entryBooks.size() == closedEntryBooks.size()){ - throw new LimaBusinessException(_("lima-business.accountingrules.allentrybookclosed")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.allentrybookclosed")); } } catch (TopiaException eee) { @@ -218,7 +218,7 @@ result = financialTransactionDAO.findAllByQuery(query); if (result.size()>0){ - throw new LimaBusinessException(_("lima-business.accountingrules.blockerrorequillibrate")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.blockerrorequillibrate")); } } catch (TopiaException ex) { @@ -244,7 +244,7 @@ result = financialTransactionDAO.findAllByQuery(query); if (result.size()>0){ - throw new LimaBusinessException(_("lima-business.accountingrules.missingelements")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.missingelements")); } } catch (TopiaException ex) { @@ -268,7 +268,7 @@ result = financialTransactionDAO.findAllByQuery(query); if (result.size()>0){ - throw new LimaBusinessException(_("lima-business.accountingrules.missingentrybook")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.missingentrybook")); } } catch (TopiaException ex) { @@ -299,7 +299,7 @@ closedPeriodicEntryBookDAO.findByEntryBookAndFinancialPeriod( entryOld.getFinancialTransaction().getEntryBook(), financialPeriod); if (closedPeriodicEntryBook.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updateentryerror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updateentryerror")); } //third case @@ -309,7 +309,7 @@ // Check 2 & 3 cases if (closedPeriodicEntryBook2.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updateentryerror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updateentryerror")); } } @@ -337,12 +337,12 @@ //1. check old financial period locked if (financialPeriodOld.getLocked()){ - throw new LimaBusinessException(_("lima-business.accountingrules.financialtransactionblocked")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.financialtransactionblocked")); } //2. check new financial period locked if (financialPeriod.getLocked()){ - throw new LimaBusinessException(_("lima-business.accountingrules.financialnewdateblocked")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.financialnewdateblocked")); } try { @@ -355,7 +355,7 @@ closedPeriodicEntryBookDAO.findByEntryBookAndFinancialPeriod( financialTransactionOld.getEntryBook(), financialPeriod); if (closedPeriodicEntryBookOld.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updateentryerror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updateentryerror")); } //4. the new entrybook belong to a blocked closedPeriodicEntryBook @@ -363,7 +363,7 @@ closedPeriodicEntryBookDAO.findByEntryBookAndFinancialPeriod( financialTransaction.getEntryBook(), financialPeriod); if (closedPeriodicEntryBook.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updatenewentryerror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updatenewentryerror")); } //5. the actual entrybook belong to a blocked closedPeriodicEntryBook @@ -371,7 +371,7 @@ closedPeriodicEntryBookDAO.findByEntryBookAndFinancialPeriod( financialTransactionOld.getEntryBook(), financialPeriodOld); if (closedPeriodicEntryBookOld2.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updatefinancialtransactionperioderror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updatefinancialtransactionperioderror")); } //6. the new entrybook belong to a blocked closedPeriodicEntryBook @@ -379,7 +379,7 @@ closedPeriodicEntryBookDAO.findByEntryBookAndFinancialPeriod( financialTransaction.getEntryBook(), financialPeriodOld); if (closedPeriodicEntryBook2.getLocked()){ - throw new LimaBusinessException(_("lima-Business.accountingrules.updatefinancialtransactionnewperioderror")); + throw new LimaBusinessException(_("lima-Business.defaultaccountingrules.updatefinancialtransactionnewperioderror")); } @@ -398,10 +398,10 @@ Date financialTransactionDate = financialTransaction.getTransactionDate(); if (financialTransactionDate.before(beginDateFiscalPeriod)){ - throw new LimaBusinessException(_("lima-business.accountingrules.datebeforeerror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.datebeforeerror")); } if (financialTransactionDate.after(endDateFiscalPeriod)){ - throw new LimaBusinessException(_("lima-business.accountingrules.dateaftererror")); + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.dateaftererror")); } /* @@ -473,7 +473,7 @@ public void updateAccountRules(Account masterAccount, Account account) throws LimaException { // Check if the numberaccount is not blank if (StringUtils.isBlank(account.getAccountNumber())) { - throw new LimaBusinessException(_("lima-business.accountingrules.invalidaccountnumber") + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber") + account.getAccountNumber()); } } @@ -482,7 +482,7 @@ public void updateSubLedgerRules(Account account) throws LimaException { // check the number account is not empty if (StringUtils.isBlank(account.getAccountNumber())) { - throw new LimaBusinessException(_("lima-business.accountingrules.invalidaccountnumber") + throw new LimaBusinessException(_("lima-business.defaultaccountingrules.invalidaccountnumber") + account.getAccountNumber()); } } Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/FranceAccountingRules.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/FranceAccountingRules.java 2011-07-18 08:03:17 UTC (rev 3226) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/accountingrules/FranceAccountingRules.java 2011-07-18 08:42:25 UTC (rev 3227) @@ -25,6 +25,8 @@ package org.chorem.lima.business.accountingrules; +import static org.nuiton.i18n.I18n._; + import java.util.ArrayList; import java.util.Calendar; import java.util.Date; @@ -63,24 +65,21 @@ // Check if the number account is type numeric if (!StringUtils.isNumeric(account.getAccountNumber())){ - throw new LimaBusinessException("AccountNumber is not numeric : " - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountnumbernotnumeric") + + " : " + account.getAccountNumber()); } // Check if the number account start with the number of the master account if (masterAccount!=null && !account.getAccountNumber().startsWith( masterAccount.getAccountNumber())){ - - throw new LimaBusinessException( - "Account Number not begin with the number account master : " - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountnumbernotmaster") + + " : " + account.getAccountNumber()); } // Check if master account have a number between 1 to 8 if (masterAccount==null && !account.getAccountNumber().matches("[1-8]")){ - throw new LimaBusinessException( - "Master account is not a digit between 1 to 8 :" - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountstartnumbererror") + + " : " + account.getAccountNumber()); } } @@ -90,24 +89,21 @@ // Check if the number account is type numeric if (!StringUtils.isNumeric(account.getAccountNumber())){ - throw new LimaBusinessException("AccountNumber is not numeric : " - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountnumbernotnumeric") + + " : " + account.getAccountNumber()); } // Check if the number account start with the number of the master account if (masterAccount!=null && !account.getAccountNumber().startsWith( masterAccount.getAccountNumber())){ - - throw new LimaBusinessException( - "Account Number not begin with the number account master : " - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountnumbernotmaster") + + " : " + account.getAccountNumber()); } // Check if master account have a number between 1 to 8 if (masterAccount==null && !account.getAccountNumber().matches("[1-8]")){ - throw new LimaBusinessException( - "Master account is not a digit between 1 to 8 :" - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.accountstartnumbererror") + + " : " + account.getAccountNumber()); } } @@ -119,9 +115,8 @@ // check if the master account number is begin with 4 if (!masterAccount.getAccountNumber().startsWith("4")){ - throw new LimaBusinessException( - "Master Account Number is not a thirdpart account" - + account.getAccountNumber()); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.masteraccountnumbererror") + + " : " + account.getAccountNumber()); } } @@ -165,8 +160,7 @@ dateLastFiscalPeriod = DateUtils.truncate(dateLastFiscalPeriod, Calendar.DATE); Date dateFiscalPeriod=fiscalPeriod.getBeginDate(); if(dateLastFiscalPeriod.compareTo(dateFiscalPeriod)!=0){ - throw new LimaBusinessException( - "The new fiscalperiod must adjoining the last"); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.newfiscalperiodadjoiningerror")); } //We can create a new fiscal period meantime the last fiscal period was not locked @@ -174,8 +168,7 @@ int unblockedFiscalPeriod = fiscalPeriodDAO.findAllByLocked(false).size(); if (unblockedFiscalPeriod>1){ - throw new LimaBusinessException( - "The ante fiscal period is not locked"); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.antefiscalperiodnotblocked")); } } @@ -228,8 +221,7 @@ //Check if the fiscal period to block is the oldest if (!oldestUnBlockedFiscalPeriod.equals(fiscalPeriod)){ - throw new LimaBusinessException( - "The ante fiscal period must be blocked before this."); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.antefiscalperiodnotblocked")); } } catch (TopiaException ex) { doCatch(transaction, ex, log); @@ -303,8 +295,7 @@ //Check if the fiscal period to block is the oldest if (nbClosedPeriodicEntryBooks != nbBlockedClosedPeriodicEntryBooks){ - throw new LimaBusinessException( - "The previous financial periods for this entrybook must be blocked before this."); + throw new LimaBusinessException(_("lima-business.franceaccountingrules.antefinancialperiodnotblockedentrybook")); } } @@ -331,6 +322,6 @@ if (log.isErrorEnabled()) { log.error("Exception during query", cause); } - throw new LimaException("Exception during query", cause); + throw new LimaException(_("lima-business.common.queryerror") + " " + cause); } } Modified: trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties =================================================================== --- trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties 2011-07-18 08:03:17 UTC (rev 3226) +++ trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties 2011-07-18 08:42:25 UTC (rev 3227) @@ -1,25 +1,25 @@ = -lima-Business.accountingrules.updateentryerror=Can't update entry \: financialperiod of this entrybook is closed -lima-Business.accountingrules.updatefinancialtransactionnewperioderror=Can't update financialtransaction \: this financialperiod of new entrybook is closed -lima-Business.accountingrules.updatefinancialtransactionperioderror=Can't update financialtransaction \: the new financialperiod of this entrybook is closed -lima-Business.accountingrules.updatenewentryerror=Can't update entry : financialperiod of this entrybook is closed +lima-Business.defaultaccountingrules.updateentryerror=Can't update entry \: financialperiod of this entrybook is closed +lima-Business.defaultaccountingrules.updatefinancialtransactionnewperioderror=Can't update financialtransaction \: this financialperiod of new entrybook is closed +lima-Business.defaultaccountingrules.updatefinancialtransactionperioderror=Can't update financialtransaction \: the new financialperiod of this entrybook is closed +lima-Business.defaultaccountingrules.updatenewentryerror=Can't update entry \: financialperiod of this entrybook is closed lima-business.account.accountalreardyexist=An account already exists with this number \: %s -lima-business.accountingrules.allentrybookclosed=All EntryBook of this financialperiod are closed -lima-business.accountingrules.blockerrorequillibrate=Can't block financialperiod/entrybook contain financialtransaction not equilibrate -lima-business.accountingrules.dateaftererror=The date is after the fiscal period -lima-business.accountingrules.datebeforeerror=The date is before the fiscal period -lima-business.accountingrules.deleteaccounterror=Can't delete Account with entries -lima-business.accountingrules.deleteentrybookerror=Can't delete entryBook with financialtransaction -lima-business.accountingrules.enddateerror=The end date is before the begin date -lima-business.accountingrules.financialnewdateblocked=The financial period of the new date is blocked -lima-business.accountingrules.financialperiodblocked=The financial period is blocked -lima-business.accountingrules.financialtransactionblocked=The financial period of this transaction is blocked -lima-business.accountingrules.invalidaccountnumber=Invalid AccountNumber -lima-business.accountingrules.missingelements=Can't block financialperiod / missing elements in transactions for this FinancialPeriod/EntryBook -lima-business.accountingrules.missingentrybook=Can't block financialperiod / missing EntryBook in transactions -lima-business.accountingrules.subledgererror=Subledger must create on a account whithout subaccount lima-business.common.failed=FAILED \: %s \n lima-business.common.queryerror=Exception during query +lima-business.defaultaccountingrules.allentrybookclosed=All EntryBook of this financialperiod are closed +lima-business.defaultaccountingrules.blockerrorequillibrate=Can't block financialperiod/entrybook contain financialtransaction not equilibrate +lima-business.defaultaccountingrules.dateaftererror=The date is after the fiscal period +lima-business.defaultaccountingrules.datebeforeerror=The date is before the fiscal period +lima-business.defaultaccountingrules.deleteaccounterror=Can't delete Account with entries +lima-business.defaultaccountingrules.deleteentrybookerror=Can't delete entryBook with financialtransaction +lima-business.defaultaccountingrules.enddateerror=The end date is before the begin date +lima-business.defaultaccountingrules.financialnewdateblocked=The financial period of the new date is blocked +lima-business.defaultaccountingrules.financialperiodblocked=The financial period is blocked +lima-business.defaultaccountingrules.financialtransactionblocked=The financial period of this transaction is blocked +lima-business.defaultaccountingrules.invalidaccountnumber=Invalid AccountNumber +lima-business.defaultaccountingrules.missingelements=Can't block financialperiod / missing elements in transactions for this FinancialPeriod/EntryBook +lima-business.defaultaccountingrules.missingentrybook=Can't block financialperiod / missing EntryBook in transactions +lima-business.defaultaccountingrules.subledgererror=Subledger must create on a account whithout subaccount lima-business.document.accountnumber=Account N° lima-business.document.amounts=Amounts lima-business.document.balance=Balance @@ -56,9 +56,16 @@ lima-business.document.voucher=Voucher lima-business.entrybook.entrybookalreadyexist=An EntryBook already exists with this label \: %s lima-business.financialstatement.check.nothing=Not found \: %s - %s \n -lima-business.financialstatement.check.warn=Warning this function is just an help.\n Many accounts must no calculate on Financialstatement.\n Some account marked not found is normally.\n\n -lima-business.financialtransaction.retainedearnings.description=Report à nouveau -lima-business.financialtransaction.retainedearnings.voucher=Selon décision AG +lima-business.financialstatement.check.warn=Warning this function is just an help.\n Many accounts must no calculate on Financial statement.\n Some account marked not found is normally.\n\n +lima-business.financialtransaction.retainedearnings.description=Retained earnings +lima-business.financialtransaction.retainedearnings.voucher=According to general meeting +lima-business.franceaccountingrules.accountnumbernotmaster=Account Number not begin with the number account master +lima-business.franceaccountingrules.accountnumbernotnumeric=Account Number is not numeric +lima-business.franceaccountingrules.accountstartnumbererror=Master account is not a digit between 1 to 8 +lima-business.franceaccountingrules.antefinancialperiodnotblockedentrybook=The previous financial periods for this entrybook must be blocked before this +lima-business.franceaccountingrules.antefiscalperiodnotblocked=The ante fiscal period is not locked +lima-business.franceaccountingrules.masteraccountnumbererror=Master Account Number is not a thirdpart account +lima-business.franceaccountingrules.newfiscalperiodadjoiningerror=The new fiscal period must adjoining the last lima-business.import.accountadded=SUCCES \: Account %s - %s added\n lima-business.import.accountalreadyexist=FAILED \: Account %s already exist \n lima-business.import.accountnomaster=FAILED \: The account %s have master \: %s which not exist \n @@ -71,9 +78,9 @@ lima-business.import.entrybooknotexist=WARNING \: Entrybook %s not exist was created \!\n lima-business.import.financialstatementadded=SUCCESS \: The financialStatement %s is created \n lima-business.import.financialstatementalnomaster=FAILED \: The financialStatement %s has master \: %s which not exist \n -lima-business.import.financialstatementalreadyexist=FAILED \: The financialstatement %s already exists \!\n +lima-business.import.financialstatementalreadyexist=FAILED \: The financial statement %s already exists \!\n lima-business.import.fiscalperiodadded=SUCCESS \: The fiscalPeriod %s - %s is created \! \n -lima-business.import.fiscalperiodalreadyexist=FAILED \: The fiscalperiod %s - %s already exists \!\n +lima-business.import.fiscalperiodalreadyexist=FAILED \: The fiscal period %s - %s already exists \!\n lima-business.import.identityadded=SUCCESS \: The identity %s is created \! \n lima-business.import.letteradded=SUCCESS \: The letter %s - %s is created \! \n lima-business.import.letteralreadyexist=FAILED \: The letter %s already exists \!\n Modified: trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties =================================================================== --- trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties 2011-07-18 08:03:17 UTC (rev 3226) +++ trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties 2011-07-18 08:42:25 UTC (rev 3227) @@ -1,25 +1,25 @@ = -lima-Business.accountingrules.updateentryerror=Impossible de mettre à jour l'entrée \: la période financière de ce journal est bloquée -lima-Business.accountingrules.updatefinancialtransactionnewperioderror=Impossible de mettre à jour la transaction \: la période financière de ce nouveau journal est bloquée -lima-Business.accountingrules.updatefinancialtransactionperioderror=Impossible de mettre à jour la transaction \: la période financière de ce journal est bloquée -lima-Business.accountingrules.updatenewentryerror=Impossible de mettre à jour l'entrée \: la période financière de ce nouveau journal est bloquée +lima-Business.defaultaccountingrules.updateentryerror=Impossible de mettre à jour l'entrée \: la période financière de ce journal est bloquée +lima-Business.defaultaccountingrules.updatefinancialtransactionnewperioderror=Impossible de mettre à jour la transaction \: la période financière de ce nouveau journal est bloquée +lima-Business.defaultaccountingrules.updatefinancialtransactionperioderror=Impossible de mettre à jour la transaction \: la période financière de ce journal est bloquée +lima-Business.defaultaccountingrules.updatenewentryerror=Impossible de mettre à jour l'entrée \: la période financière de ce nouveau journal est bloquée lima-business.account.accountalreardyexist=Un compte existe déjà avec ce numéro \: %s -lima-business.accountingrules.allentrybookclosed=Tous les journaux de cette période financière sont fermés -lima-business.accountingrules.blockerrorequillibrate=Impossible de bloquer la période financière / le journal, il contient des transactions non équilibrées -lima-business.accountingrules.dateaftererror=La date est antérieure à la période fiscale -lima-business.accountingrules.datebeforeerror=La date est postérieure à la période fiscale -lima-business.accountingrules.deleteaccounterror=Impossible de supprimer un comte contenant des entrées -lima-business.accountingrules.deleteentrybookerror=Impossible de supprimer un journal contenant des transactions -lima-business.accountingrules.enddateerror=La date de fin est antérieure à la date de début -lima-business.accountingrules.financialnewdateblocked=La période financière de cette nouvelle date est bloquée -lima-business.accountingrules.financialperiodblocked=La période financière est bloquée -lima-business.accountingrules.financialtransactionblocked=La période financière de cette transaction est bloquée -lima-business.accountingrules.invalidaccountnumber=Numéro de compte invalide -lima-business.accountingrules.missingelements=Impossible de bloquer la période financière / il manque des éléments dans des transactions -lima-business.accountingrules.missingentrybook=Impossible de bloquer la période financière / il mmanque un journal dans une transaction -lima-business.accountingrules.subledgererror=Un livre auxilliaire doit être créé sur un compte contenant aucun sous-compte lima-business.common.failed=Échec \: %s \n lima-business.common.queryerror=Exception lors de la requête +lima-business.defaultaccountingrules.allentrybookclosed=Tous les journaux de cette période financière sont fermés +lima-business.defaultaccountingrules.blockerrorequillibrate=Impossible de bloquer la période financière / le journal, il contient des transactions non équilibrées +lima-business.defaultaccountingrules.dateaftererror=La date est antérieure à la période fiscale +lima-business.defaultaccountingrules.datebeforeerror=La date est postérieure à la période fiscale +lima-business.defaultaccountingrules.deleteaccounterror=Impossible de supprimer un comte contenant des entrées +lima-business.defaultaccountingrules.deleteentrybookerror=Impossible de supprimer un journal contenant des transactions +lima-business.defaultaccountingrules.enddateerror=La date de fin est antérieure à la date de début +lima-business.defaultaccountingrules.financialnewdateblocked=La période financière de cette nouvelle date est bloquée +lima-business.defaultaccountingrules.financialperiodblocked=La période financière est bloquée +lima-business.defaultaccountingrules.financialtransactionblocked=La période financière de cette transaction est bloquée +lima-business.defaultaccountingrules.invalidaccountnumber=Numéro de compte invalide +lima-business.defaultaccountingrules.missingelements=Impossible de bloquer la période financière / il manque des éléments dans des transactions +lima-business.defaultaccountingrules.missingentrybook=Impossible de bloquer la période financière / il mmanque un journal dans une transaction +lima-business.defaultaccountingrules.subledgererror=Un livre auxilliaire doit être créé sur un compte contenant aucun sous-compte lima-business.document.accountnumber=N° Compte lima-business.document.amounts=Totaux lima-business.document.balance=Balance @@ -59,6 +59,13 @@ lima-business.financialstatement.check.warn=Attention cette fonctionnalité n'est qu'une aide utilisateur.\n Certains comptes ne doivent pas être présent au bilan et compte de résultat.\n Il est donc normal que des comptes sont marqués comme introuvable.\n\n lima-business.financialtransaction.retainedearnings.description=Report à nouveau lima-business.financialtransaction.retainedearnings.voucher=Selon décision AG +lima-business.franceaccountingrules.accountnumbernotmaster=Le numéro de compte doit reprendre le numéro de compte général +lima-business.franceaccountingrules.accountnumbernotnumeric=Le numéro de copte n'est pas numéric +lima-business.franceaccountingrules.accountstartnumbererror=Le numéro du copte général n'est pas compris entre 1 et 8 +lima-business.franceaccountingrules.antefinancialperiodnotblockedentrybook=Les périodes financières précédentes pour ce journal doivent être bloquées avant +lima-business.franceaccountingrules.antefiscalperiodnotblocked=La période fiscale précédante n'est pas bloquée +lima-business.franceaccountingrules.masteraccountnumbererror=Le numéro du compte général n'est pas un compte de tiers +lima-business.franceaccountingrules.newfiscalperiodadjoiningerror=La nouvelle période fiscale doit suivre la précédante lima-business.import.accountadded=Succès \: Compte %s - %s ajouté\n lima-business.import.accountalreadyexist=Échec \: Le compte %s existe déjà \n lima-business.import.accountnomaster=Échec \: Le compte %s possède le master \: %s inexistant \n