From bd84b9c6c2e12b4c09ccdb742501c22a308368b7 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Tue, 4 May 2021 21:39:15 +0200
Subject: [PATCH] #573 - updated what's new dialog

---
 .../controller/AboutController.java           | 13 +++++---
 .../resources/languages/base_de.properties    |  2 +-
 .../resources/languages/news_de.properties    | 31 ++++++++++++++-----
 .../resources/languages/news_en.properties    | 31 ++++++++++++++-----
 4 files changed, 56 insertions(+), 21 deletions(-)

diff --git a/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java b/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
index c146b3bac..fc679c967 100644
--- a/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
+++ b/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
@@ -36,10 +36,15 @@ public class AboutController extends BaseController
 	public String whatsNewModal(Model model)
 	{
 		final List<NewsEntry> newsEntries = new ArrayList<>();
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.changeType.headline", "news.changeType.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.readonlyAccounts.headline", "news.readonlyAccounts.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.firstUseWizard.headline", "news.firstUseWizard.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.java11.headline", "news.java11.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.designOffensive.headline", "news.designOffensive.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.gitBackup.headline", "news.gitBackup.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.backupCharts.headline", "news.backupCharts.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.importProcess.headline", "news.importProcess.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.hideAccounts.headline", "news.hideAccounts.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.statistics.headline", "news.statistics.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.hotkeysMonth.headline", "news.hotkeysMonth.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.importBugfixes.headline", "news.importBugfixes.description"));
+		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.chartRelative.headline", "news.chartRelative.description"));
 
 		model.addAttribute("newsEntries", newsEntries);
 		return "whatsNewModal";
diff --git a/src/main/resources/languages/base_de.properties b/src/main/resources/languages/base_de.properties
index 1d190da3a..24da706cf 100644
--- a/src/main/resources/languages/base_de.properties
+++ b/src/main/resources/languages/base_de.properties
@@ -334,7 +334,7 @@ template.checkbox.include.account.transfer=Zielkonto übernehmen
 about=Über {0}
 about.roadmap.link=Roadmap öffnen
 about.version=Version:
-about.version.whatsnew=Was gibt es neues
+about.version.whatsnew=Was gibt es Neues
 about.date=Datum:
 about.author=Autor:
 about.roadmap=Roadmap:
diff --git a/src/main/resources/languages/news_de.properties b/src/main/resources/languages/news_de.properties
index 9911d5568..e7c967912 100644
--- a/src/main/resources/languages/news_de.properties
+++ b/src/main/resources/languages/news_de.properties
@@ -2,14 +2,29 @@ news.further.information=Weitere Informationen
 news.all.releases=Alle veröffentlichten und geplanten Versionen:
 news.detailed=Ausführliches Changelog (nur auf Englisch):
 
-news.changeType.headline=Transaktionstyp ändern
-news.changeType.description=Ermöglicht es eine Transaktion in einen anderen Typ umwandeln (z.B. eine normale Transaktion in eine wiederholende Transaktion ändern).
+news.designOffensive.headline=Die Designoffensive
+news.designOffensive.description=Wähle für Kategorien ein Icon aus einer vordefinierten Bibliothek oder lade für Konten und Vorlagen eigene Bilder als Icon hoch.<br>Kategorien können in der Buchungsübersicht jetzt auch als Quadrate statt Kreise dargestellt werden.<br>Das gesamte Design wurde verbessert, z.B. durch Icons an Überschriften und Formularfeldern, Benachrichtigungsbannern, uvm.
 
-news.readonlyAccounts.headline=Deaktivierbare Konten
-news.readonlyAccounts.description=Konten können deaktiviert werden (verbietet Transaktionen hinzuzufügen oder zu löschen).
+news.gitBackup.headline=Git Backup
+news.gitBackup.description=Backups der Datenbank können nun auch automatisch in ein lokaless oder entferntes Git-Repository eingecheckt werden.
 
-news.firstUseWizard.headline=Hilfe zur ersten Benutzung
-news.firstUseWizard.description=Einfache Einführung in die Benutzung von BudgetMaster.
+news.backupCharts.headline=Diagramme ins Backup aufnehmen
+news.backupCharts.description=Benutzerdefinierte Diagramme werden beim Exportieren der Datenbank mit gesichert.
 
-news.java11.headline=Java 11
-news.java11.description=Das gesamte Projekt wurde auf Java 11 migriert.
\ No newline at end of file
+news.importProcess.headline=Neugestaltung des Importvorgangs
+news.importProcess.description=Der Importvorgang wurde in mehrere Schritte aufgeteilt, es wurden Erklärungen hinzugefügt und das Design verbessert.
+
+news.hideAccounts.headline=Konten ausblenden
+news.hideAccounts.description=Konten und die zugehörigen Buchungen lassen sich neben schreibgeschützt auch auch in den Zustand "versteckt" versetzen und damit komplett ausblenden.
+
+news.statistics.headline=Statistiken
+news.statistics.description=Einige Statistiken der BudgetMaster-Instant werden auf der neuen Statistikseite visualisiert.
+
+news.hotkeysMonth.headline=Tastenkombinationen zum Wechseln des Monats
+news.hotkeysMonth.description=Zum vorherigen oder nächsten Monat mithilfe der Pfeiltasten springen.
+
+news.importBugfixes.headline=Bugfixes beim Datenbankimport
+news.importBugfixes.description=Mehrere Bugfixes für Probleme beim Datenbankimport.
+
+news.chartRelative.headline=Diagramm: "Eingaben/Ausgaben pro Monat (nach Kategorien)"
+news.chartRelative.description=Die Balkengrößen sind nun relativ zueinander statt zu jeweils 100% anzuzeigen.
diff --git a/src/main/resources/languages/news_en.properties b/src/main/resources/languages/news_en.properties
index e88629deb..695a1c101 100644
--- a/src/main/resources/languages/news_en.properties
+++ b/src/main/resources/languages/news_en.properties
@@ -2,14 +2,29 @@ news.further.information=Further information
 news.all.releases=All published and planned releases:
 news.detailed=More detailed changelog (english only):
 
-news.changeType.headline=Change transaction type
-news.changeType.description=Transform a transaction to another type (e.g. change a normal transaction to a repeating one).
+news.designOffensive.headline=The design offensive
+news.designOffensive.description=Choose from a set of pre-defined set of icons for categories or upload your own images for accounts and templates.<br>Category circles can now be displayed as squares.<br>Improved overall design by adding icons to headlines and form inputs, notification banners, etc.
 
-news.readonlyAccounts.headline=Readonly accounts
-news.readonlyAccounts.description=Allow to deactivate accounts (transactions can't be added or removed from deactivated accounts).
+news.gitBackup.headline=Git backup
+news.gitBackup.description=Schedule an automatic export of your database content and commit to a local or remote git repository.
 
-news.firstUseWizard.headline=First use wizard
-news.firstUseWizard.description=Simple introduction on how to use BudgetMaster.
+news.backupCharts.headline=Backup charts
+news.backupCharts.description=Custom charts are now included in the in backups.
 
-news.java11.headline=Java 11
-news.java11.description=Migrate the project to Java 11.
\ No newline at end of file
+news.importProcess.headline=Re-designed import process
+news.importProcess.description=The import process is now split into multiple steps, featuring explanations and an improved design.
+
+news.hideAccounts.headline=Hide accounts
+news.hideAccounts.description=In addition to mark an account as readonly it is now possible to hide the account and all corresponding transactions completely.
+
+news.statistics.headline=Statistics
+news.statistics.description=Some numbers of your BudgetMaster instance will be visualized on the new statistics page.
+
+news.hotkeysMonth.headline=Hotkeys to switch months
+news.hotkeysMonth.description=Switch to the previous or next month using the arrow keys.
+
+news.importBugfixes.headline=Bugfixes for database import
+news.importBugfixes.description=Several bugfixes for problems during database import.
+
+news.chartRelative.headline=Chart: "incomes and expenditures per month by categories"
+news.chartRelative.description=The bar sizes are now relative to each other instead of 100% each.
-- 
GitLab