From 1a54c33d47a691f093a2e0a8b65f98769475b948 Mon Sep 17 00:00:00 2001 From: Craig Cavanaugh Date: Sun, 31 Mar 2019 04:13:48 -0400 Subject: [PATCH] Tidy up --- changelog.adoc | 2 +- .../src/main/java/jgnash/report/pdf/PageSize.java | 6 ++++-- .../main/resources/jgnash/resource/resource_uk.properties | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog.adoc b/changelog.adoc index 523794936..e5b504777 100644 --- a/changelog.adoc +++ b/changelog.adoc @@ -29,7 +29,7 @@ == Release 3.0.2 * 03/30/2019 Automatic column widths will now update correctly if numeric or date formats change. * 03/30/2019 Use a full commodity format for the Total column in the investment register. -* 03/30/2019 Changes to preferred date and numeric formats will now trigger an immediate update of the registers. +* 03/30/2019 Changes to preferred date and numeric formats will now trigger an immediate update of the active register. * 03/29/2019 Improved detection and handling of invalid decimal input. * 03/29/2019 Removed direct print support from the report dialog. The user can use save the PDF and print it. * 03/28/2019 Reimplemented the page format dialog for reports to address OSX issues and to allow custom paper sizes. diff --git a/jgnash-report-core/src/main/java/jgnash/report/pdf/PageSize.java b/jgnash-report-core/src/main/java/jgnash/report/pdf/PageSize.java index 44a1d0ea9..6fd6ec91f 100644 --- a/jgnash-report-core/src/main/java/jgnash/report/pdf/PageSize.java +++ b/jgnash-report-core/src/main/java/jgnash/report/pdf/PageSize.java @@ -24,6 +24,8 @@ * Enumeration of standard page sizes. *

* Page sizes are in Points + * + * @author Craig Cavanaugh */ public enum PageSize { @@ -34,8 +36,8 @@ public enum PageSize { LEGAL("US Legal", 8.5f * POINTS_PER_INCH, 14f * POINTS_PER_INCH), TABLOID("US Tabloid", 11f * POINTS_PER_INCH, 17f * POINTS_PER_INCH); - public transient float width; - public transient float height; + public final transient float width; + public final transient float height; private final transient String description; diff --git a/jgnash-resources/src/main/resources/jgnash/resource/resource_uk.properties b/jgnash-resources/src/main/resources/jgnash/resource/resource_uk.properties index adedb1ebe..201e4b66c 100644 --- a/jgnash-resources/src/main/resources/jgnash/resource/resource_uk.properties +++ b/jgnash-resources/src/main/resources/jgnash/resource/resource_uk.properties @@ -855,6 +855,7 @@ Title.Reminder = \u041D\u0430\u0433\u0430\u0434\u0443\u0432\u0 Title.Reminders = \u041D\u0430\u0433\u0430\u0434\u0443\u0432\u0430\u043D\u043D\u044F Title.RenameBudget = Rename Budget Title.ReportOptions = Report Options +Title.ReportSize = Report Size Title.RetainedEarnings = Retained Earnings Title.ReverseAccountBalances = Reverse Displayed Account Balances Title.SaveAs = \u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A