r3917 - in trunk/lima-swing/src/main: java/org/chorem/lima/ui/fiscalperiod java/org/chorem/lima/ui/importexport resources/i18n
Author: sbavencoff Date: 2014-09-12 15:43:26 +0200 (Fri, 12 Sep 2014) New Revision: 3917 Url: http://forge.chorem.org/projects/lima/repository/revisions/3917 Log: refs #875 #1043 : FiscalPeriod Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.css trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.css trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.css trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.css Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodTableModel.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/importexport/ImportExportWaitView.jaxx trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.css 2014-09-12 13:43:26 UTC (rev 3917) @@ -0,0 +1,25 @@ +#periodFormDialog { + title : "lima.fiscalPeriod.form"; +} + +#beginDateLabel { + text : "lima.beginDate"; + labelFor : "{beginDatePicker}"; +} + +#beginDatePicker { + enabled : "{!isModifyPeriod()}"; +} + +#endDateLabel { + text : "lima.endDate"; + labelFor : "{endDatePicker}"; +} + +#cancelButton { + text : "lima.cancel"; +} + +#okButton { + text : "lima.ok"; +} \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx 2014-09-12 13:43:26 UTC (rev 3917) @@ -22,7 +22,8 @@ <http://www.gnu.org/licenses/gpl-3.0.html>. #L% --> -<JDialog modal="true" +<JDialog id="periodFormDialog" + modal="true" defaultCloseOperation="{JDialog.DO_NOTHING_ON_CLOSE}" onWindowClosing="performCancel();"> @@ -48,16 +49,15 @@ <Table fill="both"> <row> <cell> - <JLabel text="lima.beginDate"/> + <JLabel id="beginDateLabel"/> </cell> <cell> - <org.jdesktop.swingx.JXDatePicker id="beginDatePicker" - enabled="{!isModifyPeriod()}"/> + <org.jdesktop.swingx.JXDatePicker id="beginDatePicker"/> </cell> </row> <row> <cell> - <JLabel text="lima.endDate"/> + <JLabel id="endDateLabel"/> </cell> <cell> <org.jdesktop.swingx.JXDatePicker id="endDatePicker" /> @@ -68,11 +68,11 @@ <Table fill="none" anchor="center" weighty="1"> <row> <cell> - <JButton id="cancelButton" text="lima.cancel" + <JButton id="cancelButton" onActionPerformed="performCancel()"/> </cell> <cell> - <JButton id="okButton" text="lima.ok" + <JButton id="okButton" onActionPerformed="performOk()"/> </cell> </row> Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodTableModel.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodTableModel.java 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodTableModel.java 2014-09-12 13:43:26 UTC (rev 3917) @@ -58,7 +58,7 @@ @Override protected void initColumn() { - addColumn(new AbstractColumn<FiscalPeriodTableModel>(Date.class, t("lima.fiscalperiod.begin"), false) { + addColumn(new AbstractColumn<FiscalPeriodTableModel>(Date.class, t("lima.fiscalPeriod.begin"), false) { @Override public Object getValueAt(int row) { FiscalPeriod fiscalPeriod = tableModel.get(row); @@ -66,7 +66,7 @@ } }); - addColumn(new AbstractColumn<FiscalPeriodTableModel>(Date.class, t("lima.fiscalperiod.end"), false) { + addColumn(new AbstractColumn<FiscalPeriodTableModel>(Date.class, t("lima.fiscalPeriod.end"), false) { @Override public Object getValueAt(int row) { FiscalPeriod fiscalPeriod = tableModel.get(row); @@ -74,13 +74,13 @@ } }); - addColumn(new AbstractColumn<FiscalPeriodTableModel>(String.class, t("lima.fiscalperiod.status"), false) { + addColumn(new AbstractColumn<FiscalPeriodTableModel>(String.class, t("lima.fiscalPeriod.status"), false) { @Override public Object getValueAt(int row) { FiscalPeriod fiscalPeriod = tableModel.get(row); - String status = t("lima.fiscalperiod.open"); + String status = t("lima.fiscalPeriod.open"); if (fiscalPeriod.isLocked()) { - status = t("lima.fiscalperiod.closed"); + status = t("lima.fiscalPeriod.closed"); } return status; } Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.css 2014-09-12 13:43:26 UTC (rev 3917) @@ -0,0 +1,36 @@ +#toolBar { + floatable : false; +} + +#addButton { + toolTipText : "lima.fiscalPeriod.add"; + actionIcon : "fiscalPeriod-new"; +} + +#updateButton { + toolTipText : "lima.fiscalPeriod.update"; + actionIcon : "fiscalPeriod-edit"; + enabled : "{isDeleteEnabled()}"; +} + +#blockButton { + toolTipText : "lima.fiscalPeriod.block"; + actionIcon : "fiscalPeriod-close"; + enabled : "{isBlockEnabled()}"; +} + +#removeButton { + toolTipText : "lima.fiscalPeriod.delete"; + actionIcon : "fiscalPeriod-remove"; + enabled : "{isDeleteEnabled()}"; +} + +#fiscalPeriodTable { + sortable : false; + rowHeight : 24; + columnControlVisible : true; +} + +#selectionModel { + selectionMode : "{ListSelectionModel.SINGLE_SELECTION}"; +} \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodView.jaxx 2014-09-12 13:43:26 UTC (rev 3917) @@ -23,7 +23,7 @@ #L% --> -<Table> +<JPanel layout="{new BorderLayout()}"> <import> javax.swing.ListSelectionModel @@ -42,54 +42,32 @@ } ]]></script> - <row> - <cell fill="horizontal"> - <JToolBar floatable="false"> - <JButton id="addButton" - toolTipText="{ t("lima.charts.fiscalperiod.add") + " (Ctrl+N)"}" - actionIcon='fiscalPeriod-new' - onActionPerformed="handler.addFiscalPeriod()"/> + <JToolBar id="toolBar" + constraints="BorderLayout.PAGE_START"> - <JButton id="updateButton" - toolTipText="{ t("lima.charts.fiscalperiod.update") + " (Ctrl+M)"}" - actionIcon='fiscalPeriod-edit' - onActionPerformed="handler.updateFiscalPeriod()" - enabled="{isDeleteEnabled()}" /> + <JButton id="addButton" + onActionPerformed="handler.addFiscalPeriod()"/> - <JButton id="blockButton" - toolTipText="{ t("lima.charts.fiscalperiod.block") + " (Ctrl+B)"}" - actionIcon='fiscalPeriod-close' - onActionPerformed="handler.blockFiscalPeriod()" - enabled="{isBlockEnabled()}"/> + <JButton id="updateButton" + onActionPerformed="handler.updateFiscalPeriod()"/> - <JButton id="deleteButton" - toolTipText="{ t("lima.charts.fiscalperiod.delete") + " (Del)"}" - actionIcon='fiscalPeriod-remove' - onActionPerformed="handler.deleteFiscalPeriod()" - enabled="{isDeleteEnabled()}"/> + <JButton id="blockButton" + onActionPerformed="handler.blockFiscalPeriod()"/> - </JToolBar> - </cell> - </row> + <JButton id="removeButton" + onActionPerformed="handler.deleteFiscalPeriod()"/> - <row> - <cell fill="both" weightx="1" weighty="1"> - <JScrollPane> - <FiscalPeriodTableModel id="fiscalPeriodTableModel" /> - <FiscalPeriodTable id="fiscalPeriodTable" - constructorParams='handler' - sortable="false" - rowHeight="24" - columnControlVisible="true" - model="{fiscalPeriodTableModel}" - selectionModel='{selectionModel}'/> - <ListSelectionModel id="selectionModel" - initializer="new DefaultListSelectionModel()" - onValueChanged="handler.onSelectionChanged(event)" - selectionMode="{ListSelectionModel.SINGLE_SELECTION}"/> + </JToolBar> + <JScrollPane constraints="BorderLayout.CENTER"> + <FiscalPeriodTableModel id="fiscalPeriodTableModel" /> + <FiscalPeriodTable id="fiscalPeriodTable" + constructorParams='handler' + model="{fiscalPeriodTableModel}" + selectionModel='{selectionModel}'/> + <ListSelectionModel id="selectionModel" + initializer="new DefaultListSelectionModel()" + onValueChanged="handler.onSelectionChanged(event)"/> - </JScrollPane> - </cell> - </row> -</Table> + </JScrollPane> +</JPanel> Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/FiscalPeriodViewHandler.java 2014-09-12 13:43:26 UTC (rev 3917) @@ -183,7 +183,7 @@ AddPeriod addPeriodDialog = new AddPeriod(view); - addPeriodDialog.setTitle(t("lima.fiscalperiod.addfiscalperiodtitle")); + addPeriodDialog.setTitle(t("lima.fiscalPeriod.addfiscalperiodtitle")); addPeriodDialog.getBeginDatePicker().setDate(beginDate); addPeriodDialog.getEndDatePicker().setDate(endDate); addPeriodDialog.setLocationRelativeTo(view); @@ -229,7 +229,7 @@ int response = JOptionPane.YES_OPTION; if (nbMonth != 12) { response = JOptionPane.showConfirmDialog(view, - t("lima.fiscalperiod.addfiscalperiod.morethan12"), + t("lima.fiscalPeriod.addfiscalperiod.morethan12"), title, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); } @@ -258,7 +258,7 @@ if (!selectedFiscalPeriod.isLocked()) { AddPeriod addPeriodDialog = new AddPeriod(view); - addPeriodDialog.setTitle(t("lima.fiscalperiod.modifyfiscalperiodtitle")); + addPeriodDialog.setTitle(t("lima.fiscalPeriod.modifyfiscalperiodtitle")); addPeriodDialog.getBeginDatePicker().setDate(selectedFiscalPeriod.getBeginDate()); addPeriodDialog.getEndDatePicker().setDate(selectedFiscalPeriod.getEndDate()); addPeriodDialog.setModifyPeriod(true); @@ -293,8 +293,8 @@ //check if the user want to delete the fiscal year int response = JOptionPane.showConfirmDialog(view, - t("lima.fiscalperiod.delete.confirmation"), - t("lima.fiscalperiod.delete.title"), JOptionPane.YES_NO_OPTION, + t("lima.fiscalPeriod.delete.confirmation"), + t("lima.fiscalPeriod.delete.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); if (response == JOptionPane.YES_OPTION) { @@ -332,8 +332,8 @@ //check if the user want to block the fiscal year int answerBlock = JOptionPane.showConfirmDialog(view, - t("lima.fiscalperiod.block.confirmation"), - t("lima.fiscalperiod.block.title"), JOptionPane.YES_NO_OPTION, + t("lima.fiscalPeriod.block.confirmation"), + t("lima.fiscalPeriod.block.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); if (answerBlock == JOptionPane.YES_OPTION) { @@ -347,8 +347,8 @@ //check if the user wants to create a new fiscal year int answerCreate = JOptionPane.showConfirmDialog(view, - t("lima.fiscalperiod.block.newyear"), - t("lima.fiscalperiod.block.title"), JOptionPane.YES_NO_OPTION, + t("lima.fiscalPeriod.block.newyear"), + t("lima.fiscalPeriod.block.title"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); // create a new fiscal year @@ -363,16 +363,16 @@ if (selectedFiscalPeriod.equals(lastFiscalPeriod)) { JOptionPane.showMessageDialog(view, - t("lima.fiscalperiod.block.cantBalanceIfNextPeriodNotExist"), - t("lima.fiscalperiod.block.title"), + t("lima.fiscalPeriod.block.cantBalanceIfNextPeriodNotExist"), + t("lima.fiscalPeriod.block.title"), JOptionPane.ERROR_MESSAGE); } else { //check if the user wants to report datas int answerRetainedEarnings = JOptionPane.showConfirmDialog(view, - t("lima.fiscalperiod.block.addretainedearnings"), - t("lima.fiscalperiod.block.title"), JOptionPane.YES_NO_OPTION, + t("lima.fiscalPeriod.block.addretainedearnings"), + t("lima.fiscalPeriod.block.title"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (answerRetainedEarnings == JOptionPane.YES_OPTION) { @@ -414,16 +414,16 @@ } else { JOptionPane.showMessageDialog(view, - t("lima.fiscalperiod.block.cantBalanceNotBook"), - t("lima.fiscalperiod.block.title"), + t("lima.fiscalPeriod.block.cantBalanceNotBook"), + t("lima.fiscalPeriod.block.title"), JOptionPane.ERROR_MESSAGE); } } else { JOptionPane.showMessageDialog(view, - t("lima.fiscalperiod.block.cantBlockNotBalance"), - t("lima.fiscalperiod.block.title"), + t("lima.fiscalPeriod.block.cantBlockNotBalance"), + t("lima.fiscalPeriod.block.title"), JOptionPane.ERROR_MESSAGE); } } Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.css 2014-09-12 13:43:26 UTC (rev 3917) @@ -0,0 +1,49 @@ +#retainedEarningsEntryBookFormDialog { + title : "lima.fiscalPeriod.block.retainedEarnings"; +} + +#selectedEntryBook { + text : "lima.entryBook"; + selected : true; + buttonGroup : "EntryBookGroup"; + +} + +#entryBookSelectorLabel { + text : "lima.entryBook"; +} + +#entryBookComboBox { + editable : "false"; +} + +#newEntryBook { + text : "lima.fiscalPeriod.entryBooks.create"; + selected : false; + buttonGroup : "EntryBookGroup"; +} + +#codeLabel { + text : "lima.code"; +} + +#codeField { + text : "{getEntryBook().getCode()}"; +} + +#labelLabel { + text : "lima.label"; +} + +#LabelField { + editable : "{isAddState()}"; + text : "{getEntryBook().getLabel()}"; +} + +#cancelButton { + text : "lima.cancel"; +} + +#okButton { + text : "lima.ok"; +} \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.jaxx 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsEntryBookForm.jaxx 2014-09-12 13:43:26 UTC (rev 3917) @@ -22,7 +22,8 @@ <http://www.gnu.org/licenses/gpl-3.0.html>. #L% --> -<JDialog title="lima.fiscalperiod.block.retainedearningstitle" modal="true" +<JDialog id="retainedEarningsEntryBookFormDialog" + modal="true" defaultCloseOperation="{JDialog.DO_NOTHING_ON_CLOSE}" onWindowClosing="performCancel();"> @@ -53,8 +54,8 @@ protected void performNew() { if (selectedEntryBook.isSelected()) { entryBookComboBox.setEnabled(true); - entryBookLabelField.setEditable(false); - entryBookCodeField.setEditable(false); + labelField.setEditable(false); + codeField.setEditable(false); if (getEntryBookComboBox().getSelectedItem() != null) { getEntryBook().setCode(((EntryBook)getEntryBookComboBox().getSelectedItem()).getCode().trim()); getEntryBook().setLabel(((EntryBook)getEntryBookComboBox().getSelectedItem()).getLabel().trim()); @@ -63,10 +64,10 @@ } } else { entryBookComboBox.setEnabled(false); - entryBookLabelField.setEditable(true); - entryBookCodeField.setEditable(true); - getEntryBook().setCode(getEntryBookCodeField().getText()); - getEntryBook().setLabel(getEntryBookLabelField().getText()); + labelField.setEditable(true); + codeField.setEditable(true); + getEntryBook().setCode(getCodeField().getText()); + getEntryBook().setLabel(getLabelField().getText()); } } @@ -79,67 +80,57 @@ <Table> <row> <cell anchor="west"> - <JRadioButton - id="selectedEntryBook" - text="lima.entryBook" - selected="true" - buttonGroup="EntryBookGroup" - onActionPerformed="performNew()"/> + <JRadioButton id="selectedEntryBook" + onActionPerformed="performNew()"/> </cell> </row> <row> <cell> - <JLabel id="entryBookSelectorLabel" text="lima.entryBook"/> + <JLabel id="entryBookSelectorLabel" /> </cell> <cell> <org.chorem.lima.ui.combobox.EntryBookComboBoxModel id="modelEntryBookComboBox"/> <JComboBox id="entryBookComboBox" model="{getModelEntryBookComboBox()}" renderer="{new EntryBookListRenderer()}" - editable="false" onItemStateChanged="getEntryBook().setCode(((EntryBook)getEntryBookComboBox().getSelectedItem()).getCode()); getEntryBook().setLabel(((EntryBook)getEntryBookComboBox().getSelectedItem()).getLabel())"/> </cell> </row> <row> <cell anchor="west"> - <JRadioButton - id="newEntryBook" - text="lima.fiscalperiod.entrybooks.create" - selected="false" - buttonGroup="EntryBookGroup" + <JRadioButton id="newEntryBook" onActionPerformed="performNew()"/> </cell> </row> <row> <cell> - <JLabel text="lima.code"/> + <JLabel id="codeLabel"/> </cell> <cell> - <JTextField id="entryBookCodeField" text="{getEntryBook().getCode()}"/> - <Document javaBean="getEntryBookCodeField().getDocument()" - onInsertUpdate='getEntryBook().setCode(getEntryBookCodeField().getText())' - onRemoveUpdate='getEntryBook().setCode(getEntryBookCodeField().getText())'/> + <JTextField id="codeField"/> + <Document javaBean="getCodeField().getDocument()" + onInsertUpdate='getEntryBook().setCode(getCodeField().getText())' + onRemoveUpdate='getEntryBook().setCode(getCodeField().getText())'/> </cell> </row> <row> <cell> - <JLabel text="lima.label"/> + <JLabel id="labelLabel"/> </cell> <cell> - <JTextField id="entryBookLabelField" editable='{isAddState()}' - text="{getEntryBook().getLabel()}"/> - <Document javaBean="getEntryBookLabelField().getDocument()" - onInsertUpdate='getEntryBook().setLabel(getEntryBookLabelField().getText())' - onRemoveUpdate='getEntryBook().setLabel(getEntryBookLabelField().getText())'/> + <JTextField id="labelField"/> + <Document javaBean="getLabelField().getDocument()" + onInsertUpdate='getEntryBook().setLabel(getLabelField().getText())' + onRemoveUpdate='getEntryBook().setLabel(getLabelField().getText())'/> </cell> </row> <row> <cell> - <JButton id="cancelButton" text="lima.cancel" + <JButton id="cancelButton" onActionPerformed="performCancel()"/> </cell> <cell> - <JButton id="okButton" text="lima.ok" + <JButton id="okButton" onActionPerformed="dispose()"/> </cell> Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.css 2014-09-12 13:43:26 UTC (rev 3917) @@ -0,0 +1,7 @@ +#waitDialog { + title : "lima.wait"; +} + +#waitLabel { + text : "lima.retainedEarnings.wait"; +} Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/fiscalperiod/RetainedEarningsWait.jaxx 2014-09-12 13:43:26 UTC (rev 3917) @@ -21,15 +21,18 @@ <http://www.gnu.org/licenses/gpl-3.0.html>. #L% --> -<JDialog modal="true" id="waitDialog" title="lima.importExport.waittitle"> +<JDialog id="waitDialog" + modal="true"> <Table> <row> <cell> - <org.jdesktop.swingx.JXBusyLabel id='busylabel' busy='true'/> + <org.jdesktop.swingx.JXBusyLabel id="busylabel" + busy="true"/> </cell> <cell> - <JLabel text='lima.retainedEarnings.wait'/> + <JLabel id="waitLabel" /> </cell> </row> </Table> + </JDialog> \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/importexport/ImportExportWaitView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/importexport/ImportExportWaitView.jaxx 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/importexport/ImportExportWaitView.jaxx 2014-09-12 13:43:26 UTC (rev 3917) @@ -23,7 +23,7 @@ #L% --> -<JDialog modal="true" id="waitDialog" title="lima.importExport.waittitle"> +<JDialog modal="true" id="waitDialog" title="lima.wait"> <Table> <row> <cell> 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 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-09-12 13:43:26 UTC (rev 3917) @@ -367,56 +367,60 @@ lima.financialtransaction.titleremoveentry= lima.financialtransaction.titleremovetransaction= lima.financialtransaction.voucher= +lima.fiscalPeriod.add= lima.fiscalPeriod.add.beginAfterEndFiscalPeriod= lima.fiscalPeriod.add.error.beginAfterEndFiscalPeriod= lima.fiscalPeriod.add.error.moreOneUnlockFiscalPeriod= lima.fiscalPeriod.add.error.notBeginNextDayOfLastFiscalPeriod= lima.fiscalPeriod.add.moreOneUnlockFiscalPeriod= lima.fiscalPeriod.add.notBeginNextDayOfLastFiscalPeriod= +lima.fiscalPeriod.addfiscalperiod.addfiscalperiodtitle= +lima.fiscalPeriod.addfiscalperiod.endAfterBegin= +lima.fiscalPeriod.addfiscalperiod.morethan12= +lima.fiscalPeriod.addfiscalperiodtitle= +lima.fiscalPeriod.begin= +lima.fiscalPeriod.block= +lima.fiscalPeriod.block.addretainedearnings= +lima.fiscalPeriod.block.cantBalanceIfNextPeriodNotExist= +lima.fiscalPeriod.block.cantBalanceNotBook= +lima.fiscalPeriod.block.cantBlockNotBalance= +lima.fiscalPeriod.block.confirmation= lima.fiscalPeriod.block.error.AlreadyLockedFiscalPeriod= lima.fiscalPeriod.block.error.lastUnlockedFiscalPeriod= lima.fiscalPeriod.block.error.lockedFinancialPeriod=Fiscal period from %3$te %3$tB %3$tY to %4$te %4$tB %4$tY is closed. lima.fiscalPeriod.block.error.lockedFiscalPeriod=Fiscal period closed %s -lima.fiscalPeriod.buttonback= -lima.fiscalPeriod.buttonnext= +lima.fiscalPeriod.block.newyear= +lima.fiscalPeriod.block.retainedEarnings= +lima.fiscalPeriod.block.title= +lima.fiscalPeriod.buttonback=← +lima.fiscalPeriod.buttonnext=→ +lima.fiscalPeriod.closed= +lima.fiscalPeriod.closure= lima.fiscalPeriod.defaultAccountingRules.beginAfterEndFiscalPeriodException=Fiscal period ending date must be after the begining one, begin\: %1$tm/%1$te/%1$tY end\: %1$tm/%1$te/%1$tY.\n +lima.fiscalPeriod.delete= +lima.fiscalPeriod.delete.confirmation= lima.fiscalPeriod.delete.error.noEmptyFiscalPeriod= +lima.fiscalPeriod.delete.title= +lima.fiscalPeriod.end= +lima.fiscalPeriod.entryBooks.create= +lima.fiscalPeriod.fiscalperiod= +lima.fiscalPeriod.fiscalperiod.begin= +lima.fiscalPeriod.fiscalperiod.end= +lima.fiscalPeriod.fiscalperiod.status= +lima.fiscalPeriod.form= lima.fiscalPeriod.franceAccountingRules.invalidAccountNumberException=Master account is not a digit between 1 to 8 \: %s"\n lima.fiscalPeriod.franceAccountingRules.lastUnlockedFiscalPeriodException=Current fiscal period must not be closed. lima.fiscalPeriod.franceAccountingRules.moreOneUnlockFiscalPeriodException=The ante fiscal period is not locked\: concerned fiscal period from %1$tm/%1$te/%1$tY to %1$tm/%1$te/%1$tY.\n lima.fiscalPeriod.franceAccountingRules.noEmptyFiscalPeriodException=The fiscal period is not empty \! lima.fiscalPeriod.franceAccountingRules.notBeginNextDayOfLastFiscalPeriodException=The new fiscal period must adjoining the last\: concerned fiscal period from %1$tm/%1$te/%1$tY to %1$tm/%1$te/%1$tY.\n lima.fiscalPeriod.franceAccountingRules.notNumberAccountNumberException=Account Number that doesn't start with 4 have to be numeric\: %s"\n +lima.fiscalPeriod.modifyfiscalperiodtitle= +lima.fiscalPeriod.open= +lima.fiscalPeriod.remove= +lima.fiscalPeriod.status= +lima.fiscalPeriod.unbalancedtransactions=Fiscal Period has unbalanced transactions +lima.fiscalPeriod.update= lima.fiscalYears= -lima.fiscalperiod.addfiscalperiod.addfiscalperiodtitle= -lima.fiscalperiod.addfiscalperiod.endAfterBegin= -lima.fiscalperiod.addfiscalperiod.morethan12= -lima.fiscalperiod.addfiscalperiodtitle= -lima.fiscalperiod.begin= -lima.fiscalperiod.block.addretainedearnings= -lima.fiscalperiod.block.cantBalanceIfNextPeriodNotExist= -lima.fiscalperiod.block.cantBalanceNotBook= -lima.fiscalperiod.block.cantBlockNotBalance= -lima.fiscalperiod.block.confirmation= -lima.fiscalperiod.block.newyear= -lima.fiscalperiod.block.retainedearningstitle= -lima.fiscalperiod.block.title= -lima.fiscalperiod.buttonback=← -lima.fiscalperiod.buttonnext=→ -lima.fiscalperiod.closed= -lima.fiscalperiod.closure= -lima.fiscalperiod.delete.confirmation= -lima.fiscalperiod.delete.title= -lima.fiscalperiod.end= -lima.fiscalperiod.entrybooks.create= -lima.fiscalperiod.fiscalperiod= -lima.fiscalperiod.fiscalperiod.begin= -lima.fiscalperiod.fiscalperiod.end= -lima.fiscalperiod.fiscalperiod.status= -lima.fiscalperiod.modifyfiscalperiodtitle= -lima.fiscalperiod.open= -lima.fiscalperiod.status= -lima.fiscalperiod.unbalancedtransactions=Fiscal Period has unbalanced transactions lima.fullscreen= lima.generateHtml= lima.help= @@ -539,7 +543,6 @@ lima.importExport.vatStatement=VTA transactions import completed. lima.importExport.vatstatements=VAT chart lima.importExport.wait=Job in progress… -lima.importExport.waittitle= lima.info=Information lima.init.closed=Lima closed at %1$s lima.init.errorclosing=Error during Lima close @@ -663,6 +666,7 @@ lima.vatstatement.label=Label lima.vatstatement.mastervatstatement= lima.vatstatement.movement.add=Add movement +lima.wait= lima.warning.nimbus.landf=Could not find Numbus Look&Feel limma.config.thousandseparator.description= limma.config.thousandseparator.label= Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-09-12 10:26:43 UTC (rev 3916) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-09-12 13:43:26 UTC (rev 3917) @@ -53,11 +53,7 @@ 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.fiscalperiod.delete=Supprimer un exercice -lima.charts.fiscalperiod.update=Modifier la date de fin de l'exercice +lima.charts.fiscalperiod.create= lima.charts.fiscalyear=Exercices lima.charts.vatpdf=Import du pdf lima.charts.vatstatement=Plan TVA @@ -342,48 +338,53 @@ lima.financialtransaction.titleremoveentry=Suppression lima.financialtransaction.titleremovetransaction=Suppression lima.financialtransaction.voucher=Pièce comptable +lima.fiscalPeriod.add=Nouvel exercice (Ctrl+A) lima.fiscalPeriod.add.error.beginAfterEndFiscalPeriod=Le date de fin de l'exercice (%2$te/%2$tm/%2$tY) doit être postérieur à la date de début (%1$te/%1$tm/%1$tY) lima.fiscalPeriod.add.error.moreOneUnlockFiscalPeriod=Il existe déjà %1s exercices non clôturés. lima.fiscalPeriod.add.error.notBeginNextDayOfLastFiscalPeriod=La date de début de l'exercice doit suivre la date de fin de l'exercice précédent le %1$te/%1$tm/%1$tY +lima.fiscalPeriod.addfiscalperiod.morethan12=La période sélectionnée n'est pas de 12 mois, voulez-vous continuer ? +lima.fiscalPeriod.addfiscalperiodtitle=Nouvel exercice +lima.fiscalPeriod.begin=Début +lima.fiscalPeriod.block=Cloturer un exercice (Ctrl+C) +lima.fiscalPeriod.block.addretainedearnings=Reporter à nouveau? +lima.fiscalPeriod.block.cantBalanceIfNextPeriodNotExist=Impossible de créer le report à nouveaux. L'exercice fiscal suivant n'existe pas +lima.fiscalPeriod.block.cantBalanceNotBook=Impossible de créer le report à nouveaux. aucun journal n'est selectioné. +lima.fiscalPeriod.block.cantBlockNotBalance=Impossible de clôturer un exercice non equilibré +lima.fiscalPeriod.block.confirmation=Ètes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! lima.fiscalPeriod.block.error.AlreadyLockedFiscalPeriod=L'exercice est déjà clôturés lima.fiscalPeriod.block.error.lastUnlockedFiscalPeriod=L'exercice prédent doit être clôturé lima.fiscalPeriod.block.error.lockedFinancialPeriod=La période fiscale du %3$te %3$tB %3$tY au %4$te %4$tB %4$tY est cloturée. lima.fiscalPeriod.block.error.lockedFiscalPeriod=L'exercice ést clôturé %s +lima.fiscalPeriod.block.newyear=Voulez vous créer un nouvel exercice? +lima.fiscalPeriod.block.retainedEarnings=Report à nouveau +lima.fiscalPeriod.block.title=Cloture de l'exercice lima.fiscalPeriod.buttonback=← lima.fiscalPeriod.buttonnext=→ +lima.fiscalPeriod.closed=Cloturé +lima.fiscalPeriod.closure=Cloture +lima.fiscalPeriod.create=Choisissez la date de début et de fin du nouvel exercice lima.fiscalPeriod.defaultAccountingRules.beginAfterEndFiscalPeriodException=La date de début doit être avant la date de fin, debut\: %1$te/%1$tm/%1$tY fin\: %1$te/%1$tm/%1$tY.\n +lima.fiscalPeriod.delete=Supprimer un exercice (Suppr) +lima.fiscalPeriod.delete.confirmation=Ètes vous sûre de vouloir supprimer cette période ? Cette action est irréversible \! lima.fiscalPeriod.delete.error.noEmptyFiscalPeriod=Impossible de supprimer un exercice avec des transactions (%1$s). +lima.fiscalPeriod.delete.title=Suppression de l'exercice +lima.fiscalPeriod.end=Fin +lima.fiscalPeriod.entryBooks.create=Création d'un nouveau journal +lima.fiscalPeriod.fiscalperiod=Exercice +lima.fiscalPeriod.form=Exercice lima.fiscalPeriod.franceAccountingRules.invalidAccountNumberException=Le numéro du compte général n'est pas compris entre 1 et 8 \: %s\n lima.fiscalPeriod.franceAccountingRules.lastUnlockedFiscalPeriodException=Impossible de clore la dernière période fiscale ouverte. lima.fiscalPeriod.franceAccountingRules.moreOneUnlockFiscalPeriodException=Le nombre maximal d'exercices ouverts est déjà ateint\: periode fiscale concernée du %1$te/%1$tm/%1$tY au %1$te/%1$tm/%1$tY.\n lima.fiscalPeriod.franceAccountingRules.noEmptyFiscalPeriodException=La période fiscale à supprimer n'est pas vide \! lima.fiscalPeriod.franceAccountingRules.notBeginNextDayOfLastFiscalPeriodException=La nouvelle période fiscale doit suivre la précédente\: periode fiscale concernée du %1$te/%1$tm/%1$tY au %1$te/%1$tm/%1$tY.\n lima.fiscalPeriod.franceAccountingRules.notNumberAccountNumberException=Un numéro de compte ne commençant pas par 4 doit être numérique \: %s\n +lima.fiscalPeriod.modifyfiscalperiodtitle=Modification de l'exercice +lima.fiscalPeriod.open=Ouvert +lima.fiscalPeriod.remove= +lima.fiscalPeriod.status=Statut +lima.fiscalPeriod.unbalancedtransactions=La période fiscale contient des transactions non équilibrées +lima.fiscalPeriod.update=Modifier la date de fin de l'exercice (Ctrl+M) lima.fiscalYears=Exercices -lima.fiscalperiod.addfiscalperiod.morethan12=La période sélectionnée n'est pas de 12 mois, voulez-vous continuer ? -lima.fiscalperiod.addfiscalperiodtitle=Nouvel exercice -lima.fiscalperiod.begin=Début -lima.fiscalperiod.block.addretainedearnings=Reporter à nouveau? -lima.fiscalperiod.block.cantBalanceIfNextPeriodNotExist=Impossible de créer le report à nouveaux. L'exercice fiscal suivant n'existe pas -lima.fiscalperiod.block.cantBalanceNotBook=Impossible de créer le report à nouveaux. aucun journal n'est selectioné. -lima.fiscalperiod.block.cantBlockNotBalance=Impossible de clôturer un exercice non equilibré -lima.fiscalperiod.block.confirmation=Ètes vous sûre de vouloir clôturer cette période ? Cette action est irréversible \! -lima.fiscalperiod.block.newyear=Voulez vous créer un nouvel exercice? -lima.fiscalperiod.block.retainedearningstitle=Report à nouveau -lima.fiscalperiod.block.title=Cloture de l'exercice -lima.fiscalperiod.buttonback=← -lima.fiscalperiod.buttonnext=→ -lima.fiscalperiod.closed=Cloturé -lima.fiscalperiod.closure=Cloture -lima.fiscalperiod.delete.confirmation=Ètes vous sûre de vouloir supprimer cette période ? Cette action est irréversible \! -lima.fiscalperiod.delete.title=Suppression de l'exercice -lima.fiscalperiod.end=Fin -lima.fiscalperiod.entrybooks.create=Création d'un nouveau journal -lima.fiscalperiod.fiscalperiod=Exercice -lima.fiscalperiod.modifyfiscalperiodtitle=Modification de l'exercice -lima.fiscalperiod.open=Ouvert -lima.fiscalperiod.status=Statut -lima.fiscalperiod.unbalancedtransactions=La période fiscale contient des transactions non équilibrées lima.generateHtml=HTML lima.help=Aide lima.help.about=À Propos @@ -475,7 +476,6 @@ lima.importExport.usevatpdf=Êtes-vous sûr de vouloir utiliser ce pdf pour la déclaration de TVA ? lima.importExport.vatStatement=des transactions de tva terminé. lima.importExport.wait=Traitement en cours… -lima.importExport.waittitle=Traitement en cours lima.info=Information lima.init.closed=Lima fermé à %1$s lima.init.errorclosing=Erreur lors de la fermeture @@ -585,6 +585,7 @@ lima.vatstatement.label=Libellé lima.vatstatement.mastervatstatement= lima.vatstatement.movement.add=Ajouter un regrouprement +lima.wait=Traitement en cours lima.warning.nimbus.landf=Le look and feel nymbus n'a pas été trouvé limma.config.thousandseparator.description=Caractère de séparation entre les blocs de milliers limma.config.thousandseparator.label=Séparateur de milliers
participants (1)
-
sbavencoff@users.chorem.org