Author: echatellier Date: 2012-05-16 14:41:14 +0200 (Wed, 16 May 2012) New Revision: 3425 Url: http://chorem.org/repositories/revision/lima/3425 Log: Refactoring rapport - edition des comptes Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/package-info.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountRenderer.java trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties Removed: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsPeriodSearchPanel.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountRenderer.java trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties Modified: trunk/lima-swing/src/main/java/org/chorem/lima/enums/ComboBoxDatesEnum.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountComboBox.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTable.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTableModel.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsViewHandler.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/AccountSearchComboBox.java trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties Modified: trunk/lima-swing/src/main/java/org/chorem/lima/enums/ComboBoxDatesEnum.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/enums/ComboBoxDatesEnum.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/enums/ComboBoxDatesEnum.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -5,7 +5,7 @@ * $Id$ * $HeadURL$ * %% - * Copyright (C) 2008 - 2010 CodeLutin + * Copyright (C) 2008 - 2012 CodeLutin, Chatellier Eric * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as @@ -27,14 +27,27 @@ import static org.nuiton.i18n.I18n._; - +/** + * Enumeration representant un choix de type de periode. + * + * Actuellement: + * - Exercice + * - Period financiere + * - Period par interval de date. + * + * @author chatellier + * @version $Revision$ + * + * Last update : $Date$ + * By : $Author$ + */ public enum ComboBoxDatesEnum { FISCAL_PERIOD(_("lima.enum.comboboxperiod.fiscalperiod")), FINANCIAL_PERIOD(_("lima.enum.comboboxperiod.financialperiod")), PERIOD(_("lima.enum.comboboxperiod.period")); - private final String description; + protected String description; ComboBoxDatesEnum(String description) { this.description = description; Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountComboBox.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountComboBox.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountComboBox.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -5,7 +5,7 @@ * $Id$ * $HeadURL$ * %% - * Copyright (C) 2008 - 2010 CodeLutin + * Copyright (C) 2008 - 2012 CodeLutin, Chatellier Eric * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as @@ -25,70 +25,52 @@ package org.chorem.lima.ui.accountsreports; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; + +import javax.swing.JComboBox; + import org.chorem.lima.entity.Account; -import org.chorem.lima.ui.combobox.AccountComboBoxModel; -import org.chorem.lima.ui.combobox.AccountRenderer; import org.chorem.lima.util.AccountToString; import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator; -import javax.swing.JComboBox; -import java.awt.event.ActionEvent; -import java.awt.event.KeyEvent; -import java.awt.event.KeyListener; - +/** + * Combo box pour les comptes qui ajoute quelques comportement comme + * l'autocompletion. + * + * @author chatellier + * @version $Revision$ + * + * Last update : $Date$ + * By : $Author$ + */ public class AccountComboBox extends JComboBox implements KeyListener { private static final long serialVersionUID = 1L; - private static final Log log = - LogFactory.getLog(AccountComboBox.class); - - protected AccountsReportsViewHandler handler; - - public AccountComboBox(AccountsReportsViewHandler handler) { - this.handler = handler; - AccountComboBoxModel accountComboBoxModel = new AccountComboBoxModel(); - AccountRenderer accountRenderer = new AccountRenderer(); - setModel(accountComboBoxModel); - setRenderer(accountRenderer); - setEditable(true); + public AccountComboBox() { AutoCompleteDecorator.decorate(this, AccountToString.getInstance()); getEditor().getEditorComponent().addKeyListener(this); - addActionListener(this); } public void back() { int row = getSelectedIndex(); - log.debug(row); + if (row > 0) { getEditor().setItem(getItemAt(row - 1)); - handler.setAccount((Account) getSelectedItem()); } } public void next() { int size = getModel().getSize(); int row = getSelectedIndex(); - log.debug(row); if (row < size - 1) { getEditor().setItem(getItemAt(row + 1)); - handler.setAccount((Account) getSelectedItem()); } } @Override - public void actionPerformed(ActionEvent e) { - Object object = getSelectedItem(); - if (object instanceof Account) { - handler.setAccount((Account) getSelectedItem()); - } - } - - - @Override public void keyPressed(KeyEvent e) { } @@ -97,7 +79,7 @@ public void keyReleased(KeyEvent e) { Object object = getSelectedItem(); if (object instanceof Account) { - handler.setAccount((Account) getSelectedItem()); + fireActionEvent(); } // delegate popup list menu @@ -110,5 +92,4 @@ public void keyTyped(KeyEvent e) { } - } Deleted: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsPeriodSearchPanel.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsPeriodSearchPanel.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsPeriodSearchPanel.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -1,160 +0,0 @@ -/* - * #%L - * Lima Swing - * - * $Id$ - * $HeadURL$ - * %% - * Copyright (C) 2008 - 2010 CodeLutin - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -package org.chorem.lima.ui.accountsreports; - -import org.apache.commons.lang3.time.DateUtils; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.chorem.lima.entity.FinancialPeriod; -import org.chorem.lima.entity.FiscalPeriod; -import org.chorem.lima.enums.ComboBoxDatesEnum; -import org.chorem.lima.ui.LimaRendererUtil; -import org.chorem.lima.ui.combobox.FinancialPeriodComboBoxModel; -import org.chorem.lima.ui.combobox.FiscalPeriodComboBoxModel; -import org.jdesktop.swingx.JXDatePicker; - -import javax.swing.JComboBox; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.ListCellRenderer; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.util.Calendar; -import java.util.Date; - -import static org.nuiton.i18n.I18n._; - -public class AccountsReportsPeriodSearchPanel extends JPanel { - - private static final Log log = - LogFactory.getLog(AccountsReportsPeriodSearchPanel.class); - - protected AccountsReportsViewHandler handler; - - public AccountsReportsPeriodSearchPanel(AccountsReportsViewHandler handler) { - this.handler = handler; - - //init date - refresh(ComboBoxDatesEnum.FISCAL_PERIOD); - } - - public void refresh(ComboBoxDatesEnum comboBoxPeriodEnum) { - - switch (comboBoxPeriodEnum) { - case PERIOD: - // get begin date - Calendar calendarBegin = Calendar.getInstance(); - // set begindate to JAN 1 - 0:00.000 of this years - Date beginDate = calendarBegin.getTime(); - beginDate = DateUtils.truncate(beginDate, Calendar.YEAR); - //handler().setBeginDate(beginDate); - - // get end date - Calendar calendarEnd = Calendar.getInstance(); - Date endDate = calendarEnd.getTime(); - //handler().setEndDate(endDate); - JLabel beginDateLabel = new JLabel(_("lima.common.begindate")); - final JXDatePicker beginDatePicker = new JXDatePicker(beginDate); - ActionListener beginDateActionListener = new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - handler.setBeginDate(beginDatePicker.getDate()); - handler.refresh(); - } - }; - handler.setBeginDate(beginDatePicker.getDate()); - beginDatePicker.addActionListener(beginDateActionListener); - - JLabel endDateLabel = new JLabel(_("lima.common.enddate")); - final JXDatePicker endDatePicker = new JXDatePicker(endDate); - ActionListener endDateActionListener = new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - handler.setEndDate(endDatePicker.getDate()); - handler.refresh(); - } - }; - handler.setEndDate(endDatePicker.getDate()); - endDatePicker.addActionListener(endDateActionListener); - handler.refresh(); - - removeAll(); - add(beginDateLabel); - add(beginDatePicker); - add(endDateLabel); - add(endDatePicker); - break; - - case FISCAL_PERIOD: - FiscalPeriodComboBoxModel fiscalModel = new FiscalPeriodComboBoxModel(true); - ListCellRenderer renderer = - LimaRendererUtil.newDecoratorListCellRenderer(FiscalPeriod.class); - final JComboBox fiscalPeriod = new JComboBox(fiscalModel); - fiscalPeriod.setRenderer(renderer); - fiscalPeriod.setEditable(false); - ActionListener fiscalPeriodActionListener = new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - FiscalPeriod fPeriod = (FiscalPeriod) fiscalPeriod.getSelectedItem(); - if (fPeriod != null) { - handler.setBeginDate(fPeriod.getBeginDate()); - handler.setEndDate(fPeriod.getEndDate()); - handler.refresh(); - } - } - }; - fiscalPeriod.addActionListener(fiscalPeriodActionListener); - - removeAll(); - add(fiscalPeriod); - break; - - case FINANCIAL_PERIOD: - FinancialPeriodComboBoxModel financialModel = new FinancialPeriodComboBoxModel(true); - renderer = LimaRendererUtil.newDecoratorListCellRenderer(FinancialPeriod.class); - final JComboBox financialPeriod = new JComboBox(financialModel); - financialPeriod.setRenderer(renderer); - financialPeriod.setEditable(false); - ActionListener financialPeriodActionListener = new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - FinancialPeriod fPeriod = (FinancialPeriod) financialPeriod.getSelectedItem(); - if (fPeriod != null) { - handler.setBeginDate(fPeriod.getBeginDate()); - handler.setEndDate(fPeriod.getEndDate()); - handler.refresh(); - } - } - }; - financialPeriod.addActionListener(financialPeriodActionListener); - removeAll(); - add(financialPeriod); - break; - } - - } - -} Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTable.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTable.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTable.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -45,12 +45,8 @@ private static final Log log = LogFactory .getLog(AccountsReportsTable.class); - protected AccountsReportsViewHandler handler; + public AccountsReportsTable() { - public AccountsReportsTable(AccountsReportsViewHandler handler) { - - this.handler = handler; - addKeyListener(this); addMouseListener(this); Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTableModel.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTableModel.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsTableModel.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -51,17 +51,16 @@ private static final Log log = LogFactory.getLog(AccountsReportsTableModel.class); /** data cache */ - protected ReportsDatas cacheDataList; + protected ReportsDatas reportDatas; - @Override public int getRowCount() { int result = 0; // just prevent too much result - if (cacheDataList != null) { - if (cacheDataList.getListEntry() != null) { - result = cacheDataList.getListEntry().size(); + if (reportDatas != null) { + if (reportDatas.getListEntry() != null) { + result = reportDatas.getListEntry().size(); } } @@ -144,8 +143,9 @@ @Override public Object getValueAt(int row, int column) { Object result = null; - if (cacheDataList != null) { - Entry currentRow = cacheDataList.getListEntry().get(row); + if (reportDatas != null) { + Entry currentRow = reportDatas.getListEntry().get(row); + // FIXME echatellier 20120515, move it to renderer SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd MMMMM yyyy"); @@ -189,16 +189,8 @@ return result; } - - @Override - public boolean isCellEditable(int rowIndex, int columnIndex) { - // Just read, no write - return false; - } - - public void refresh(ReportsDatas datasList) { - cacheDataList = datasList; + public void setReportDatas(ReportsDatas reportDatas) { + this.reportDatas = reportDatas; fireTableDataChanged(); } - } Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsView.jaxx 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsView.jaxx 2012-05-16 12:41:14 UTC (rev 3425) @@ -5,7 +5,7 @@ $Id$ $HeadURL$ %% - Copyright (C) 2008 - 2010 CodeLutin + Copyright (C) 2008 - 2012 CodeLutin, Chatellier Eric %% This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -27,63 +27,74 @@ <import> javax.swing.ListSelectionModel + org.jdesktop.swingx.JXDatePicker org.jdesktop.swingx.decorator.HighlighterFactory org.chorem.lima.enums.ComboBoxDatesEnum org.chorem.lima.ui.accountsreports.AccountComboBox + org.chorem.lima.ui.common.AccountComboBoxModel + org.chorem.lima.ui.common.FiscalPeriodComboBoxModel + org.chorem.lima.ui.common.FinancialPeriodComboBoxModel </import> - <AccountsReportsViewHandler id="handler" - javaBean="new AccountsReportsViewHandler(this)"/> - <Boolean id="selectedRow" javaBean="false"/> - <AccountsReportsTableModel id="modelAccountsReportsTable"/> + <AccountsReportsViewHandler id="handler" constructorParams="this"/> + <script> <![CDATA[ - AccountsReportsPeriodSearchPanel periodSearchPanel = new AccountsReportsPeriodSearchPanel(handler); - AccountComboBox comboBox = new AccountComboBox(handler); - - void $afterCompleteSetup() { - } - + void $afterCompleteSetup() { + handler.init(); + } ]]> </script> <row weightx="1" weighty="0" anchor="center"> - <cell fill='both'> - <Table> - <row> - <cell anchor="west"> - <JComboBox id="periodComboBox" - javaBean="new JComboBox(ComboBoxDatesEnum.descriptions())" - onActionPerformed="periodSearchPanel.refresh(ComboBoxDatesEnum.valueOfDescription((String) periodComboBox.getSelectedItem())); - validate(); repaint()"/> - </cell> - <cell> - <AccountsReportsPeriodSearchPanel javaBean="periodSearchPanel"/> - </cell> - </row> - </Table> + <cell fill='horizontal'> + <JComboBox id="periodComboBox" + javaBean="new JComboBox(ComboBoxDatesEnum.descriptions())" + onActionPerformed="handler.periodTypeChanged()"/> </cell> - <cell anchor="east"> + <cell fill='horizontal'> + <CardLayout id="periodTypeLayout" /> + <JPanel id="periodTypeContainer" layout="{periodTypeLayout}"> + <FiscalPeriodComboBoxModel id="fiscalPeriodModel" /> + <JComboBox id="fiscalPeriodComboBox" model="{fiscalPeriodModel}" + renderer="{new org.chorem.lima.ui.common.FiscalPeriodListRenderer()}" + onItemStateChanged="handler.periodsChanged(event)" constraints='"FISCAL_PERIOD"' /> + <FinancialPeriodComboBoxModel id="financialPeriodModel" /> + <JComboBox id="financialPeriodComboBox" model="{financialPeriodModel}" + renderer="{new org.chorem.lima.ui.common.FinancialPeriodListRenderer()}" + onItemStateChanged="handler.periodsChanged(event)" constraints='"FINANCIAL_PERIOD"' /> + <JPanel constraints='"PERIOD"'> + <JLabel text="lima.common.begindate" /> + <JXDatePicker id="periodBeginDatePicker" onActionPerformed="handler.periodDatesChanged()" /> + <JLabel text="lima.common.enddate" /> + <JXDatePicker id="periodEndDatePicker" onActionPerformed="handler.periodDatesChanged()" /> + </JPanel> + </JPanel> + </cell> + <cell fill='horizontal' anchor="east"> <JLabel id="accountSelectorLabel" text="lima.common.account"/> </cell> - <cell anchor="west"> - <JComboBox javaBean='comboBox'/> + <cell fill='horizontal' anchor="west"> + <AccountComboBoxModel id="accountComboboxModel" /> + <AccountComboBox id="accountComboBox" model="{accountComboboxModel}" + renderer="{new org.chorem.lima.ui.common.AccountRenderer()}" + onItemStateChanged="handler.accountChanged(event)" /> </cell> <cell> <JButton id="back" text="lima.common.buttonback" - onActionPerformed="comboBox.back()"/> + onActionPerformed="accountComboBox.back()"/> </cell> <cell> <JButton id="next" text="lima.common.buttonnext" - onActionPerformed="comboBox.next()"/> + onActionPerformed="accountComboBox.next()"/> </cell> </row> <row> <cell fill="both" weightx="1" weighty="1" columns="6"> <JScrollPane> + <AccountsReportsTableModel id="accountsReportsTableModel"/> <AccountsReportsTable id="accountsReportsTable" rowHeight="24" - constructorParams="getHandler()" - model="{getModelAccountsReportsTable()}" + model="{accountsReportsTableModel}" highlighters="{HighlighterFactory.createSimpleStriping(new java.awt.Color(222,222,222))}" selectionMode="{ListSelectionModel.SINGLE_SELECTION}" columnControlVisible="true"/> @@ -97,19 +108,19 @@ <Table> <row fill="horizontal" weightx="1"> <cell> - <JLabel text="lima.common.amountdebit"/> + <JLabel text="lima.ui.common.amountdebit"/> </cell> <cell> <JLabel id="amountDebitLabel"/> </cell> <cell> - <JLabel text="lima.common.amountcredit"/> + <JLabel text="lima.ui.common.amountcredit"/> </cell> <cell> <JLabel id="amountCreditLabel"/> </cell> <cell> - <JLabel id="soldeLabel" text="lima.common.solde"/> + <JLabel id="soldeLabel" text="lima.ui.common.solde"/> </cell> <cell> <JLabel id="amountSoldeLabel"/> Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsViewHandler.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/AccountsReportsViewHandler.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -27,23 +27,31 @@ import static org.nuiton.i18n.I18n._; +import java.awt.event.ItemEvent; import java.math.BigDecimal; +import java.util.Calendar; import java.util.Date; +import java.util.List; +import javax.swing.JComboBox; + +import org.apache.commons.lang3.time.DateUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.lima.beans.ReportsDatas; -import org.chorem.lima.business.LimaException; -import org.chorem.lima.business.LimaRuntimeException; import org.chorem.lima.business.ServiceListener; +import org.chorem.lima.business.api.AccountService; +import org.chorem.lima.business.api.FinancialPeriodService; import org.chorem.lima.business.api.FinancialTransactionService; +import org.chorem.lima.business.api.FiscalPeriodService; import org.chorem.lima.business.api.ImportService; import org.chorem.lima.business.api.ReportService; import org.chorem.lima.entity.Account; +import org.chorem.lima.entity.FinancialPeriod; +import org.chorem.lima.entity.FiscalPeriod; +import org.chorem.lima.enums.ComboBoxDatesEnum; import org.chorem.lima.service.LimaServiceFactory; -import org.chorem.lima.ui.combobox.AccountComboBoxModel; - /** * Handler associated with accounts reports view. * By : $Author$ @@ -52,106 +60,157 @@ protected AccountsReportsView view; - protected AccountsReportsTable table; - - protected AccountsReportsTableModel tableModel; - - protected AccountComboBoxModel comboBoxModel; - /** log. */ private static final Log log = LogFactory.getLog(AccountsReportsViewHandler.class); - /** Account. */ - protected Account selectedAccount; - - /** Begin Date. */ - protected Date selectedBeginDate; - - /** EndDate. */ - protected Date selectedEndDate; - /** Services. */ protected ReportService reportService; + protected AccountService accountService; + protected FiscalPeriodService fiscalPeriodService; + protected FinancialPeriodService financialPeriodService; protected AccountsReportsViewHandler(AccountsReportsView view) { this.view = view; reportService = LimaServiceFactory.getService(ReportService.class); + accountService = LimaServiceFactory.getService(AccountService.class); + fiscalPeriodService = LimaServiceFactory.getService(FiscalPeriodService.class); + financialPeriodService = LimaServiceFactory.getService(FinancialPeriodService.class); LimaServiceFactory.addServiceListener(ImportService.class, this); LimaServiceFactory.addServiceListener(FinancialTransactionService.class, this); } - public void setBeginDate(Date date) { - selectedBeginDate = date; - refresh(); + /** + * Init data models and displayed objects. + */ + public void init() { + + // init data models + List<Account> account = accountService.getAllAccounts(); + view.getAccountComboboxModel().setObjects(account); + List<FiscalPeriod> fiscalPeriod = fiscalPeriodService.getAllUnblockedFiscalPeriods(); + view.getFiscalPeriodModel().setObjects(fiscalPeriod); + List<FinancialPeriod> financialPeriod = financialPeriodService.getUnblockedFinancialPeriods(); + view.getFinancialPeriodModel().setObjects(financialPeriod); + + // init date periods + initDatePeriods(); } - public void setEndDate(Date date) { - selectedEndDate = date; - refresh(); + /** + * Init date pickers objects with contextual dates. + */ + private void initDatePeriods() { + + // get begin date + Date beginDate = DateUtils.truncate(new Date(), Calendar.YEAR); + view.getPeriodBeginDatePicker().setDate(beginDate); + + // get end date + Date endDate = new Date(); + view.getPeriodEndDatePicker().setDate(endDate); } + public void periodTypeChanged() { + JComboBox periodComboBox = view.getPeriodComboBox(); + ComboBoxDatesEnum type = ComboBoxDatesEnum.valueOfDescription((String) periodComboBox.getSelectedItem()); - public void setAccount(Account account) { - selectedAccount = account; - refresh(); + // show corresponding component in layout + view.getPeriodTypeLayout().show(view.getPeriodTypeContainer(), type.name()); } - public ReportsDatas getDataList() { - ReportsDatas results = null; - //avoid unnecessary call to service - if (selectedAccount != null) { - try { - results = reportService.generateAccountsReports(selectedAccount, true, - selectedBeginDate, selectedEndDate); - } catch (LimaException eee) { - throw new LimaRuntimeException(_("lima.accountsreports.listerror"), eee); - } + protected void periodsChanged(ItemEvent event) { + if (event.getStateChange() == ItemEvent.SELECTED) { + refreshData(); } - return results; } - public void refresh() { + protected void accountChanged(ItemEvent event) { + if (event.getStateChange() == ItemEvent.SELECTED) { + refreshData(); + } + } - if (selectedBeginDate != null && selectedEndDate != null && selectedAccount != null) { - ReportsDatas datasList = getDataList(); + protected void periodDatesChanged() { + refreshData(); + } - tableModel = view.getModelAccountsReportsTable(); - tableModel.refresh(datasList); + /** + * Refresh table data depending on item selected on combo boxes. + */ + protected void refreshData() { + + Date beginDate = null; + Date endDate = null; - /** - * set text and amounts of labels credit, debit, solde - */ + JComboBox periodComboBox = view.getPeriodComboBox(); + ComboBoxDatesEnum type = ComboBoxDatesEnum.valueOfDescription((String) periodComboBox.getSelectedItem()); + switch (type) { + case PERIOD: + beginDate = view.getPeriodBeginDatePicker().getDate(); + endDate = view.getPeriodEndDatePicker().getDate(); + break; + case FINANCIAL_PERIOD: { + FinancialPeriod period = (FinancialPeriod)view.getFinancialPeriodComboBox().getSelectedItem(); + if (period != null) { + beginDate = period.getBeginDate(); + endDate = period.getEndDate(); + } + break; + } + case FISCAL_PERIOD: { + FiscalPeriod period = (FiscalPeriod)view.getFiscalPeriodComboBox().getSelectedItem(); + if (period != null) { + beginDate = period.getBeginDate(); + endDate = period.getEndDate(); + } + break; + } + } + + Account account = (Account)view.getAccountComboBox().getModel().getSelectedItem(); + + if (beginDate != null && endDate != null && account != null) { + ReportsDatas results = reportService.generateAccountsReports(account, true, + beginDate, endDate); + + AccountsReportsTableModel dataModel = view.getAccountsReportsTableModel(); + dataModel.setReportDatas(results); + } + + } - if (datasList != null) { - // set amounts credit and debit and solde - view.amountCreditLabel.setText( - datasList.getAmountCredit().toString()); - view.amountDebitLabel.setText( - datasList.getAmountDebit().toString()); - BigDecimal amountSolde = datasList.getAmountSolde(); - view.amountSoldeLabel.setText(amountSolde.toString()); + /** + * Update footer labels containing reports total sum fields. + * + * @param results result to render + */ + protected void updateFooter(ReportsDatas reportsDatas) { + // set amounts credit and debit and solde + view.amountCreditLabel.setText( + reportsDatas.getAmountCredit().toString()); + view.amountDebitLabel.setText( + reportsDatas.getAmountDebit().toString()); + BigDecimal amountSolde = reportsDatas.getAmountSolde(); + view.amountSoldeLabel.setText(amountSolde.toString()); - if (BigDecimal.ZERO.equals(amountSolde)) { - view.soldeLabel.setText(_("lima.common.solde")); - } else { - // set label solde: credit or debit - if (datasList.getSoldeDebit()) { - view.soldeLabel.setText(_("lima.common.soldedebit")); - } else { - view.soldeLabel.setText(_("lima.common.soldecredit")); - } - } + if (BigDecimal.ZERO.equals(amountSolde)) { + view.soldeLabel.setText(_("lima.common.solde")); + } else { + // set label solde: credit or debit + if (reportsDatas.getSoldeDebit()) { + view.soldeLabel.setText(_("lima.common.soldedebit")); + } else { + view.soldeLabel.setText(_("lima.common.soldecredit")); } } } @Override - public void notifyMethod(String serviceName, String methodeName) { - if (serviceName.contains("FinancialTransaction") || methodeName.contains("importAccount") || methodeName.contains("importAll")) { - refresh(); + public void notifyMethod(String serviceName, String methodName) { + if (serviceName.contains("FinancialTransaction") || methodName.contains("importAccount") || methodName.contains("importAll")) { + refreshData(); } } - } Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/package-info.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/package-info.java (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/package-info.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -0,0 +1,28 @@ +/* + * #%L + * + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2012 Codelutin, Chatellier Eric + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ +/** + * Rapport - Edition comptes. + */ +package org.chorem.lima.ui.accountsreports; Property changes on: trunk/lima-swing/src/main/java/org/chorem/lima/ui/accountsreports/package-info.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/AccountTableCellEditor.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -28,8 +28,8 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.lima.entity.Account; -import org.chorem.lima.ui.combobox.AccountRenderer; import org.chorem.lima.ui.combobox.LeafAccountComboBoxModel; +import org.chorem.lima.ui.common.AccountRenderer; import org.chorem.lima.util.AccountToString; import org.chorem.lima.widgets.JWideComboBox; import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator; Deleted: trunk/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountRenderer.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountRenderer.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountRenderer.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -1,64 +0,0 @@ -/* - * #%L - * Lima Swing - * - * $Id$ - * $HeadURL$ - * %% - * Copyright (C) 2008 - 2010 CodeLutin - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -package org.chorem.lima.ui.combobox; - -import org.chorem.lima.entity.Account; - -import javax.swing.DefaultListCellRenderer; -import javax.swing.JLabel; -import javax.swing.JList; -import java.awt.Component; - -public class AccountRenderer extends DefaultListCellRenderer { - - private static final long serialVersionUID = 1L; - - @Override - public Component getListCellRendererComponent(JList list, - Object value, - int index, - boolean isSelected, - boolean cellHasFocus) { - - JLabel label = (JLabel) super.getListCellRendererComponent(list, - value, - index, - isSelected, - cellHasFocus - ); - if (value != null) { - Account account = (Account) value; - String accountLabel = account.getLabel(); - int nbChars = 30; - if (accountLabel != null && accountLabel.length() > nbChars) { - accountLabel = accountLabel.substring(0, nbChars) + "…"; - } - label.setText(account.getAccountNumber() + " - " + accountLabel); - } - return this; - } - -} Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -0,0 +1,40 @@ +/* + * #%L + * Lima Swing + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2012 CodeLutin, Chatellier Eric + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/gpl-3.0.html>. + * #L% + */ + +package org.chorem.lima.ui.common; + +import org.chorem.lima.entity.Account; + +/** + * Account combo model. + * + * @author chatellier + * @version $Revision$ + */ +public class AccountComboBoxModel extends GenericComboBoxModel<Account> { + + /** serialVersionUID. */ + private static final long serialVersionUID = 6991293987668268456L; +} Property changes on: trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Copied: trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountRenderer.java (from rev 3405, trunk/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountRenderer.java) =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountRenderer.java (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/common/AccountRenderer.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -0,0 +1,64 @@ +/* + * #%L + * Lima Swing + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2008 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/gpl-3.0.html>. + * #L% + */ + +package org.chorem.lima.ui.common; + +import org.chorem.lima.entity.Account; + +import javax.swing.DefaultListCellRenderer; +import javax.swing.JLabel; +import javax.swing.JList; +import java.awt.Component; + +public class AccountRenderer extends DefaultListCellRenderer { + + private static final long serialVersionUID = 1L; + + @Override + public Component getListCellRendererComponent(JList list, + Object value, + int index, + boolean isSelected, + boolean cellHasFocus) { + + JLabel label = (JLabel) super.getListCellRendererComponent(list, + value, + index, + isSelected, + cellHasFocus + ); + if (value != null) { + Account account = (Account) value; + String accountLabel = account.getLabel(); + int nbChars = 30; + if (accountLabel != null && accountLabel.length() > nbChars) { + accountLabel = accountLabel.substring(0, nbChars) + "…"; + } + label.setText(account.getAccountNumber() + " - " + accountLabel); + } + return this; + } + +} Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/AccountSearchComboBox.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/AccountSearchComboBox.java 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/AccountSearchComboBox.java 2012-05-16 12:41:14 UTC (rev 3425) @@ -29,7 +29,7 @@ import org.apache.commons.logging.LogFactory; import org.chorem.lima.entity.Account; import org.chorem.lima.ui.combobox.AccountComboBoxModel; -import org.chorem.lima.ui.combobox.AccountRenderer; +import org.chorem.lima.ui.common.AccountRenderer; import org.chorem.lima.util.AccountToString; import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator; Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2012-05-16 12:41:14 UTC (rev 3425) @@ -210,11 +210,14 @@ lima.ui.account.removeaccounttitle= lima.ui.account.shortened= lima.ui.account.updateaccounttitle= +lima.ui.common.amountcredit= +lima.ui.common.amountdebit= lima.ui.common.cancel= lima.ui.common.error= lima.ui.common.ok= lima.ui.common.refresh= lima.ui.common.remove= +lima.ui.common.solde= lima.ui.common.update= lima.ui.entrybook.add= lima.ui.entrybook.code= Deleted: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-05-15 14:12:34 UTC (rev 3424) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-05-16 12:41:14 UTC (rev 3425) @@ -1,327 +0,0 @@ -= -lima.accountsreports.listerror=Erreur lors de la récupération des données de la liste -lima.action.commandline.help=Afficher l'aide en console -lima.action.fullscreen=Plein Ecran -lima.action.fullscreen.tip=Passer en mode plein écran -lima.action.normalscreen=Ecran normal -lima.action.normalscreen.tip=Revenir en écran normal -lima.balance.documentcreationerror=Erreur lors de la création du document -lima.balance.documentcreationfiscalerror=Impossible de créer le document quand la période fiscale est ouverte -lima.balance.listerror=Erreur lors de la récupération des données de la liste -lima.charts.account=Plan comptable -lima.charts.account.base=Plan comptable de base -lima.charts.account.developed=Plan comptable développé -lima.charts.account.number=Numéro de compte -lima.charts.account.question.remove=Voulez-vous supprimer ce compte? -lima.charts.account.shortened=Plan comptable abrégé -lima.charts.financialperiod=Périodes comptables -lima.charts.financialstatement=Plan BCR -lima.charts.financialstatement.base=Plan BCR de base -lima.charts.financialstatement.developed=Plan BCR développé -lima.charts.financialstatement.nothing=<html><center>Aucun plan BCR chargé<br/>Veuillez sélectionner un plan par défaut, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> -lima.charts.financialstatement.shortened=Plan BCR abrégé -lima.charts.financialtransaction.question.removeentry=Voulez-vous supprimer cette ligne de transaction? -lima.charts.financialtransaction.question.removetransaction=Voulez-vous supprimer cette transaction? -lima.charts.fiscalperiod.add=Nouvel exercice -lima.charts.fiscalperiod.block=Cloturer un exercice -lima.charts.fiscalperiod.create=Choisissez la date de début et de fin du nouvel exercice -lima.charts.fiscalyear=Exercices -lima.charts.vatpdf=Structure du pdf -lima.charts.vatstatement=Plan TVA -lima.charts.vatstatement.base=Plan TVA de base -lima.charts.vatstatement.deleteparent=Veuillez supprimer les sous-catégories de cette ligne -lima.charts.vatstatement.developed=Plan TVA développé -lima.charts.vatstatement.nothing=<html><center>Aucun plan TVA chargé<br/>Veuillez sélectionner un plan par défaut, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> -lima.charts.vatstatement.question.remove=Etes vous sur de vouloir supprimer cette ligne ? -lima.charts.vatstatement.shortened=Plan TVA abrégé -lima.common.account=Compte -lima.common.amount=Montant -lima.common.amountcredit=Total Crédit -lima.common.amountdebit=Total Débit -lima.common.autocomplete=Autocomplétion -lima.common.begindate=Début -lima.common.buttonback=← -lima.common.buttonnext=→ -lima.common.cancel=Annuler -lima.common.closed=Fermé -lima.common.code=Code -lima.common.confirmation=Confirmation -lima.common.copy=Copier -lima.common.enddate=Fin -lima.common.entrybook=Journal -lima.common.entrybooks=Journaux -lima.common.error=Erreur -lima.common.filter=Filtrer -lima.common.info=Information -lima.common.label=Libellé -lima.common.movmentedfilter=Comptes mouvementés -lima.common.ok=OK -lima.common.open=Ouvert -lima.common.paste=Coller -lima.common.quit=Quitter -lima.common.remove=Supprimer -lima.common.search=Rechercher -lima.common.solde=Solde -lima.common.soldecredit=Solde Créditeur -lima.common.soldedebit=Solde Débiteur -lima.common.update=Modifier -lima.config.category.directories=Répertoires -lima.config.category.directories.description=Répertoires utilisés par Lima -lima.config.category.other=Autre -lima.config.category.other.description=Autre propriétés de configuration -lima.config.configFileName.description= -lima.config.currency.description= -lima.config.data.dir.description= -lima.config.decimalseparator.description= -lima.config.host.adress=Adresse du serveur distant -lima.config.i18n.dir.description= -lima.config.locale.description=Locale utilisée par l'application -lima.config.resources.dir.description= -lima.config.scale.description= -lima.config.ui.flaunchui.description= -lima.config.ui.fullscreen.description=Plein écran -lima.documents=Documents… -lima.entries=Traitement -lima.entries.addEntry=Ajouter entrée -lima.entries.addTransaction=Ajouter transaction -lima.entries.lettering=Lettrage -lima.entries.lettering.add=Ajouter une lettre -lima.entries.lettering.noletterselected=Erreur \: Aucune lettre sélectionnée. -lima.entries.lettering.radiobutton.list=Lettres existantes -lima.entries.lettering.radiobutton.new=Nouvelle lettre -lima.entries.lettering.remove=Supprimer une lettre -lima.entries.searchtransaction=Rechercher des écritures -lima.entries.searchunbalancedtransaction=Entrées incorrectes -lima.entries.writetransaction=Saisir des écritures -lima.entrybooksreports.documentcreationerror=Erreur lors de la création du document -lima.entrybooksreports.documentcreationfiscalerror=Impossible de créedr un document quand la période fiscale est ouverte -lima.entrybooksreports.listerror=Erreur lors de la récupération des données de la liste -lima.enum.comboboxaccount.account=Compte -lima.enum.comboboxaccount.accountlist=Liste de comptes -lima.enum.comboboxaccount.allaccount=Tous les comptes -lima.enum.comboboxentrybook.all=Tous les journaux -lima.enum.comboboxentrybook.select_one=Journal -lima.enum.comboboxletter.all=Toutes les lettres -lima.enum.comboboxletter.selectone=Lettre -lima.enum.comboboxoperator.equal=Égal -lima.enum.comboboxoperator.inferior=Inférieur -lima.enum.comboboxoperator.inferiororequal=Inférieur ou égal -lima.enum.comboboxoperator.interval=Intervalle -lima.enum.comboboxoperator.notequal=Différent -lima.enum.comboboxoperator.superior=Supérieur -lima.enum.comboboxoperator.superiororequal=Supérieur ou égal -lima.enum.comboboxperiod.date=Date -lima.enum.comboboxperiod.financialperiod=Période Financière -lima.enum.comboboxperiod.fiscalperiod=Exercice -lima.enum.comboboxperiod.period=Période -lima.error.errorpane.htmlmessage=<html><body><b>Une erreur s'est produite</b>\:<br/>%s</body></html> -lima.financialstatement.accounts=Liste de comptes au crédit et au débit -lima.financialstatement.addfinancialStatementHeadererror=Erreur lors de l'ajout de l'entête sur la déclaration financière -lima.financialstatement.check=Vérification des comptes aux postes -lima.financialstatement.creditaccounts=Liste de comptes au crédit -lima.financialstatement.debitaccounts=Liste de comptes au débit -lima.financialstatement.delete=Supprimer le plan BCR actuel avant d'importer -lima.financialstatement.header.add=Ajouter une catégorie -lima.financialstatement.headeramount=Calculer le total en en-tete -lima.financialstatement.label=Libellé -lima.financialstatement.movement.add=Ajouter un regrouprement -lima.financialstatement.provisiondeprecationaccounts=Liste de comptes d'amortissement et provisions -lima.financialstatement.subamount=Calculer un sous-total -lima.financialstatementreport.listerror=Erreur lors de la récupération des données de la liste -lima.fiscalperiod.unbalancedtransactions=La période fiscale contient des transactions non équilibrées -lima.home.entrybooks.create= -lima.identity=Identité -lima.identity.address=Adresse -lima.identity.address2=Adresse (suite) -lima.identity.businessNumber=SIRET -lima.identity.city=Ville -lima.identity.classificationCode=Code NAF -lima.identity.description=Description -lima.identity.email=Courriel -lima.identity.name=Nom -lima.identity.phoneNumber=n° Tel -lima.identity.vatNumber=n° TVA -lima.identity.zipCode=Code Postal -lima.importexport.choiceencoding= -lima.importexport.export= -lima.importexport.export.terminated= -lima.importexport.usevatpdf= -lima.init.closed=Lima fermé à %1$s -lima.init.errorclosing=Erreur lors de la fermeture -lima.ledger.documentcreationerror=Erreur lors de la création du document -lima.lettering.listerror=Erreur lors de la récupération des données de la liste -lima.menu.file=Fichier -lima.menu.help=Aide -lima.menu.help.about=À Propos -lima.menu.help.i18n=Langue -lima.menu.help.i18n.fr=Français -lima.menu.help.i18n.uk=Anglais -lima.menu.help.site=Accéder au site de Lima -lima.menu.window=Fenêtre -lima.message.help.usage=Options (set with --option <key> <value>\: -lima.misc.supportemail.description=Adresse email de support -lima.openejb.remotemode.description= -lima.opening.accounts= -lima.preferences=Préférences -lima.reports=Rapports -lima.reports.accounts=Edition compte -lima.reports.balance=Balance -lima.reports.entrybooks=Edition journal -lima.reports.financialstatement=Bilan et Compte de résultat -lima.reports.ledger=Grand Livre -lima.reports.vat=Edition TVA -lima.splash.1=Chargement des services -lima.splash.2=Chargement de la comptabilité -lima.splash.3=Application prête \! -lima.structure=Structure -lima.tab.home=Accueil -lima.table.account=Compte -lima.table.balance=Balance -lima.table.credit=Crédit -lima.table.date=Date -lima.table.debit=Débit -lima.table.debitcredit=Débit et Crédit -lima.table.description=Description -lima.table.entrybook=Journal -lima.table.grossamount=Brut -lima.table.label=Libellé -lima.table.letter=Lettre -lima.table.move.credit=Mouvement au crédit -lima.table.move.debit=Mouvement au débit -lima.table.netamount=Net -lima.table.number=Numéro de compte -lima.table.provisiondeprecationamount=Amortissements et provisions -lima.table.solde=Solde -lima.table.solde.credit=Solde crédit -lima.table.solde.debit=Solde débit -lima.table.voucher=Pièce comptable -lima.title.about=À propos de Lima... -lima.title.about.description=Logiciel de comptabilité Libre -lima.tooltip.filter=<html>Expression régulière \:<br/>- intervalle de compte i..j <br/>- liste de compte i,j,k <br/>- Exclure un compte -i</html> -lima.tooltip.lettering=<html>Pour ajouter une lettre à plusieurs écritures <br/>Sélectionner plusieurs lignes avec la combinaison ctrl + click</html> -lima.ui.account.addaccount=Nouveau compte -lima.ui.account.addaccounttitle=Ajout d'un compte -lima.ui.account.base=Plan comptable de base -lima.ui.account.developed=Plan comptable développé -lima.ui.account.importtitle=Importer -lima.ui.account.label=Libellé -lima.ui.account.number=Numéro de compte -lima.ui.account.removeaccountconfirm=Voulez-vous supprimer le compte %s ? -lima.ui.account.removeaccounttitle=Suppression d'un compte -lima.ui.account.shortened=Plan comptable abrégé -lima.ui.account.updateaccounttitle=Modification d'un compte -lima.ui.common.cancel=Annuler -lima.ui.common.error=Erreur -lima.ui.common.ok=Ok -lima.ui.common.refresh= -lima.ui.common.remove=Supprimer -lima.ui.common.update=Modifier -lima.ui.entrybook.add=Ajout de journal -lima.ui.entrybook.code=Code -lima.ui.entrybook.default=Journaux par défault -lima.ui.entrybook.deletemessage=Êtes vous sûr de vouloir supprimer le journal %s ? -lima.ui.entrybook.deletetitle=Suppression de journal -lima.ui.entrybook.entrybooktile=Journal -lima.ui.entrybook.import=Importer -lima.ui.entrybook.importtitle=Import -lima.ui.entrybook.label=Libellé -lima.ui.entrybook.remove=Supprimer -lima.ui.entrybook.update=Modifier -lima.ui.financialperiod.block=Cloturer une période -lima.ui.financialperiod.blockmessage=Êtes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! -lima.ui.financialperiod.blocktitle=Clôture -lima.ui.financialperiod.closure=Clôture -lima.ui.financialperiod.entrybook=Journal -lima.ui.financialperiod.period=Période -lima.ui.financialtransaction.account=Compte -lima.ui.financialtransaction.balance=Balance -lima.ui.financialtransaction.buttonback=← -lima.ui.financialtransaction.buttonnext=→ -lima.ui.financialtransaction.credit=Crédit -lima.ui.financialtransaction.date=Date -lima.ui.financialtransaction.debit=Débit -lima.ui.financialtransaction.description=Description -lima.ui.financialtransaction.entrybook=Journal -lima.ui.financialtransaction.financialperiod=Périodes comptables -lima.ui.financialtransaction.fiscalyear=Exercices -lima.ui.financialtransaction.letter=Lettre -lima.ui.financialtransaction.messageremoveentry=Voulez-vous supprimer cette ligne de transaction? -lima.ui.financialtransaction.messageremovetransaction=Voulez-vous supprimer cette transaction? -lima.ui.financialtransaction.titleremoveentry=Suppression -lima.ui.financialtransaction.titleremovetransaction=Suppression -lima.ui.financialtransaction.voucher=Pièce comptable -lima.ui.fiscalperiod.addfiscalperiod.morethan12=La période sélectionnée n'est pas de 12 mois, voulez-vous continuer ? -lima.ui.fiscalperiod.addfiscalperiodtitle=Nouvel exercice -lima.ui.fiscalperiod.block.addretainedearnings=Reporter à nouveau? -lima.ui.fiscalperiod.block.confirmation=Ètes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! -lima.ui.fiscalperiod.block.newyear=Voulez vous créer un nouvel exercice? -lima.ui.fiscalperiod.block.retainedearningstitle=Report à nouveau -lima.ui.fiscalperiod.block.title=Cloture de l'exercice -lima.ui.fiscalperiod.closed=Cloturé -lima.ui.fiscalperiod.closure=Cloture -lima.ui.fiscalperiod.fiscalperiod=Exercice -lima.ui.fiscalperiod.open=Ouvert -lima.ui.home.account=Plan comptable -lima.ui.home.chartaccounts.create=Créer le plan des comptes -lima.ui.home.chartaccounts.modify=Modifier le plan des comptes -lima.ui.home.chartaccounts.nothing=Aucun compte \! -lima.ui.home.chartaccounts.state1_2=Le plan comptable possede -lima.ui.home.chartaccounts.state2_2=comptes -lima.ui.home.daily=Quotidien -lima.ui.home.entrybooks=Journaux -lima.ui.home.entrybooks.create=Créer les journaux -lima.ui.home.entrybooks.modify=Modifier les journaux -lima.ui.home.entrybooks.nothing=Aucun journal ouvert \! -lima.ui.home.entrybooks.state.single=Le journal est \: -lima.ui.home.entrybooks.state1_2.plural=Les -lima.ui.home.entrybooks.state2_2.plural=journaux sont \: -lima.ui.home.fiscalperiod.closed=exercices cloturés -lima.ui.home.fiscalperiod.create=Créer un exercice -lima.ui.home.fiscalperiod.modify=Modifier les exercices -lima.ui.home.fiscalperiod.noopen=Aucun exercice ouvert \! -lima.ui.home.fiscalperiod.opened=exercices ouverts -lima.ui.home.fiscalyear=Exercices -lima.ui.home.transaction.balanced=transactions, toutes sont équilibrées -lima.ui.home.transaction.create=Ajouter des écritures -lima.ui.home.transaction.modifiy.balanced=Modifier les écritures -lima.ui.home.transaction.modifiy.unbalanced=Modifier les écritures incorrectes -lima.ui.home.transaction.nothing=Aucune écriture -lima.ui.home.transaction.unbalanced=transactions ne sont pas équilibrées \! -lima.ui.importexport.accountcharts=Plan des comptes -lima.ui.importexport.all=Tout -lima.ui.importexport.csv=Import/Export CSV -lima.ui.importexport.defaultentrybooks=Journaux par défaut -lima.ui.importexport.ebp=Import/Export EBP -lima.ui.importexport.entries=Écritures -lima.ui.importexport.entrybooks=Journaux -lima.ui.importexport.export=Export -lima.ui.importexport.export.terminated=Export terminé -lima.ui.importexport.financialstatements=Plan BCR -lima.ui.importexport.import=Importer -lima.ui.importexport.import.terminated=Import terminé -lima.ui.importexport.import.vatpdfimport=Le PDF a bien été importé dans le répertoire des ressources de Lima -lima.ui.importexport.importcsv=Import/Export CSV -lima.ui.importexport.importebp=Import/Export EBP -lima.ui.importexport.importerror= -lima.ui.importexport.importtitle= -lima.ui.importexport.vatstatements=Plan TVA -lima.ui.importexport.wait=Traitement en cours… -lima.ui.importexport.waittitle=Traitement en cours -lima.ui.mainview.title=Lutin Invoice Monitoring and Accounting -lima.ui.opening.accounts=<html><center>Veuillez sélectionner un plan par défault, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> -lima.ui.opening.close=Fermer -lima.ui.opening.end= -lima.ui.opening.entrybook=<html>Cochez la case pour importer les journaux par défaut \:<br/> Achats, Ventes, Trésorerie, Opération diverses</html> -lima.ui.opening.import=Importer une sauvegarde CSV -lima.ui.opening.next=Suivant -lima.ui.opening.title=Initialisation -lima.ui.opening.welcome=<html><center>Bienvenue dans Lima<br/>Laissez vous guider par cet assistant pour démarrer votre comptabilité en quelques instants <br/>Ou bien importer directement une ancienne sauvegarde de LIMA au format CSV<br/><br/><br/><br/></center></html> -lima.vatreport.listerror=Erreur lors de la récupération des données de la liste -lima.vatstatement.accounts=Liste des comptes -lima.vatstatement.boxname=PDF BoxName -lima.vatstatement.delete=Supprimer le plan TVA actuel avant d'importer -lima.vatstatement.label=Libellé -lima.vatstatement.mastervatstatement= -lima.vatstatement.movement.add=Ajouter un regrouprement -lima.warning.nimbus.landf=Le look and feel nymbus n'a pas été trouvé -limma.config.thousandseparator.description= Copied: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties (from rev 3419, trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties) =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties (rev 0) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-05-16 12:41:14 UTC (rev 3425) @@ -0,0 +1,330 @@ += +lima.accountsreports.listerror=Erreur lors de la récupération des données de la liste +lima.action.commandline.help=Afficher l'aide en console +lima.action.fullscreen=Plein Ecran +lima.action.fullscreen.tip=Passer en mode plein écran +lima.action.normalscreen=Ecran normal +lima.action.normalscreen.tip=Revenir en écran normal +lima.balance.documentcreationerror=Erreur lors de la création du document +lima.balance.documentcreationfiscalerror=Impossible de créer le document quand la période fiscale est ouverte +lima.balance.listerror=Erreur lors de la récupération des données de la liste +lima.charts.account=Plan comptable +lima.charts.account.base=Plan comptable de base +lima.charts.account.developed=Plan comptable développé +lima.charts.account.number=Numéro de compte +lima.charts.account.question.remove=Voulez-vous supprimer ce compte? +lima.charts.account.shortened=Plan comptable abrégé +lima.charts.financialperiod=Périodes comptables +lima.charts.financialstatement=Plan BCR +lima.charts.financialstatement.base=Plan BCR de base +lima.charts.financialstatement.developed=Plan BCR développé +lima.charts.financialstatement.nothing=<html><center>Aucun plan BCR chargé<br/>Veuillez sélectionner un plan par défaut, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> +lima.charts.financialstatement.shortened=Plan BCR abrégé +lima.charts.financialtransaction.question.removeentry=Voulez-vous supprimer cette ligne de transaction? +lima.charts.financialtransaction.question.removetransaction=Voulez-vous supprimer cette transaction? +lima.charts.fiscalperiod.add=Nouvel exercice +lima.charts.fiscalperiod.block=Cloturer un exercice +lima.charts.fiscalperiod.create=Choisissez la date de début et de fin du nouvel exercice +lima.charts.fiscalyear=Exercices +lima.charts.vatpdf=Structure du pdf +lima.charts.vatstatement=Plan TVA +lima.charts.vatstatement.base=Plan TVA de base +lima.charts.vatstatement.deleteparent=Veuillez supprimer les sous-catégories de cette ligne +lima.charts.vatstatement.developed=Plan TVA développé +lima.charts.vatstatement.nothing=<html><center>Aucun plan TVA chargé<br/>Veuillez sélectionner un plan par défaut, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> +lima.charts.vatstatement.question.remove=Etes vous sur de vouloir supprimer cette ligne ? +lima.charts.vatstatement.shortened=Plan TVA abrégé +lima.common.account=Compte +lima.common.amount=Montant +lima.common.amountcredit=Total Crédit +lima.common.amountdebit=Total Débit +lima.common.autocomplete=Autocomplétion +lima.common.begindate=Début +lima.common.buttonback=← +lima.common.buttonnext=→ +lima.common.cancel=Annuler +lima.common.closed=Fermé +lima.common.code=Code +lima.common.confirmation=Confirmation +lima.common.copy=Copier +lima.common.enddate=Fin +lima.common.entrybook=Journal +lima.common.entrybooks=Journaux +lima.common.error=Erreur +lima.common.filter=Filtrer +lima.common.info=Information +lima.common.label=Libellé +lima.common.movmentedfilter=Comptes mouvementés +lima.common.ok=OK +lima.common.open=Ouvert +lima.common.paste=Coller +lima.common.quit=Quitter +lima.common.remove=Supprimer +lima.common.search=Rechercher +lima.common.solde=Solde +lima.common.soldecredit=Solde Créditeur +lima.common.soldedebit=Solde Débiteur +lima.common.update=Modifier +lima.config.category.directories=Répertoires +lima.config.category.directories.description=Répertoires utilisés par Lima +lima.config.category.other=Autre +lima.config.category.other.description=Autre propriétés de configuration +lima.config.configFileName.description= +lima.config.currency.description= +lima.config.data.dir.description= +lima.config.decimalseparator.description= +lima.config.host.adress=Adresse du serveur distant +lima.config.i18n.dir.description= +lima.config.locale.description=Locale utilisée par l'application +lima.config.resources.dir.description= +lima.config.scale.description= +lima.config.ui.flaunchui.description= +lima.config.ui.fullscreen.description=Plein écran +lima.documents=Documents… +lima.entries=Traitement +lima.entries.addEntry=Ajouter entrée +lima.entries.addTransaction=Ajouter transaction +lima.entries.lettering=Lettrage +lima.entries.lettering.add=Ajouter une lettre +lima.entries.lettering.noletterselected=Erreur \: Aucune lettre sélectionnée. +lima.entries.lettering.radiobutton.list=Lettres existantes +lima.entries.lettering.radiobutton.new=Nouvelle lettre +lima.entries.lettering.remove=Supprimer une lettre +lima.entries.searchtransaction=Rechercher des écritures +lima.entries.searchunbalancedtransaction=Entrées incorrectes +lima.entries.writetransaction=Saisir des écritures +lima.entrybooksreports.documentcreationerror=Erreur lors de la création du document +lima.entrybooksreports.documentcreationfiscalerror=Impossible de créedr un document quand la période fiscale est ouverte +lima.entrybooksreports.listerror=Erreur lors de la récupération des données de la liste +lima.enum.comboboxaccount.account=Compte +lima.enum.comboboxaccount.accountlist=Liste de comptes +lima.enum.comboboxaccount.allaccount=Tous les comptes +lima.enum.comboboxentrybook.all=Tous les journaux +lima.enum.comboboxentrybook.select_one=Journal +lima.enum.comboboxletter.all=Toutes les lettres +lima.enum.comboboxletter.selectone=Lettre +lima.enum.comboboxoperator.equal=Égal +lima.enum.comboboxoperator.inferior=Inférieur +lima.enum.comboboxoperator.inferiororequal=Inférieur ou égal +lima.enum.comboboxoperator.interval=Intervalle +lima.enum.comboboxoperator.notequal=Différent +lima.enum.comboboxoperator.superior=Supérieur +lima.enum.comboboxoperator.superiororequal=Supérieur ou égal +lima.enum.comboboxperiod.date=Date +lima.enum.comboboxperiod.financialperiod=Période Financière +lima.enum.comboboxperiod.fiscalperiod=Exercice +lima.enum.comboboxperiod.period=Période +lima.error.errorpane.htmlmessage=<html><body><b>Une erreur s'est produite</b>\:<br/>%s</body></html> +lima.financialstatement.accounts=Liste de comptes au crédit et au débit +lima.financialstatement.addfinancialStatementHeadererror=Erreur lors de l'ajout de l'entête sur la déclaration financière +lima.financialstatement.check=Vérification des comptes aux postes +lima.financialstatement.creditaccounts=Liste de comptes au crédit +lima.financialstatement.debitaccounts=Liste de comptes au débit +lima.financialstatement.delete=Supprimer le plan BCR actuel avant d'importer +lima.financialstatement.header.add=Ajouter une catégorie +lima.financialstatement.headeramount=Calculer le total en en-tete +lima.financialstatement.label=Libellé +lima.financialstatement.movement.add=Ajouter un regrouprement +lima.financialstatement.provisiondeprecationaccounts=Liste de comptes d'amortissement et provisions +lima.financialstatement.subamount=Calculer un sous-total +lima.financialstatementreport.listerror=Erreur lors de la récupération des données de la liste +lima.fiscalperiod.unbalancedtransactions=La période fiscale contient des transactions non équilibrées +lima.home.entrybooks.create= +lima.identity=Identité +lima.identity.address=Adresse +lima.identity.address2=Adresse (suite) +lima.identity.businessNumber=SIRET +lima.identity.city=Ville +lima.identity.classificationCode=Code NAF +lima.identity.description=Description +lima.identity.email=Courriel +lima.identity.name=Nom +lima.identity.phoneNumber=n° Tel +lima.identity.vatNumber=n° TVA +lima.identity.zipCode=Code Postal +lima.importexport.choiceencoding= +lima.importexport.export= +lima.importexport.export.terminated= +lima.importexport.usevatpdf= +lima.init.closed=Lima fermé à %1$s +lima.init.errorclosing=Erreur lors de la fermeture +lima.ledger.documentcreationerror=Erreur lors de la création du document +lima.lettering.listerror=Erreur lors de la récupération des données de la liste +lima.menu.file=Fichier +lima.menu.help=Aide +lima.menu.help.about=À Propos +lima.menu.help.i18n=Langue +lima.menu.help.i18n.fr=Français +lima.menu.help.i18n.uk=Anglais +lima.menu.help.site=Accéder au site de Lima +lima.menu.window=Fenêtre +lima.message.help.usage=Options (set with --option <key> <value>\: +lima.misc.supportemail.description=Adresse email de support +lima.openejb.remotemode.description= +lima.opening.accounts= +lima.preferences=Préférences +lima.reports=Rapports +lima.reports.accounts=Edition compte +lima.reports.balance=Balance +lima.reports.entrybooks=Edition journal +lima.reports.financialstatement=Bilan et Compte de résultat +lima.reports.ledger=Grand Livre +lima.reports.vat=Edition TVA +lima.splash.1=Chargement des services +lima.splash.2=Chargement de la comptabilité +lima.splash.3=Application prête \! +lima.structure=Structure +lima.tab.home=Accueil +lima.table.account=Compte +lima.table.balance=Balance +lima.table.credit=Crédit +lima.table.date=Date +lima.table.debit=Débit +lima.table.debitcredit=Débit et Crédit +lima.table.description=Description +lima.table.entrybook=Journal +lima.table.grossamount=Brut +lima.table.label=Libellé +lima.table.letter=Lettre +lima.table.move.credit=Mouvement au crédit +lima.table.move.debit=Mouvement au débit +lima.table.netamount=Net +lima.table.number=Numéro de compte +lima.table.provisiondeprecationamount=Amortissements et provisions +lima.table.solde=Solde +lima.table.solde.credit=Solde crédit +lima.table.solde.debit=Solde débit +lima.table.voucher=Pièce comptable +lima.title.about=À propos de Lima... +lima.title.about.description=Logiciel de comptabilité Libre +lima.tooltip.filter=<html>Expression régulière \:<br/>- intervalle de compte i..j <br/>- liste de compte i,j,k <br/>- Exclure un compte -i</html> +lima.tooltip.lettering=<html>Pour ajouter une lettre à plusieurs écritures <br/>Sélectionner plusieurs lignes avec la combinaison ctrl + click</html> +lima.ui.account.addaccount=Nouveau compte +lima.ui.account.addaccounttitle=Ajout d'un compte +lima.ui.account.base=Plan comptable de base +lima.ui.account.developed=Plan comptable développé +lima.ui.account.importtitle=Importer +lima.ui.account.label=Libellé +lima.ui.account.number=Numéro de compte +lima.ui.account.removeaccountconfirm=Voulez-vous supprimer le compte %s ? +lima.ui.account.removeaccounttitle=Suppression d'un compte +lima.ui.account.shortened=Plan comptable abrégé +lima.ui.account.updateaccounttitle=Modification d'un compte +lima.ui.common.amountcredit=Total Crédit +lima.ui.common.amountdebit=Total Débit +lima.ui.common.cancel=Annuler +lima.ui.common.error=Erreur +lima.ui.common.ok=Ok +lima.ui.common.refresh= +lima.ui.common.remove=Supprimer +lima.ui.common.solde=Solde +lima.ui.common.update=Modifier +lima.ui.entrybook.add=Ajout de journal +lima.ui.entrybook.code=Code +lima.ui.entrybook.default=Journaux par défault +lima.ui.entrybook.deletemessage=Êtes vous sûr de vouloir supprimer le journal %s ? +lima.ui.entrybook.deletetitle=Suppression de journal +lima.ui.entrybook.entrybooktile=Journal +lima.ui.entrybook.import=Importer +lima.ui.entrybook.importtitle=Import +lima.ui.entrybook.label=Libellé +lima.ui.entrybook.remove=Supprimer +lima.ui.entrybook.update=Modifier +lima.ui.financialperiod.block=Cloturer une période +lima.ui.financialperiod.blockmessage=Êtes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! +lima.ui.financialperiod.blocktitle=Clôture +lima.ui.financialperiod.closure=Clôture +lima.ui.financialperiod.entrybook=Journal +lima.ui.financialperiod.period=Période +lima.ui.financialtransaction.account=Compte +lima.ui.financialtransaction.balance=Balance +lima.ui.financialtransaction.buttonback=← +lima.ui.financialtransaction.buttonnext=→ +lima.ui.financialtransaction.credit=Crédit +lima.ui.financialtransaction.date=Date +lima.ui.financialtransaction.debit=Débit +lima.ui.financialtransaction.description=Description +lima.ui.financialtransaction.entrybook=Journal +lima.ui.financialtransaction.financialperiod=Périodes comptables +lima.ui.financialtransaction.fiscalyear=Exercices +lima.ui.financialtransaction.letter=Lettre +lima.ui.financialtransaction.messageremoveentry=Voulez-vous supprimer cette ligne de transaction? +lima.ui.financialtransaction.messageremovetransaction=Voulez-vous supprimer cette transaction? +lima.ui.financialtransaction.titleremoveentry=Suppression +lima.ui.financialtransaction.titleremovetransaction=Suppression +lima.ui.financialtransaction.voucher=Pièce comptable +lima.ui.fiscalperiod.addfiscalperiod.morethan12=La période sélectionnée n'est pas de 12 mois, voulez-vous continuer ? +lima.ui.fiscalperiod.addfiscalperiodtitle=Nouvel exercice +lima.ui.fiscalperiod.block.addretainedearnings=Reporter à nouveau? +lima.ui.fiscalperiod.block.confirmation=Ètes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! +lima.ui.fiscalperiod.block.newyear=Voulez vous créer un nouvel exercice? +lima.ui.fiscalperiod.block.retainedearningstitle=Report à nouveau +lima.ui.fiscalperiod.block.title=Cloture de l'exercice +lima.ui.fiscalperiod.closed=Cloturé +lima.ui.fiscalperiod.closure=Cloture +lima.ui.fiscalperiod.fiscalperiod=Exercice +lima.ui.fiscalperiod.open=Ouvert +lima.ui.home.account=Plan comptable +lima.ui.home.chartaccounts.create=Créer le plan des comptes +lima.ui.home.chartaccounts.modify=Modifier le plan des comptes +lima.ui.home.chartaccounts.nothing=Aucun compte \! +lima.ui.home.chartaccounts.state1_2=Le plan comptable possede +lima.ui.home.chartaccounts.state2_2=comptes +lima.ui.home.daily=Quotidien +lima.ui.home.entrybooks=Journaux +lima.ui.home.entrybooks.create=Créer les journaux +lima.ui.home.entrybooks.modify=Modifier les journaux +lima.ui.home.entrybooks.nothing=Aucun journal ouvert \! +lima.ui.home.entrybooks.state.single=Le journal est \: +lima.ui.home.entrybooks.state1_2.plural=Les +lima.ui.home.entrybooks.state2_2.plural=journaux sont \: +lima.ui.home.fiscalperiod.closed=exercices cloturés +lima.ui.home.fiscalperiod.create=Créer un exercice +lima.ui.home.fiscalperiod.modify=Modifier les exercices +lima.ui.home.fiscalperiod.noopen=Aucun exercice ouvert \! +lima.ui.home.fiscalperiod.opened=exercices ouverts +lima.ui.home.fiscalyear=Exercices +lima.ui.home.transaction.balanced=transactions, toutes sont équilibrées +lima.ui.home.transaction.create=Ajouter des écritures +lima.ui.home.transaction.modifiy.balanced=Modifier les écritures +lima.ui.home.transaction.modifiy.unbalanced=Modifier les écritures incorrectes +lima.ui.home.transaction.nothing=Aucune écriture +lima.ui.home.transaction.unbalanced=transactions ne sont pas équilibrées \! +lima.ui.importexport.accountcharts=Plan des comptes +lima.ui.importexport.all=Tout +lima.ui.importexport.csv=Import/Export CSV +lima.ui.importexport.defaultentrybooks=Journaux par défaut +lima.ui.importexport.ebp=Import/Export EBP +lima.ui.importexport.entries=Écritures +lima.ui.importexport.entrybooks=Journaux +lima.ui.importexport.export=Export +lima.ui.importexport.export.terminated=Export terminé +lima.ui.importexport.financialstatements=Plan BCR +lima.ui.importexport.import=Importer +lima.ui.importexport.import.terminated=Import terminé +lima.ui.importexport.import.vatpdfimport=Le PDF a bien été importé dans le répertoire des ressources de Lima +lima.ui.importexport.importcsv=Import/Export CSV +lima.ui.importexport.importebp=Import/Export EBP +lima.ui.importexport.importerror= +lima.ui.importexport.importtitle= +lima.ui.importexport.vatstatements=Plan TVA +lima.ui.importexport.wait=Traitement en cours… +lima.ui.importexport.waittitle=Traitement en cours +lima.ui.mainview.title=Lutin Invoice Monitoring and Accounting +lima.ui.opening.accounts=<html><center>Veuillez sélectionner un plan par défault, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html> +lima.ui.opening.close=Fermer +lima.ui.opening.end= +lima.ui.opening.entrybook=<html>Cochez la case pour importer les journaux par défaut \:<br/> Achats, Ventes, Trésorerie, Opération diverses</html> +lima.ui.opening.import=Importer une sauvegarde CSV +lima.ui.opening.next=Suivant +lima.ui.opening.title=Initialisation +lima.ui.opening.welcome=<html><center>Bienvenue dans Lima<br/>Laissez vous guider par cet assistant pour démarrer votre comptabilité en quelques instants <br/>Ou bien importer directement une ancienne sauvegarde de LIMA au format CSV<br/><br/><br/><br/></center></html> +lima.vatreport.listerror=Erreur lors de la récupération des données de la liste +lima.vatstatement.accounts=Liste des comptes +lima.vatstatement.boxname=PDF BoxName +lima.vatstatement.delete=Supprimer le plan TVA actuel avant d'importer +lima.vatstatement.label=Libellé +lima.vatstatement.mastervatstatement= +lima.vatstatement.movement.add=Ajouter un regrouprement +lima.warning.nimbus.landf=Le look and feel nymbus n'a pas été trouvé +limma.config.thousandseparator.description=