From de2ead963da239e5c19a7eadef24a715e8a7c7d5 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Sun, 18 Oct 2020 13:17:13 +0200
Subject: [PATCH] #537 - update news to version 2.5.0

---
 .../controller/AboutController.java           |  9 ++++-----
 .../resources/languages/news_de.properties    | 19 ++++++++-----------
 .../resources/languages/news_en.properties    | 19 ++++++++-----------
 3 files changed, 20 insertions(+), 27 deletions(-)

diff --git a/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java b/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
index 888454abd..3438722a3 100644
--- a/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
+++ b/src/main/java/de/deadlocker8/budgetmaster/controller/AboutController.java
@@ -35,11 +35,10 @@ public class AboutController extends BaseController
 	public String fromTransactionModal(Model model)
 	{
 		final List<NewsEntry> newsEntries =  new ArrayList<>();
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.templates.headline", "news.templates.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.backup.headline", "news.backup.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.suggestions.headline", "news.suggestions.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.charts.headline", "news.charts.description"));
-		newsEntries.add(NewsEntry.createWithLocalizationKeys("news.commandline.headline", "news.commandline.description"));
+		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"));
 
 		model.addAttribute("newsEntries", newsEntries);
 		return "whatsNewModal";
diff --git a/src/main/resources/languages/news_de.properties b/src/main/resources/languages/news_de.properties
index 914328658..455b347c9 100644
--- a/src/main/resources/languages/news_de.properties
+++ b/src/main/resources/languages/news_de.properties
@@ -1,14 +1,11 @@
-news.templates.headline=Transaction templates
-news.templates.description=Allows the creation of templates for similar transactions.
+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.backup.headline=Auto backup
-news.backup.description=Allows the scheduling of automatic BudgetMaster data backups.
+news.readonlyAccounts.headline=Deaktivierbare Konten
+news.readonlyAccounts.description=Konten können deaktiviert werden (verbietet Transaktionen hinzuzufügen oder zu löschen).
 
-news.suggestions.headline=Transaction name suggestions
-news.suggestions.description=Shows suggestions based on the last 25 created transactions.
+news.firstUseWizard.headline=Hilfe zur ersten Bentzung
+news.firstUseWizard.description=Einfache Einführung in die Benutzung von BudgetMaster.
 
-news.charts.headline=New charts
-news.charts.description=Two new default charts (income/expenditures per year and rest per month).
-
-news.commandline.headline=Command line option to set custom directory
-news.commandline.description=Specify a folder where settings, database and backups are stored (more details in the wiki).
\ No newline at end of file
+news.java11.headline=Java 11
+news.java11.description=Das gesamte Projekt wurde auf Java 11 migriert.
\ No newline at end of file
diff --git a/src/main/resources/languages/news_en.properties b/src/main/resources/languages/news_en.properties
index 914328658..ee15b006c 100644
--- a/src/main/resources/languages/news_en.properties
+++ b/src/main/resources/languages/news_en.properties
@@ -1,14 +1,11 @@
-news.templates.headline=Transaction templates
-news.templates.description=Allows the creation of templates for similar transactions.
+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.backup.headline=Auto backup
-news.backup.description=Allows the scheduling of automatic BudgetMaster data backups.
+news.readonlyAccounts.headline=Readonly accounts
+news.readonlyAccounts.description=Allow to deactivate accounts (transactions can't be added or removed from deactivated accounts).
 
-news.suggestions.headline=Transaction name suggestions
-news.suggestions.description=Shows suggestions based on the last 25 created transactions.
+news.firstUseWizard.headline=First use wizard
+news.firstUseWizard.description=Simple introduction on how to use BudgetMaster.
 
-news.charts.headline=New charts
-news.charts.description=Two new default charts (income/expenditures per year and rest per month).
-
-news.commandline.headline=Command line option to set custom directory
-news.commandline.description=Specify a folder where settings, database and backups are stored (more details in the wiki).
\ No newline at end of file
+news.java11.headline=Java 11
+news.java11.description=Migrate the project to Java 11.
\ No newline at end of file
-- 
GitLab