diff --git a/src/main/java/org/jabref/gui/actions/CopyFilesAction.java b/src/main/java/org/jabref/gui/actions/CopyFilesAction.java index e4827104b41..30b19dc830a 100644 --- a/src/main/java/org/jabref/gui/actions/CopyFilesAction.java +++ b/src/main/java/org/jabref/gui/actions/CopyFilesAction.java @@ -43,6 +43,10 @@ private void startServiceAndshowProgessDialog(Task data) { + if (data.isEmpty()) { + dialogService.showInformationDialogAndWait(Localization.lang("Copy linked files to folder..."), Localization.lang("No linked files found for export.")); + return; + } CopyFilesDialogView dlg = new CopyFilesDialogView(databaseContext, new CopyFilesResultListDependency(data)); dlg.show(); } diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index b6efc53008b..6f02668d231 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -2325,6 +2325,7 @@ empty\ BibTeX\ key=empty BibTeX key Your\ Java\ Runtime\ Environment\ is\ located\ at\ %0.=Your Java Runtime Environment is located at %0. Aux\ file=Aux file Group\ containing\ entries\ cited\ in\ a\ given\ TeX\ file=Group containing entries cited in a given TeX file + Delete\ Entry=Delete Entry Import\ &\ Export=Import & Export Look\ up\ document\ identifier=Look up document identifier @@ -2351,3 +2352,7 @@ Error\ pushing\ entries=Error pushing entries Undefined\ character\ format=Undefined character format Undefined\ paragraph\ format=Undefined paragraph format + +Any\ file=Any file + +No\ linked\ files\ found\ for\ export.=No linked files found for export.