r3875 - in trunk: . lima-swing/src/main/java/org/chorem/lima/ui lima-swing/src/main/java/org/chorem/lima/ui/home lima-swing/src/main/java/org/chorem/lima/ui/opening lima-swing/src/main/resources/i18n lima-swing/src/main/resources/icons
Author: sbavencoff Date: 2014-07-30 17:38:53 +0200 (Wed, 30 Jul 2014) New Revision: 3875 Url: http://forge.chorem.org/projects/lima/repository/revisions/3875 Log: refs #875 #1043 : mainview Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.css trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalYearsPane.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.css trunk/lima-swing/src/main/resources/icons/action-accounts.png trunk/lima-swing/src/main/resources/icons/action-entries.png trunk/lima-swing/src/main/resources/icons/action-entryBooks.png trunk/lima-swing/src/main/resources/icons/action-export.png trunk/lima-swing/src/main/resources/icons/action-financialPeriods.png trunk/lima-swing/src/main/resources/icons/action-financialStatements.png trunk/lima-swing/src/main/resources/icons/action-fiscalPeriods.png trunk/lima-swing/src/main/resources/icons/action-import.png trunk/lima-swing/src/main/resources/icons/action-vatStatements.png trunk/lima-swing/src/main/resources/icons/entryBooks.png trunk/lima-swing/src/main/resources/icons/fiscalYears.png Removed: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalPeriodsPane.java trunk/lima-swing/src/main/resources/icons/action-charts-accounts.png trunk/lima-swing/src/main/resources/icons/action-charts-entrybooks.png trunk/lima-swing/src/main/resources/icons/action-charts-financialperiod.png trunk/lima-swing/src/main/resources/icons/action-charts-financialstatements.png trunk/lima-swing/src/main/resources/icons/action-charts-fiscalperiod.png trunk/lima-swing/src/main/resources/icons/action-charts-vatstatements.png trunk/lima-swing/src/main/resources/icons/action-entries-balanced.png trunk/lima-swing/src/main/resources/icons/action-export-element.png trunk/lima-swing/src/main/resources/icons/action-import-element.png trunk/lima-swing/src/main/resources/icons/entrybooks.png trunk/lima-swing/src/main/resources/icons/fiscalperiods.png Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/AccountsPane.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/EntryBooksPane.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/opening/OpeningView.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 trunk/pom.xml Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.css 2014-07-30 15:38:53 UTC (rev 3875) @@ -0,0 +1,15 @@ +#tab { + opaque : false; +} + +#label { + opaque : false; + font-size : 12; +} + +#closeTab { + opaque : true; + border : {BorderFactory.createEmptyBorder()}; + focusPainted : false; + actionIcon : closeTab; +} \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.jaxx 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/ClosableTabHeader.jaxx 2014-07-30 15:38:53 UTC (rev 3875) @@ -22,32 +22,18 @@ <http://www.gnu.org/licenses/gpl-3.0.html>. #L% --> -<Table insets='0,0,0,0' opaque='false'> +<JPanel id="tab"> <import> - java.awt.Dimension + javax.swing.BorderFactory </import> <String id="title" javaBean='null'/> <Boolean id="canClose" javaBean='true'/> - <row fill='both'> - <cell anchor='west' weightx="1" insets='0,0,0,0'> - <JLabel id='label' opaque='false' font-size='12' - verticalAlignment='center' verticalTextPosition='0' - text='{getTitle()}'/> - </cell> - <cell anchor='east' insets='2,15,0,0' weighty='0'> - <JButton id='closeTab' preferredSize='{new Dimension(16,16)}' - verticalAlignment='0' - verticalTextPosition='0' - opaque='true' - borderPainted='false' - focusPainted='false' - enabled='{isCanClose()}' - horizontalTextPosition='0' - actionIcon='closeTab' - /> - </cell> - </row> -</Table> + + <JLabel id='label' + text='{getTitle()}'/> + <JButton id='closeTab' + enabled='{isCanClose()}'/> +</JPanel> Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css 2014-07-30 15:38:53 UTC (rev 3875) @@ -0,0 +1,80 @@ + +#mainView { + title : "lima.ui.mainview.title"; + width : 800; + height : 600; + resizable : true; + extendedState : "{this.MAXIMIZED_BOTH}" ; + iconImage : "puzzle_icon.png"; +} + +#file{ text : "lima.file"; mnemonic : "F"; } + +#csv { text : "lima.importExport.csv"; } + +#csvImport { text : "lima.importExport.import"; actionIcon : "import"; } +#csvImportAll { text : "lima.importExport.all"; } +#csvImportAccounts { text : "lima.accounts.plan"; actionIcon : "accounts"; } +#csvImportEntryBooks { text : "lima.entryBooks"; actionIcon : "entryBooks"; } +#csvImportFinancialStatements { text : "lima.financialStatements"; actionIcon : "financialStatements"; } +#csvImportVatStatements { text : "lima.vatStatements"; actionIcon : "vatStatements"; } +#csvImportEntries { text : "lima.entries"; actionIcon : "entries" } + +#csvExport { text : "lima.importExport.export"; actionIcon : "export"; } +#csvExportAll { text : "lima.importExport.all"; } +#csvExportAccounts { text : "lima.accounts.plan"; actionIcon : "accounts"; } +#csvExportEntryBooks { text : "lima.entryBooks"; actionIcon : "entryBooks"; } +#csvExportFinancialStatements { text : "lima.financialStatements"; actionIcon : "financialStatements"; } +#csvExportVatStatements { text : "lima.vatStatements"; actionIcon : "vatStatements"; } +#csvExportEntries { text : "lima.entries"; actionIcon : "entries" } + + +#ebp { text : "lima.importExport.ebp"; } + +#ebpImport { text : "lima.importExport.import"; actionIcon : "import"; } +#ebpImportAccounts { text : "lima.accounts.plan"; actionIcon : "accounts"; } +#ebpImportEntryBooks { text : "lima.entryBooks"; actionIcon : "entryBooks"; } +#ebpImportEntries { text : "lima.entries"; actionIcon : "entries" } + +#ebpExport { text : "lima.importExport.export"; actionIcon : "export"; } +#ebpExportAccounts { text : "lima.accounts.plan"; actionIcon : "accounts"; } +#ebpExportEntryBooks { text : "lima.entryBooks"; actionIcon : "entryBooks"; } +#ebpExportEntries { text : "lima.entries"; actionIcon : "entries" } + +#documents { text : "lima.documents" } +#identity { text : "lima.identity"; actionIcon : "identity"; } +#preferences { text : "lima.preferences"; actionIcon : "config"; } +#quit { text : "lima.common.quit"; actionIcon : "quit"; mnemonic : "Q"; } + + +#structure { text : "lima.structure"; mnemonic : "S"; } + +#accounts { text : "lima.accounts.plan"; actionIcon : "accounts"; } +#entryBooks { text : "lima.entryBooks"; actionIcon : "entryBooks"; } +#fiscalYears { text : "lima.fiscalYears"; actionIcon : "fiscalPeriods"; } +#financialPeriods { text : "lima.financialPeriods"; actionIcon : "financialPeriods"; } +#financialStatements { text : "lima.financialStatements"; actionIcon : "financialStatements"; } +#vatStatements { text : "lima.vatStatements"; actionIcon : "vatStatements"; } + + +#enter { text : "lima.enterEntries"; mnemonic : "E"; } + +#entries { text : "lima.entries.enter"; actionIcon : "entries"; } +#unbalanced { text : "lima.entries.unbalanced"; actionIcon : "entries-unbalanced"; } +#search { text : "lima.entries.search"; actionIcon : "entries-search"; } +#lettering { text : "lima.entries.lettering"; actionIcon : "lettering"; } + + +#help { text : "lima.help"; mnemonic : "H"; } + +#site { text : "lima.help.site"; actionIcon : "site"; } +#about { text : "lima.help.about"; actionIcon : "about"; } +#i18n { text : "lima.help.i18n"; actionIcon : "translate"; mnemonic : "L"; } +#fr { text : "lima.help.i18n.fr"; actionIcon : "i18n-fr"; } +#uk { text : "lima.help.i18n.uk"; actionIcon : "i18n-uk"; } + + + + + + Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.jaxx 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainView.jaxx 2014-07-30 15:38:53 UTC (rev 3875) @@ -23,11 +23,9 @@ #L% --> -<JFrame title="lima.ui.mainview.title" onWindowClosing="getHandler().close(this)" - defaultCloseOperation="do_nothing_on_close" - resizable="true" width="800" height="600" - extendedState='{this.MAXIMIZED_BOTH}' - iconImage='puzzle_icon.png'> +<JFrame id="mainView" + onWindowClosing="getHandler().close(this)" + defaultCloseOperation="do_nothing_on_close"> <import> java.util.Locale @@ -60,142 +58,119 @@ <JMenuBar> - <JMenu text="lima.menu.file"> - <JMenu text="lima.ui.importexport.csv"> - <JMenu text="lima.ui.importexport.import" actionIcon='import-element'> - <JMenuItem text="lima.ui.importexport.all" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ALL_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.entrybooks" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRYBOOKS_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.accountcharts" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ACCOUNTCHARTS_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.financialtransactions" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRIES_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.financialstatements" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_FINANCIALSTATEMENTS_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.vatstatements" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_VAT_IMPORT)'/> + <JMenu id="file"> + <JMenu id="csv"> + <JMenu id="csvImport"> + <JMenuItem id="csvImportAll" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ALL_IMPORT)"/> + <JMenuItem id="csvImportaccounts" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ACCOUNTCHARTS_IMPORT)"/> + <JMenuItem id="csvImportEntryBooks" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRYBOOKS_IMPORT)"/> + <JMenuItem id="csvImportFinancialStatements" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_FINANCIALSTATEMENTS_IMPORT)"/> + <JMenuItem id="csvImportVatStatements" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_VAT_IMPORT)"/> + <JMenuItem id="csvImportEntries" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRIES_IMPORT)"/> </JMenu> - <JMenu text="lima.ui.importexport.export" actionIcon='export-element'> - <JMenuItem text="lima.ui.importexport.all" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ALL_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.entrybooks" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRYBOOKS_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.accountcharts" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ACCOUNTCHARTS_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.financialtransactions" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRIES_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.financialstatements" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_FINANCIALSTATEMENTS_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.vatstatements" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.CSV_VAT_EXPORT)'/> + <JMenu id="csvExport"> + <JMenuItem id="csvExportAll" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ALL_EXPORT)"/> + <JMenuItem id="csvExportAccounts" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ACCOUNTCHARTS_EXPORT)"/> + <JMenuItem id="csvExportEntryBooks" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRYBOOKS_EXPORT)"/> + <JMenuItem id="csvExportFinancialStatements" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_FINANCIALSTATEMENTS_EXPORT)"/> + <JMenuItem id="csvExportVatStatements" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_VAT_EXPORT)"/> + <JMenuItem id="csvExportEntries" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.CSV_ENTRIES_EXPORT)"/> </JMenu> </JMenu> - <JMenu text="lima.ui.importexport.ebp"> - <JMenu text="lima.ui.importexport.import" actionIcon='import-element'> - <JMenuItem text="lima.ui.importexport.entrybooks" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRYBOOKS_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.accountcharts" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ACCOUNTCHARTS_IMPORT)'/> - <JMenuItem text="lima.ui.importexport.entries" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRIES_IMPORT)'/> + <JMenu id="ebp"> + <JMenu id="ebpImport"> + <JMenuItem id="ebpImportAccounts" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ACCOUNTCHARTS_IMPORT)"/> + <JMenuItem id="ebpImportEntryBooks" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRYBOOKS_IMPORT)"/> + <JMenuItem id="ebpImportEntries" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRIES_IMPORT)"/> </JMenu> - <JMenu text="lima.ui.importexport.export" actionIcon='export-element'> - <JMenuItem text="lima.ui.importexport.entrybooks" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRYBOOKS_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.accountcharts" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ACCOUNTCHARTS_EXPORT)'/> - <JMenuItem text="lima.ui.importexport.entries" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRIES_EXPORT)'/> + <JMenu id="ebpExport"> + <JMenuItem id="ebpExportAccounts" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ACCOUNTCHARTS_EXPORT)"/> + <JMenuItem id="ebpExportEntryBooks" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRYBOOKS_EXPORT)"/> + <JMenuItem id="ebpExportEntries" + onActionPerformed="getHandler().showImportExportView(this, ImportExportEnum.EBP_ENTRIES_EXPORT)"/> </JMenu> </JMenu> <JSeparator/> - <JMenuItem actionIcon='documents' text="lima.documents" + <JMenuItem id="documents" onActionPerformed="getHandler().loadURI(this)"/> <JSeparator/> - <JMenuItem text="lima.identity" - actionIcon="identity" + <JMenuItem id="identity" onActionPerformed="getHandler().showIdentity(this)"/> - <JMenuItem text="lima.preferences" - actionIcon="config" + <JMenuItem id="preferences" onActionPerformed="getHandler().showConfig(this)"/> <JSeparator/> - <JMenuItem mnemonic="{'Q'}" - actionIcon='quit' - text="lima.common.quit" - onActionPerformed='getHandler().close(this)'/> + <JMenuItem id="quit" + onActionPerformed="getHandler().close(this)"/> </JMenu> - <JMenu text="lima.structure" mnemonic="{'S'}"> - <JMenuItem text="lima.charts.account" - onActionPerformed='getHandler().showAccountView(this)' - actionIcon='charts-accounts'/> - <JMenuItem text="lima.common.entrybooks" - onActionPerformed='getHandler().showEntryBookView(this)' - actionIcon='charts-entrybooks'/> - <JMenuItem text="lima.charts.fiscalyear" - onActionPerformed='getHandler().showFiscalPeriodView(this)' - actionIcon='charts-fiscalperiod'/> - <JMenuItem text="lima.charts.financialperiod" - onActionPerformed='getHandler().showFinancialPeriodView(this)' - actionIcon='charts-financialperiod'/> - <JMenuItem text="lima.charts.financialstatement" - onActionPerformed='getHandler().showFinancialStatementView(this)' - actionIcon='charts-financialstatements'/> - <JMenu text="lima.charts.vatstatement" actionIcon='charts-vatstatements'> - <JMenuItem text="lima.charts.vatstatement" - onActionPerformed='getHandler().showVatChartView(this)' - actionIcon='charts-vatstatements'/> - <JMenuItem text="lima.charts.vatpdf" - onActionPerformed='getHandler().showImportExportView(this, ImportExportEnum.PDF_VAT_IMPORT)' - actionIcon='charts-vatstatements'/> - </JMenu> + <JMenu id="structure"> + <JMenuItem id="accounts" + onActionPerformed="getHandler().showAccountView(this)"/> + <JMenuItem id="entryBooks" + onActionPerformed="getHandler().showEntryBookView(this)"/> + <JMenuItem id="fiscalYears" + onActionPerformed="getHandler().showFiscalPeriodView(this)"/> + <JMenuItem id="financialPeriods" + onActionPerformed="getHandler().showFinancialPeriodView(this)"/> + <JMenuItem id="financialStatements" + onActionPerformed="getHandler().showFinancialStatementView(this)"/> + <JMenuItem id="vatStatements" + onActionPerformed="getHandler().showVatChartView(this)"/> </JMenu> - <JMenu text="lima.entries" mnemonic="{'E'}"> - <JMenuItem text="lima.entries.writetransaction" - onActionPerformed='getHandler().showTransactionView(this)' - actionIcon='entries-balanced'/> - <JMenuItem text="lima.entries.searchunbalancedtransaction" - onActionPerformed='getHandler().showTransactionUnbalancedView(this)' - actionIcon='entries-unbalanced'/> - <JMenuItem text="lima.entries.searchtransaction" - onActionPerformed='getHandler().showTransactionSearchView(this)' - actionIcon='entries-search'/> - <JMenuItem text="lima.entries.lettering" - onActionPerformed='getHandler().showLetteringView(this)' - actionIcon='lettering'/> + <JMenu id="enter"> + <JMenuItem id="entries" + onActionPerformed="getHandler().showTransactionView(this)"/> + <JMenuItem id="unbalanced" + onActionPerformed="getHandler().showTransactionUnbalancedView(this)"/> + <JMenuItem id="search" + onActionPerformed="getHandler().showTransactionSearchView(this)"/> + <JMenuItem id="lettering" + onActionPerformed="getHandler().showLetteringView(this)"/> </JMenu> - <JMenu text="lima.menu.help" mnemonic="{'H'}"> - - <!--<JMenuItem id="help" text='lima.menu.help.help' actionIcon="help"--> - <!--onActionPerformed="getHandler().showHelp(this, null)"/>--> - - <JMenuItem id="site" text='lima.menu.help.site' actionIcon="site" + <JMenu id="help"> + <JMenuItem id="site" onActionPerformed="getHandler().gotoSite(this)"/> - - <JMenuItem id="about" text='lima.menu.help.about' actionIcon="about" + <JMenuItem id="about" onActionPerformed="getHandler().showAbout(this)"/> - <JMenu text='lima.menu.help.i18n' mnemonic="{'L'}" actionIcon="translate"> - - <JMenuItem id="i18n_fr" actionIcon="i18n-fr" - text='lima.menu.help.i18n.fr' - enabled='{!acceptLocale(getConfig().getLocale(), "fr_FR")}' + <JMenu id="i18n"> + <JMenuItem id="fr" + enabled="{!acceptLocale(getConfig().getLocale(), "fr_FR")}" onActionPerformed="getHandler().changeLanguage(this, Locale.FRANCE)"/> - - <JMenuItem id="i18n_en" actionIcon="i18n-uk" - text='lima.menu.help.i18n.uk' - enabled='{!acceptLocale(getConfig().getLocale(), "en_GB")}' + <JMenuItem id="uk" + enabled="{!acceptLocale(getConfig().getLocale(), "en_GB")}" onActionPerformed="getHandler().changeLanguage(this, Locale.UK)"/> - </JMenu> + </JMenu> + </JMenuBar> <BetaLayerUI id="betaLayer" /> - <JPanel id="mainPanel" layout='{new BorderLayout()}' decorator="boxed"> - <JTabbedPane id="contentTabbedPane" constraints="BorderLayout.CENTER" onStateChanged="getHandler().swingSession.save()"/> + <JPanel id="mainPanel" + layout="{new BorderLayout()}" + decorator="boxed"> + <JTabbedPane id="contentTabbedPane" + constraints="BorderLayout.CENTER" + onStateChanged="getHandler().swingSession.save()"/> </JPanel> </JFrame> Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -280,8 +280,8 @@ public void showAbout(JAXXContext context) { MainView ui = getUI(context); AboutPanel about = new AboutPanel(); - about.setTitle(t("lima.title.about")); - about.setAboutText(t("lima.title.about.description")); + about.setTitle(t("lima.help.about.title")); + about.setAboutText(t("lima.help.about.title.description")); about.setBottomText(ui.getConfig().getCopyrightText()); about.setIconPath("/icons/lima.png"); about.setLicenseFile("META-INF/lima-LICENSE.txt"); @@ -295,10 +295,10 @@ translateArea.setFont(translateArea.getFont().deriveFont((float) 11)); } translateArea.setBorder(null); - String text = t("lima.about.translate.content"); + String text = t("lima.help.about.translate.content"); translateArea.setText(text); component.getViewport().add(translateArea); - about.getTabs().add(t("lima.title.about.translate"), component); + about.getTabs().add(t("lima.help.about.translate.title"), component); about.init(); about.showInDialog(ui, true); } @@ -362,7 +362,7 @@ public void showHomeView(JAXXContext rootContext) { MainView mainView = getUI(rootContext); HomeView homeView = new HomeView(mainView); - showTab(mainView, t("lima.tab.home"), homeView, false); + showTab(mainView, t("lima.home"), homeView, false); } public void showIdentity(JAXXContext rootContext) { @@ -380,7 +380,7 @@ public void showAccountView(JAXXContext rootContext) { MainView mainView = getUI(rootContext); AccountView accountView = new AccountView(mainView); - showTab(mainView, t("lima.charts.account"), accountView); + showTab(mainView, t("lima.accounts"), accountView); swingSession.add(accountView); } @@ -392,7 +392,7 @@ public void showEntryBookView(JAXXContext rootContext) { MainView mainView = getUI(rootContext); EntryBookView entryBookView = new EntryBookView(mainView); - showTab(mainView, t("lima.common.entrybooks"), entryBookView); + showTab(mainView, t("lima.entryBooks"), entryBookView); swingSession.add(entryBookView); } @@ -404,7 +404,7 @@ public void showFiscalPeriodView(JAXXContext rootContext) { MainView mainView = getUI(rootContext); FiscalPeriodView fiscalPeriodView = new FiscalPeriodView(mainView); - showTab(mainView, t("lima.charts.fiscalyear"), fiscalPeriodView); + showTab(mainView, t("lima.fiscalYears"), fiscalPeriodView); swingSession.add(fiscalPeriodView); } @@ -417,7 +417,7 @@ MainView mainView = getUI(rootContext); FinancialPeriodView financialPeriodView = new FinancialPeriodView(mainView); - showTab(mainView, t("lima.charts.financialperiod"), financialPeriodView); + showTab(mainView, t("lima.financialPeriods"), financialPeriodView); swingSession.add(financialPeriodView); } @@ -430,7 +430,7 @@ MainView mainView = getUI(rootContext); FinancialStatementChartView financialStatementView = new FinancialStatementChartView(mainView); - showTab(mainView, t("lima.charts.financialstatement"), financialStatementView); + showTab(mainView, t("lima.financialStatements"), financialStatementView); swingSession.add(financialStatementView); } @@ -442,7 +442,7 @@ public void showVatChartView(JAXXContext rootContext) { MainView mainView = getUI(rootContext); VatChartView vatChartView = new VatChartView(mainView); - showTab(mainView, t("lima.charts.vatstatement"), vatChartView); + showTab(mainView, t("lima.vatStatements"), vatChartView); swingSession.add(vatChartView); } @@ -455,7 +455,7 @@ MainView mainView = getUI(rootContext); FinancialTransactionView transactionView = new FinancialTransactionView(mainView); - showTab(mainView, t("lima.entries.writetransaction"), + showTab(mainView, t("lima.entries.enter"), transactionView); swingSession.add(transactionView); } @@ -464,7 +464,7 @@ MainView mainView = getUI(rootContext); FinancialTransactionUnbalancedView searchResultView = new FinancialTransactionUnbalancedView(mainView); - showTab(mainView, t("lima.entries.searchunbalancedtransaction"), + showTab(mainView, t("lima.entries.unbalanced"), searchResultView); swingSession.add(searchResultView); } @@ -473,7 +473,7 @@ MainView mainView = getUI(rootContext); FinancialTransactionSearchView searchView = new FinancialTransactionSearchView(mainView); - showTab(mainView, t("lima.entries.searchtransaction"), searchView); + showTab(mainView, t("lima.entries.search"), searchView); swingSession.add(searchView); } Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/AccountsPane.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/AccountsPane.java 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/AccountsPane.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -86,17 +86,16 @@ long accountCount = accountService.getAccountCount(); if (accountCount > 0) { setBackground(GREEN_BACKGROUND); - String accountsString = t("lima.ui.home.chartaccounts.state1_2") + " " - + accountCount + " " + t("lima.ui.home.chartaccounts.state2_2") + String accountsString = t("lima.home.accounts.info", accountCount) + "<br/><br/><a href='#accountschart'>" - + t("lima.ui.home.chartaccounts.modify") + "</a>"; + + t("lima.home.accounts.modify") + "</a>"; //set Text setText(htmlBegin + accountsString + htmlEnd); } else { setBackground(RED_BACKGROUND); - String accountsString = t("lima.ui.home.chartaccounts.nothing") + String accountsString = t("lima.home.accounts.nothing") + "<br/><br/><a href='#accountschart'>" - + t("lima.ui.home.chartaccounts.create") + "</a>"; + + t("lima.home.accounts.create") + "</a>"; //set Text setText(htmlBegin + accountsString + htmlEnd); } Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/EntryBooksPane.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/EntryBooksPane.java 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/EntryBooksPane.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -91,15 +91,13 @@ setBackground(GREEN_BACKGROUND); String entryBooksString; if (ebSize == 1) { - entryBooksString = t("lima.ui.home.entrybooks.state.single") + entryBooksString = t("lima.home.entryBooks.info.one", ebSize) + "<br/>" + entryBooks.get(0).getLabel() + "<br/><br/><a href='#entrybookschart'>" - + t("lima.ui.home.entrybooks.modify") + "</a>"; + + t("lima.home.entryBooks.modify") + "</a>"; } else { - entryBooksString = t("lima.ui.home.entrybooks.state1_2.plural") - + " " + entryBooks.size() + " " - + t("lima.ui.home.entrybooks.state2_2.plural") + "<ul>"; + entryBooksString = t("lima.home.entryBooks.info", ebSize) + "<ul>"; for (int i = 0; i < ebSize && i < 3; i++) { // for (EntryBook entryBook : entryBooks) { EntryBook entryBook = entryBooks.get(i); @@ -111,7 +109,7 @@ } entryBooksString += "</ul></p><p horizontal-align:'center'>" + "<a href='#entrybookschart'>" - + t("lima.ui.home.entrybooks.modify") + "</a>"; + + t("lima.home.entryBooks.modify") + "</a>"; } //set Text setText(htmlBegin + entryBooksString + htmlEnd); @@ -119,9 +117,9 @@ setBackground(RED_BACKGROUND); //set Text setText(htmlBegin - + t("lima.ui.home.entrybooks.nothing") + + t("lima.home.entryBooks.nothing") + "<br/><br/><a href='#entrybookschart'>" - + t("lima.ui.home.entrybooks.create") + "</a>" + htmlEnd); + + t("lima.home.entryBooks.create") + "</a>" + htmlEnd); } } Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -111,10 +111,9 @@ getAllInexactFinancialTransactions(unblockedFiscalPeriods.get(0)); if (financialTransactionsInexact.size() > 0) { setBackground(RED_BACKGROUND); - String transactionsString = financialTransactionsInexact.size() - + " " + t("lima.ui.home.transaction.inexact") + String transactionsString = t("lima.home.entries.error", financialTransactionsInexact.size()) + "<br/><br/><a href='#financialtransactionunbalanced'>" - + t("lima.ui.home.transaction.modifiy.inexact") + "</a>"; + + t("lima.home.entries.error.modify") + "</a>"; //set Text setText(htmlBegin + transactionsString + htmlEnd); } else { @@ -123,16 +122,15 @@ if (financialTransactionsBal.size() > 0) { setBackground(GREEN_BACKGROUND); - String transactionsString = financialTransactionsBal.size() - + " " + t("lima.ui.home.transaction.balanced") + String transactionsString = t("lima.home.entries.balanced", financialTransactionsBal.size()) + "<br/><br/><a href='#financialtransactionbalanced'>" - + t("lima.ui.home.transaction.modifiy.balanced") + "</a>"; + + t("lima.home.entries.modify") + "</a>"; setText(htmlBegin + transactionsString + htmlEnd); } else { setBackground(RED_BACKGROUND); - String transactionsString = t("lima.ui.home.transaction.nothing") + String transactionsString = t("lima.home.entries.nothing") + "<br/><br/><a href='#financialtransactionbalanced'>" - + t("lima.ui.home.transaction.create") + "</a>"; + + t("lima.home.entries.create") + "</a>"; setText(htmlBegin + transactionsString + htmlEnd); } Deleted: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalPeriodsPane.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalPeriodsPane.java 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalPeriodsPane.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -1,136 +0,0 @@ -/* - * #%L - * Lima Swing - * - * $Id$ - * $HeadURL$ - * %% - * 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 - * 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.home; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.chorem.lima.LimaContext; -import org.chorem.lima.business.ServiceListener; -import org.chorem.lima.business.api.FiscalPeriodService; -import org.chorem.lima.business.api.ImportService; -import org.chorem.lima.entity.FiscalPeriod; -import org.chorem.lima.service.LimaServiceFactory; -import org.chorem.lima.ui.MainView; - -import javax.swing.event.HyperlinkEvent; -import java.util.List; - -import static org.nuiton.i18n.I18n.t; - -/** - * Panenl de la home view de lima qui affiche les statistiques de - * l'exercice en cours. - * - * @author chatellier - * @version $Revision$ - * - * Last update : $Date$ - * By : $Author$ - */ -public class FiscalPeriodsPane extends AbstractHomePane implements ServiceListener { - - private static final long serialVersionUID = 1L; - - private static final Log log = LogFactory.getLog(FiscalPeriodsPane.class); - - protected FiscalPeriodService fiscalPeriodService; - - /** - * Constructors (init services). - * - * @param view home view - */ - public FiscalPeriodsPane(HomeView view) { - super(view); - - fiscalPeriodService = LimaServiceFactory.getService(FiscalPeriodService.class); - LimaServiceFactory.addServiceListener(FiscalPeriodService.class, this); - LimaServiceFactory.addServiceListener(ImportService.class, this); - - refresh(); - } - - @Override - public void hyperlinkUpdate(HyperlinkEvent e) { - if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) { - if (e.getDescription().equals("#fiscalperiodschart")) { - MainView ui = LimaContext.MAIN_UI_ENTRY_DEF.getContextValue(view); - ui.getHandler().showFiscalPeriodView(ui); - } - } - } - - public void refresh() { - - log.debug("Rafraîchissement fiscal periods pane"); - - String htmlBegin = "<font face='sans-serif' size=3>" - + "<p style=vertical-align:'bottom', horizontal-align:'center'>"; - String htmlEnd = "</p></font>"; - - //FISCAL PERIOD - List<FiscalPeriod> fiscalPeriods = - fiscalPeriodService.getAllFiscalPeriods(); - List<FiscalPeriod> unblockedFiscalPeriods = - fiscalPeriodService.getAllUnblockedFiscalPeriods(); - if (unblockedFiscalPeriods.size() > 0) { - setBackground(GREEN_BACKGROUND); - String fiscalString = unblockedFiscalPeriods.size() + " " - + t("lima.ui.home.fiscalperiod.opened") + "<br/>" - + (fiscalPeriods.size() - unblockedFiscalPeriods.size()) - + " " + t("lima.ui.home.fiscalperiod.closed") - + "<br/><br/><a href='#fiscalperiodschart'>" - + t("lima.ui.home.fiscalperiod.modify") + "</a>"; - //set Text - setText(htmlBegin + fiscalString + htmlEnd); - - - } else { - setBackground(RED_BACKGROUND); - String fiscalString = t("lima.ui.home.fiscalperiod.noopen"); - if (fiscalPeriods.size() > 0) { - fiscalString += "<br/>" + fiscalPeriods.size() + " " - + t("lima.ui.home.fiscalperiod.closed"); - } - fiscalString += "<br/><br/><a href='#fiscalperiodschart'>" - + t("lima.ui.home.fiscalperiod.create") + "</a>"; - //set Text - setText(htmlBegin + fiscalString + htmlEnd); - - } - } - - @Override - public void notifyMethod(String serviceName, String methodeName) { - log.debug("Nom de la méthode : " + methodeName); - if (methodeName.contains("FiscalPeriod") || - methodeName.contains("importAll") || - methodeName.contains("importAs")) { - refresh(); - } - } - -} Copied: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalYearsPane.java (from rev 3874, trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalPeriodsPane.java) =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalYearsPane.java (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FiscalYearsPane.java 2014-07-30 15:38:53 UTC (rev 3875) @@ -0,0 +1,133 @@ +/* + * #%L + * Lima Swing + * + * $Id$ + * $HeadURL$ + * %% + * 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 + * 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.home; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.chorem.lima.LimaContext; +import org.chorem.lima.business.ServiceListener; +import org.chorem.lima.business.api.FiscalPeriodService; +import org.chorem.lima.business.api.ImportService; +import org.chorem.lima.entity.FiscalPeriod; +import org.chorem.lima.service.LimaServiceFactory; +import org.chorem.lima.ui.MainView; + +import javax.swing.event.HyperlinkEvent; +import java.util.List; + +import static org.nuiton.i18n.I18n.t; + +/** + * Panenl de la home view de lima qui affiche les statistiques de + * l'exercice en cours. + * + * @author chatellier + * @version $Revision$ + * + * Last update : $Date$ + * By : $Author$ + */ +public class FiscalYearsPane extends AbstractHomePane implements ServiceListener { + + private static final long serialVersionUID = 1L; + + private static final Log log = LogFactory.getLog(FiscalYearsPane.class); + + protected FiscalPeriodService fiscalPeriodService; + + /** + * Constructors (init services). + * + * @param view home view + */ + public FiscalYearsPane(HomeView view) { + super(view); + + fiscalPeriodService = LimaServiceFactory.getService(FiscalPeriodService.class); + LimaServiceFactory.addServiceListener(FiscalPeriodService.class, this); + LimaServiceFactory.addServiceListener(ImportService.class, this); + + refresh(); + } + + @Override + public void hyperlinkUpdate(HyperlinkEvent e) { + if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) { + if (e.getDescription().equals("#fiscalperiodschart")) { + MainView ui = LimaContext.MAIN_UI_ENTRY_DEF.getContextValue(view); + ui.getHandler().showFiscalPeriodView(ui); + } + } + } + + public void refresh() { + + log.debug("Rafraîchissement fiscal periods pane"); + + String htmlBegin = "<font face='sans-serif' size=3>" + + "<p style=vertical-align:'bottom', horizontal-align:'center'>"; + String htmlEnd = "</p></font>"; + + //FISCAL PERIOD + List<FiscalPeriod> fiscalPeriods = + fiscalPeriodService.getAllFiscalPeriods(); + List<FiscalPeriod> unblockedFiscalPeriods = + fiscalPeriodService.getAllUnblockedFiscalPeriods(); + if (unblockedFiscalPeriods.size() > 0) { + setBackground(GREEN_BACKGROUND); + String fiscalString = t("lima.home.fiscalYears.opened", unblockedFiscalPeriods.size()) + "<br/>" + + t("lima.home.fiscalYears.closed", fiscalPeriods.size() - unblockedFiscalPeriods.size()) + + "<br/><br/><a href='#fiscalperiodschart'>" + + t("lima.home.fiscalYears.modify") + "</a>"; + //set Text + setText(htmlBegin + fiscalString + htmlEnd); + + + } else { + setBackground(RED_BACKGROUND); + String fiscalString = t("lima.home.fiscalYears.noOpen"); + if (fiscalPeriods.size() > 0) { + fiscalString += "<br/>" + t("lima.home.fiscalYears.closed", fiscalPeriods.size()); + } + fiscalString += "<br/><br/><a href='#fiscalperiodschart'>" + + t("lima.home.fiscalYears.create") + "</a>"; + //set Text + setText(htmlBegin + fiscalString + htmlEnd); + + } + } + + @Override + public void notifyMethod(String serviceName, String methodeName) { + log.debug("Nom de la méthode : " + methodeName); + if (methodeName.contains("FiscalPeriod") || + methodeName.contains("importAll") || + methodeName.contains("importAs")) { + refresh(); + } + } + +} Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.css =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.css 2014-07-30 15:38:53 UTC (rev 3875) @@ -0,0 +1,49 @@ + + +.infoPanel { + border : {BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)}; + minimumSize : {new Dimension(300,150)}; + preferredSize : {new Dimension(500,220)}; +} + +#accountsIcon { + icon : "accounts.png"; +} + +#entryBooksIcon { + icon : "entryBooks.png"; +} + +#fiscalYearsIcon { + icon : "fiscalYears.png"; +} + +#entriesIcon { + icon : "entries.png"; +} + +.icon { + minimumSize : {new Dimension(48,48)}; + preferredSize : {new Dimension(48,48)}; +} + +#accountsLabel { + text : "lima.home.accounts"; +} + +#entryBooksLabel { + text : "lima.home.entryBooks"; +} + +#fiscalYearsLabel { + text : "lima.home.fiscalYears"; +} + +#entriesLabel { + text : "lima.home.entries"; +} + +.title { + foreground : {Color.DARK_GRAY}; + font : {new Font("sans-serif", Font.BOLD, 16)}; +} \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.jaxx 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/HomeView.jaxx 2014-07-30 15:38:53 UTC (rev 3875) @@ -26,31 +26,26 @@ <import> java.awt.Color java.awt.Font + java.awt.Dimension javax.swing.BoxLayout javax.swing.border.EtchedBorder jaxx.runtime.SwingUtil - static org.nuiton.i18n.I18n.t </import> - <Dimension id="fixedSize" javaBean='new Dimension(500,200)'/> - <Dimension id="miniSize" javaBean='new Dimension(300,150)'/> - <row> <cell anchor="southeast"> <JPanel id='accountPanel' - border='{BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)}' - minimumSize='{getMiniSize()}' - preferredSize='{getFixedSize()}' - layout='{new BoxLayout(accountPanel, BoxLayout.X_AXIS)}'> + styleClass="infoPanel" + layout='{new BoxLayout(accountPanel, BoxLayout.X_AXIS)}'> <Table> <row> <cell weightx="0" weighty="0.1" anchor="northwest"> - <JLabel icon='accounts.png'/> + <JLabel id="accountsIcon" + styleClass="icon"/> </cell> <cell weightx="1" weighty="0.1" anchor="center"> - <JLabel foreground='{Color.DARK_GRAY}' - font='{new Font("sans-serif", Font.BOLD, 16)}' - text='lima.ui.home.account'/> + <JLabel id="accountsLabel" + styleClass="title"/> </cell> </row> <row fill="both"> @@ -63,19 +58,17 @@ </cell> <cell anchor="southwest"> <JPanel id='entryBookPanel' - border='{BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)}' - minimumSize='{getMiniSize()}' - preferredSize='{getFixedSize()}' - layout='{new BoxLayout(entryBookPanel, BoxLayout.X_AXIS)}'> + styleClass="infoPanel" + layout='{new BoxLayout(entryBookPanel, BoxLayout.X_AXIS)}'> <Table> <row> <cell weightx="0" weighty="0.1" anchor="northwest"> - <JLabel icon='entrybooks.png'/> + <JLabel id="entryBooksIcon" + styleClass="icon"/> </cell> <cell weightx="1" weighty="0.1" anchor="center"> - <JLabel foreground='{Color.DARK_GRAY}' - font='{new Font("sans-serif", Font.BOLD, 16)}' - text='lima.ui.home.entrybooks'/> + <JLabel id="entryBooksLabel" + styleClass="title"/> </cell> </row> <row fill="both"> @@ -89,25 +82,23 @@ </row> <row> <cell anchor="northeast"> - <JPanel id='fiscalPeriodPanel' - border='{BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)}' - minimumSize='{getMiniSize()}' - preferredSize='{getFixedSize()}' - layout='{new BoxLayout(fiscalPeriodPanel, BoxLayout.X_AXIS)}'> + <JPanel id='fiscalYearsPanel' + styleClass="infoPanel" + layout='{new BoxLayout(fiscalYearsPanel, BoxLayout.X_AXIS)}'> <Table> <row> <cell weightx="0" weighty="0.1" anchor="northwest"> - <JLabel icon='fiscalperiods.png'/> + <JLabel id="fiscalYearsIcon" + styleClass="icon"/> </cell> <cell weightx="1" weighty="0.1" anchor="center"> - <JLabel foreground='{Color.DARK_GRAY}' - font='{new Font("sans-serif", Font.BOLD, 16)}' - text='lima.ui.home.fiscalyear'/> + <JLabel id="fiscalYearsLabel" + styleClass="title"/> </cell> </row> <row fill="both"> <cell columns="2" weightx="1" weighty="0.9"> - <JEditorPane initializer='new FiscalPeriodsPane(this)'/> + <JEditorPane initializer='new FiscalYearsPane(this)'/> </cell> </row> </Table> @@ -115,19 +106,17 @@ </cell> <cell anchor="northwest"> <JPanel id='financialTransactionPanel' - border='{BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)}' - minimumSize='{getMiniSize()}' - preferredSize='{getFixedSize()}' - layout='{new BoxLayout(financialTransactionPanel, BoxLayout.X_AXIS)}'> + styleClass="infoPanel" + layout='{new BoxLayout(financialTransactionPanel, BoxLayout.X_AXIS)}'> <Table> <row> <cell weightx="0" weighty="0.1" anchor="northwest"> - <JLabel icon='entries.png'/> + <JLabel id="entriesIcon" + styleClass="icon"/> </cell> <cell weightx="1" weighty="0.1" anchor="center"> - <JLabel foreground='{Color.DARK_GRAY}' - font='{new Font("sans-serif", Font.BOLD, 16)}' - text='lima.ui.home.daily'/> + <JLabel id="entriesLabel" + styleClass="title"/> </cell> </row> <row fill="both"> Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/opening/OpeningView.jaxx =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/opening/OpeningView.jaxx 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/opening/OpeningView.jaxx 2014-07-30 15:38:53 UTC (rev 3875) @@ -68,12 +68,12 @@ </row> <row> <cell> - <JLabel id='entrybooksIcon' icon='entrybooks.png'/> + <JLabel id='entrybooksIcon' icon='entryBooks.png'/> </cell> </row> <row> <cell> - <JLabel id='fiscalperiodsIcon' icon='fiscalperiods.png'/> + <JLabel id='fiscalperiodsIcon' icon='fiscalYears.png'/> </cell> </row> </Table> 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-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-07-30 15:38:53 UTC (rev 3875) @@ -13,6 +13,8 @@ lima.Filter.letter= lima.Filter.voucher= lima.about.translate.content=<h3>How to translate Lima</h3>You can help us to translate or improve label in Lima.<br/><ul><li>Get the <strong>lima-i18n.csv</strong> file in the <strong>i18n</strong> directory</li><li>open it in Libre office (separator caracter is <strong>Tab</strong>)</li><li>Do you work \:)</li><li>At last, send us back the modified file</li></ul><br/>We will apply the patch before next release. +lima.accounts= +lima.accounts.plan= lima.accountsreports.listerror=Can't get entries list lima.action.commandline.help=Show help in console lima.balance.documentcreationerror=Enable to create document @@ -179,6 +181,7 @@ lima.data.bigDecimal.decimalSeparator= lima.data.bigDecimal.scale= lima.documents=Documents… +lima.enterEntries= lima.entries=Entries lima.entries.addEntry=New entry lima.entries.addTransaction=New transaction @@ -186,6 +189,7 @@ lima.entries.balance=Balance transaction with this entry lima.entries.copy.entry=Copy entry lima.entries.copy.transaction=Copy transaction +lima.entries.enter= lima.entries.lettering=Lettering lima.entries.lettering.add=Add letter lima.entries.lettering.noletterselected=Error \: No selected letter @@ -196,9 +200,12 @@ lima.entries.paste.transaction=Paste transaction lima.entries.remove.entry=Delete entry lima.entries.remove.transaction=Delete transaction +lima.entries.search= lima.entries.searchtransaction=Search transaction lima.entries.searchunbalancedtransaction=Incorrect transactions +lima.entries.unbalanced= lima.entries.writetransaction=Write entries +lima.entryBooks= lima.entrybooksreports.documentcreationerror=Enable to create document lima.entrybooksreports.documentcreationfiscalerror=Can't create document on an open fiscal year lima.entrybooksreports.documentcreationfiscaltitle= @@ -223,6 +230,7 @@ lima.enum.comboboxperiod.period=Period lima.enum.list.entryBook= lima.error.errorpane.htmlmessage=<html><body><b>An application error happened</b>\:<br/>%s</body></html> +lima.file= lima.filer.condition.sensitive.case= lima.filer.condition.string= lima.filter.account= @@ -242,6 +250,8 @@ lima.filter.entrybook= lima.filter.letter= lima.filter.voucher= +lima.financialPeriods= +lima.financialStatements= lima.financialStatements.check= lima.financialStatements.check.nothing= lima.financialStatements.check.warn= @@ -258,8 +268,69 @@ lima.financialstatement.provisiondeprecationaccounts=Provisions and deprecations accounts list lima.financialstatement.subamount=Calculate a subamount lima.financialstatementreport.listerror=Can't get entries list +lima.fiscalYears= lima.fiscalperiod.unbalancedtransactions=Fiscal Period has unbalanced transactions -lima.home.entrybooks.create=Create entrybook +lima.help= +lima.help.about= +lima.help.about.title=About Lima... +lima.help.about.title.description=Open sources accounting software +lima.help.about.translate.content=<h3>How to translate Lima</h3>You can help us to translate or improve label in Lima.<br/><ul><li>Get the <strong>lima-i18n.csv</strong> file in the <strong>i18n</strong> directory</li><li>open it in Libre office (separator caracter is <strong>Tab</strong>)</li><li>Do you work \:)</li><li>At last, send us back the modified file</li></ul><br/>We will apply the patch before next release. +lima.help.about.translate.title=Translate Lima +lima.help.i18n= +lima.help.i18n.fr= +lima.help.i18n.uk= +lima.help.site= +lima.home=Home +lima.home.account=Chart of accounts +lima.home.accounts= +lima.home.accounts.create= +lima.home.accounts.info= +lima.home.accounts.modify= +lima.home.accounts.nothing= +lima.home.chartaccounts.create=Create the chart of accounts +lima.home.chartaccounts.modify=Edit the chart of accounts +lima.home.chartaccounts.nothing=No account set\! +lima.home.chartaccounts.state1_2=The chart of accounts has +lima.home.chartaccounts.state2_2=accounts +lima.home.daily=Daily tasks +lima.home.entries= +lima.home.entries.balanced= +lima.home.entries.create= +lima.home.entries.error= +lima.home.entries.error.modify= +lima.home.entries.modify= +lima.home.entries.nothing= +lima.home.entryBooks= +lima.home.entryBooks.create= +lima.home.entryBooks.info= +lima.home.entryBooks.info.one= +lima.home.entryBooks.modify= +lima.home.entryBooks.nothing= +lima.home.entrybooks=Books +lima.home.entrybooks.create=Create entry book +lima.home.entrybooks.modify=Edit books +lima.home.entrybooks.nothing=No book +lima.home.entrybooks.state.single=The book is\: +lima.home.entrybooks.state1_2.plural=The +lima.home.entrybooks.state2_2.plural=books are\: +lima.home.fiscalYears= +lima.home.fiscalYears.closed= +lima.home.fiscalYears.create= +lima.home.fiscalYears.modify= +lima.home.fiscalYears.noOpen= +lima.home.fiscalYears.opened= +lima.home.fiscalperiod.closed= +lima.home.fiscalperiod.create= +lima.home.fiscalperiod.modify= +lima.home.fiscalperiod.noopen= +lima.home.fiscalperiod.opened= +lima.home.fiscalyear=Fiscal year +lima.home.transaction.balanced=moves, all balanced +lima.home.transaction.create=Add moves +lima.home.transaction.inexact=moves are not valid\! +lima.home.transaction.modifiy.balanced=Edit moves +lima.home.transaction.modifiy.inexact=Edit incorrect moves +lima.home.transaction.nothing=No move lima.identity=Identity lima.identity.address=Address lima.identity.address2=Address (next) @@ -272,6 +343,11 @@ lima.identity.phoneNumber=Phone number lima.identity.vatNumber=VAT number lima.identity.zipCode=Zip code +lima.importExport.all= +lima.importExport.csv= +lima.importExport.ebp= +lima.importExport.export= +lima.importExport.import= lima.importexport.choiceencoding= lima.importexport.export= lima.importexport.export.terminated= @@ -309,7 +385,6 @@ lima.splash.2="Loading accounting... lima.splash.3=Ready \! lima.structure=Structure -lima.tab.home=Home lima.table.account=Account lima.table.balance=Balance lima.table.credit=Credit @@ -332,12 +407,10 @@ lima.table.sum=Sums lima.table.voucher=Voucher lima.thousandSeparator= -lima.title.about=About Lima... -lima.title.about.description=Open sources accounting software -lima.title.about.translate=Translate Lima lima.tooltip.Filter= lima.tooltip.filter=<html>Regular expression \:<br/>- accounts interval i..j <br/>- accounts list i,j,k <br/>- Exclude an account -i</html> lima.tooltip.lettering=<html>Add a letter on many entries <br/>Select many rows with combination ctrl + click</html> +lima.ui.account= lima.ui.account.add.error.InvalidAccountNumber= lima.ui.account.add.error.alreadyExist= lima.ui.account.addaccount= @@ -355,6 +428,7 @@ lima.ui.account.shortened= lima.ui.account.update.error.invalidAccountNumber= lima.ui.account.updateaccounttitle= +lima.ui.accounts= lima.ui.common.amountcredit= lima.ui.common.amountdebit= lima.ui.common.cancel=Cancel @@ -364,8 +438,10 @@ lima.ui.common.remove=Remove lima.ui.common.solde= lima.ui.common.update=Update +lima.ui.entries= lima.ui.entries.assign.closed.entryBook.error= lima.ui.entries.letter.closed.entryBook.error= +lima.ui.entries.letter.unbalanced.error= lima.ui.entry.add.error.afterLastFiscalPeriod= lima.ui.entry.add.error.beforeFirstFiscalPeriod= lima.ui.entry.add.error.lockedEntryBook= @@ -377,6 +453,7 @@ lima.ui.entry.paste.error.lockedFinancialPeriod= lima.ui.entry.update.closed.entryBook.error= lima.ui.entryBook.delete.used.error=Can't delete entry book %2$s (%1$s) because exist financcial transactions in this entry book. +lima.ui.entryBooks= lima.ui.entrybook.add= lima.ui.entrybook.code= lima.ui.entrybook.default= @@ -388,6 +465,8 @@ lima.ui.entrybook.label= lima.ui.entrybook.remove= lima.ui.entrybook.update= +lima.ui.financialPeriods= +lima.ui.financialStatements= lima.ui.financialTransaction.add.error.afterLastFiscalPeriod= lima.ui.financialTransaction.add.error.beforeFirstFiscalPeriod= lima.ui.financialTransaction.add.error.lockedEntryBook= @@ -460,6 +539,7 @@ lima.ui.fiscalPeriod.buttonback= lima.ui.fiscalPeriod.buttonnext= lima.ui.fiscalPeriod.delete.error.noEmptyFiscalPeriod= +lima.ui.fiscalYears= lima.ui.fiscalperiod.addfiscalperiod.addfiscalperiodtitle= lima.ui.fiscalperiod.addfiscalperiod.endAfterBegin= lima.ui.fiscalperiod.addfiscalperiod.morethan12= @@ -489,32 +569,13 @@ lima.ui.fiscalperiod.open= lima.ui.fiscalperiod.status= lima.ui.fullscreen= -lima.ui.home.account=Chart of accounts -lima.ui.home.chartaccounts.create=Create the chart of accounts -lima.ui.home.chartaccounts.modify=Edit the chart of accounts -lima.ui.home.chartaccounts.nothing=No account set\! -lima.ui.home.chartaccounts.state1_2=The chart of accounts has -lima.ui.home.chartaccounts.state2_2=accounts -lima.ui.home.daily=Daily tasks -lima.ui.home.entrybooks=Books -lima.ui.home.entrybooks.create=Create books -lima.ui.home.entrybooks.modify=Edit books -lima.ui.home.entrybooks.nothing=No book -lima.ui.home.entrybooks.state.single=The book is\: -lima.ui.home.entrybooks.state1_2.plural=The -lima.ui.home.entrybooks.state2_2.plural=books are\: -lima.ui.home.fiscalperiod.closed= -lima.ui.home.fiscalperiod.create= -lima.ui.home.fiscalperiod.modify= -lima.ui.home.fiscalperiod.noopen= -lima.ui.home.fiscalperiod.opened= -lima.ui.home.fiscalyear=Fiscal year -lima.ui.home.transaction.balanced=moves, all balanced -lima.ui.home.transaction.create=Add moves -lima.ui.home.transaction.inexact=moves are not valid\! -lima.ui.home.transaction.modifiy.balanced=Edit moves -lima.ui.home.transaction.modifiy.inexact=Edit incorrect moves -lima.ui.home.transaction.nothing=No move +lima.ui.home.entryBooks.info= +lima.ui.home.entryBooks.info.one= +lima.ui.importExport.all= +lima.ui.importExport.csv= +lima.ui.importExport.ebp= +lima.ui.importExport.export= +lima.ui.importExport.import= lima.ui.importexport.accountcharts=Accounts chart lima.ui.importexport.all=All lima.ui.importexport.csv=Import/Export CSV @@ -575,6 +636,8 @@ lima.ui.table.cell.colorSelectionFocus= lima.ui.table.cell.comportmentEditingCell= lima.ui.table.cell.selectAllEditingCell= +lima.ui.vatStatements= +lima.vatStatements= lima.vatreport.listerror=Can't get entries list lima.vatstatement.accounts=List of accounts lima.vatstatement.boxname=PDF BoxName 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-07-30 09:17:32 UTC (rev 3874) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-07-30 15:38:53 UTC (rev 3875) @@ -2,7 +2,8 @@ -= lima-business.document.entrybooks= lima-business.document.generalentrybook= -lima.about.translate.content=<h2>Comment traduire Lima</h2>Vous pouvez nous aider à traduire Lima.<hr/><br/><ul><li>Récupérer le fichier <strong>lima-i18n.csv</strong> dans le répertoire <strong>i18n</strong></li><li>ouvrez le avec un tableur (le caractère séprateur est une Tabultation)</li><li>Traduisez, Améliorer, ...</li><li>Enfin renvoyez-le nous</li></ul><br/>Nous intégrerons vos modifications avant la prochaine version. +lima.accounts=Comptes +lima.accounts.plan=Plan comptable 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.balance.documentcreationerror=Erreur lors de la création du document @@ -161,13 +162,15 @@ lima.config.ui.fullscreen.description=demarrer l'application en mode plein écran lima.config.ui.fullscreen.label=Plein écran lima.documents=Documents… -lima.entries=Traitement +lima.enterEntries=Écritures +lima.entries=Écritures lima.entries.addEntry=Créer une entrée dans la transaction lima.entries.addTransaction=Créer une transaction lima.entries.assign.entries=Assigner cette valeur à toutes les entrées de la transaction lima.entries.balance=Équilibrer la transaction avec cette entrée lima.entries.copy.entry=Copier l'entrée lima.entries.copy.transaction=Copier la transaction +lima.entries.enter=Saisie des écritures lima.entries.lettering=Lettrage lima.entries.lettering.add=Ajouter une lettre lima.entries.lettering.noletterselected=Erreur \: Aucune lettre sélectionnée. @@ -178,9 +181,12 @@ lima.entries.paste.transaction=Coller la transaction lima.entries.remove.entry=Supprimer l'entrée lima.entries.remove.transaction=Supprimer la transaction -lima.entries.searchtransaction=Rechercher des écritures -lima.entries.searchunbalancedtransaction=Entrées incorrectes -lima.entries.writetransaction=Saisir des écritures +lima.entries.search=Rechercher des écritures +lima.entries.searchtransaction= +lima.entries.searchunbalancedtransaction= +lima.entries.unbalanced=Entrées incorrectes +lima.entries.writetransaction= +lima.entryBooks=Journaux lima.entrybooksreports.documentcreationerror=Erreur lors de la création du document lima.entrybooksreports.documentcreationfiscalerror=Impossible de créer un document quand la période fiscale est ouverte lima.entrybooksreports.documentcreationfiscaltitle= @@ -208,6 +214,7 @@ lima.enum.list.fiscalperiod=Exercices lima.enum.list.period=Périodes lima.error.errorpane.htmlmessage=<html><body><b>Une erreur s'est produite</b>\:<br/>%s</body></html> +lima.file=Fichier lima.filer.condition.sensitive.case=sensible à la case lima.filter.account=Ajouter un filtre sur les comptes lima.filter.amount=Ajouter un filtre sur les montants @@ -226,12 +233,14 @@ lima.filter.entrybook=Ajouter un filtre sur les journaux lima.filter.letter=Ajouter un filtre sur les lettres lima.filter.voucher=Ajouter un filtre sur les pièces comptables -lima.financialStatements.check= -lima.financialStatements.check.nothing= -lima.financialStatements.check.warn= +lima.financialPeriods=Périodes comptables +lima.financialStatements=Plan BCR +lima.financialStatements.check=Vérification des comptes aux postes +lima.financialStatements.check.nothing=Introuvable \: %s - %s \n +lima.financialStatements.check.warn=Attention cette fonctionnalité n'est qu'une aide utilisateur.\n Certains comptes ne doivent pas être présent au bilan et compte de résultat.\n Il est donc normal que des comptes sont marqués comme introuvable.\n\n lima.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.check= 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 @@ -242,7 +251,44 @@ 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.fiscalYears=Exercices lima.fiscalperiod.unbalancedtransactions=La période fiscale contient des transactions non équilibrées +lima.help=Aide +lima.help.about=À Propos +lima.help.about.title=À propos de Lima... +lima.help.about.title.description=Logiciel de comptabilité Libre +lima.help.about.translate.content=<h2>Comment traduire Lima</h2>Vous pouvez nous aider à traduire Lima.<hr/><br/><ul><li>Récupérer le fichier <strong>lima-i18n.csv</strong> dans le répertoire <strong>i18n</strong></li><li>ouvrez le avec un tableur (le caractère séprateur est une Tabultation)</li><li>Traduisez, Améliorer, ...</li><li>Enfin renvoyez-le nous</li></ul><br/>Nous intégrerons vos modifications avant la prochaine version. +lima.help.about.translate.title=traduire Lima +lima.help.i18n=Langue +lima.help.i18n.fr=Français +lima.help.i18n.uk=Anglais +lima.help.site=Accéder au site de Lima +lima.home=Accueil +lima.home.accounts=Plan comptable +lima.home.accounts.create=Créer le plan des comptes +lima.home.accounts.info=Le plan comptable possede %s comptes +lima.home.accounts.modify=Modifier le plan des comptes +lima.home.accounts.nothing=Aucun compte \! +lima.home.entries=Écritures +lima.home.entries.balanced=%s écritures, toutes sont équilibrées +lima.home.entries.create=Ajouter des écritures +lima.home.entries.error=%s transactions ne sont pas valides \! +lima.home.entries.error.modify=Modifier les écritures incorrectes +lima.home.entries.modify=Modifier les écritures +lima.home.entries.nothing=Aucune écriture +lima.home.entryBooks=Journaux +lima.home.entryBooks.create=Créer les journaux +lima.home.entryBooks.info=Les %s journaux \: +lima.home.entryBooks.info.one=Le journal \: +lima.home.entryBooks.modify=Modifier les journaux +lima.home.entryBooks.nothing=Aucun journal ouvert \! +lima.home.entrybooks=Journaux +lima.home.fiscalYears=Exercices +lima.home.fiscalYears.closed=%s exercices cloturés +lima.home.fiscalYears.create=Créer un exercice +lima.home.fiscalYears.modify=Modifier les exercices +lima.home.fiscalYears.noOpen=Aucun exercice ouvert \! +lima.home.fiscalYears.opened=%s exercices ouverts lima.identity=Identité lima.identity.address=Adresse lima.identity.address2=Adresse (suite) @@ -255,23 +301,20 @@ lima.identity.phoneNumber=n° Tel lima.identity.vatNumber=n° TVA lima.identity.zipCode=Code Postal +lima.importExport.all=Tout +lima.importExport.csv=Import/Export CSV +lima.importExport.ebp=Import/Export EBP +lima.importExport.export=Exporter +lima.importExport.import=Importer lima.importexport.choiceencoding=Choix de l'encodage lima.importexport.export= lima.importexport.export.terminated= -lima.importexport.import.alreadyExistFinancialStatement=Une catégorie avec comme nom %s et comme parent %s existe déjà. +lima.importexport.import.alreadyExistFinancialStatement= lima.importexport.usevatpdf=Êtes-vous sûr de vouloir utiliser ce pdf pour la déclaration de TVA ? 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.misc.supportemail.label=support @@ -292,7 +335,6 @@ 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=Solde lima.table.credit=Crédit @@ -314,9 +356,6 @@ lima.table.solde.debit=Solde débit lima.table.sum=Totaux lima.table.voucher=Pièce comptable -lima.title.about=À propos de Lima... -lima.title.about.description=Logiciel de comptabilité Libre -lima.title.about.translate=traduire Lima lima.tooltip.Filter= 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> @@ -348,6 +387,7 @@ lima.ui.common.update=Modifier lima.ui.entries.assign.closed.entryBook.error=Impossible d'affecter cette valeur a l'ensemble des entrés de la transaction car le jounal %2$s (%1$s) est cloturé pour la période du %3$te %3$tB %3$tY au %4$te %4$tB %4$tY. lima.ui.entries.letter.closed.entryBook.error=Impossible de modifier le lettrage des ces entrés car le jounal %2$s (%1$s) est cloturé pour la période du %3$te %3$tB %3$tY au %4$te %4$tB %4$tY. +lima.ui.entries.letter.unbalanced.error=Impossible de lettrer ces écritures car leur solde n'est pas nul. lima.ui.entry.add.error.afterLastFiscalPeriod=Impossible d'ajouter une entré car la date de la transaction est après le %1$te %1$tB %1$tY fin du dernier exercice. lima.ui.entry.add.error.beforeFirstFiscalPeriod=Impossible d'ajouter une entré car la date de la transaction est avant le %1$te %1$tB %1$tY début du premier exercice. lima.ui.entry.add.error.lockedEntryBook=Impossible d'ajouter une entré car le jounal %2$s (%1$s) est cloturé pour la période du %3$te %3$tB %3$tY au %4$te %4$tB %4$tY. @@ -457,43 +497,10 @@ lima.ui.fiscalperiod.modifyfiscalperiodtitle=Modification de l'exercice lima.ui.fiscalperiod.open=Ouvert lima.ui.fiscalperiod.status=Statut -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=écritures, toutes sont équilibrées -lima.ui.home.transaction.create=Ajouter des écritures -lima.ui.home.transaction.inexact=écritures ne sont pas valides \! -lima.ui.home.transaction.modifiy.balanced=Modifier les écritures -lima.ui.home.transaction.modifiy.inexact=Modifier les écritures incorrectes -lima.ui.home.transaction.nothing=Aucune écriture -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=Exporter lima.ui.importexport.export.terminated=Export terminé -lima.ui.importexport.financialstatements=Plan BCR -lima.ui.importexport.financialtransactions=Écritures 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 @@ -501,7 +508,6 @@ lima.ui.importexport.importebp=Import/Export EBP lima.ui.importexport.importerror=Une erreur est survenue lors de l'import lima.ui.importexport.importtitle=Erreur d'import -lima.ui.importexport.vatstatements=Plan TVA lima.ui.importexport.wait=Traitement en cours… lima.ui.importexport.waittitle=Traitement en cours lima.ui.lettering.account=Comptes @@ -539,6 +545,7 @@ 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.ui.retainedEarnings.wait=Report à nouveaux... +lima.vatStatements=Plan TVA 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 @@ -549,7 +556,6 @@ 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 -llima.importexport.import.alreadyExistFinancialStatement= org.chorem.lima.LimaConfig.NumberSeparator.COMMA= org.chorem.lima.LimaConfig.NumberSeparator.DOT= org.chorem.lima.LimaConfig.NumberSeparator.SPACE= Copied: trunk/lima-swing/src/main/resources/icons/action-accounts.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-accounts.png) =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-accounts.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-entrybooks.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-financialperiod.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-financialstatements.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-fiscalperiod.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-charts-vatstatements.png =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-entries-balanced.png =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-entries.png (from rev 3861, trunk/lima-swing/src/main/resources/icons/action-entries-balanced.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-entryBooks.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-entrybooks.png) =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-export-element.png =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-export.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-export-element.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-financialPeriods.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-financialperiod.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-financialStatements.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-financialstatements.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-fiscalPeriods.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-fiscalperiod.png) =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/action-import-element.png =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-import.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-import-element.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/action-vatStatements.png (from rev 3856, trunk/lima-swing/src/main/resources/icons/action-charts-vatstatements.png) =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/entryBooks.png (from rev 3874, trunk/lima-swing/src/main/resources/icons/entrybooks.png) =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/entrybooks.png =================================================================== (Binary files differ) Copied: trunk/lima-swing/src/main/resources/icons/fiscalYears.png (from rev 3874, trunk/lima-swing/src/main/resources/icons/fiscalperiods.png) =================================================================== (Binary files differ) Deleted: trunk/lima-swing/src/main/resources/icons/fiscalperiods.png =================================================================== (Binary files differ) Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2014-07-30 09:17:32 UTC (rev 3874) +++ trunk/pom.xml 2014-07-30 15:38:53 UTC (rev 3875) @@ -202,6 +202,9 @@ <!-- license to use --> <license.licenseName>gpl_v3</license.licenseName> + <!--Jaxx properties--> + <jaxx.autoImportCss>true</jaxx.autoImportCss> + </properties> <repositories>
participants (1)
-
sbavencoff@users.chorem.org