From 7fd65264055958905e99376869e8ce4c86501b07 Mon Sep 17 00:00:00 2001 From: marhali Date: Sat, 3 Sep 2022 16:38:48 +0200 Subject: [PATCH] remove warning about missing configuration during project init Resolves #148 --- CHANGELOG.md | 3 +++ src/main/java/de/marhali/easyi18n/DataStore.java | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8589ddd..3d3cdd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ # easy-i18n Changelog ## [Unreleased] +### Changed +- Removed warning about missing configuration during project initialization + ### Fixed - Folding support for Vue files diff --git a/src/main/java/de/marhali/easyi18n/DataStore.java b/src/main/java/de/marhali/easyi18n/DataStore.java index 2d9a12b..b335c88 100644 --- a/src/main/java/de/marhali/easyi18n/DataStore.java +++ b/src/main/java/de/marhali/easyi18n/DataStore.java @@ -62,9 +62,7 @@ public class DataStore { this.data = new TranslationData(settings.isSorting()); successResult.accept(false); - if(ex instanceof EmptyLocalesDirException) { - NotificationHelper.createEmptyLocalesDirNotification(project); - } else { + if(!(ex instanceof EmptyLocalesDirException)) { NotificationHelper.createIOError(settings, ex); } }