Skip to content

Commit c04a2fa

Browse files
committed
Updated JabRef_en.properties
1 parent 3197ef4 commit c04a2fa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/main/java/org/jabref/gui/mergeentries/BatchEntryMergeTask.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,9 @@ private boolean applyMerge(BibEntry entry, MergingIdBasedFetcher.FetcherResult r
110110

111111
private void handleEntryProcessingError(BibEntry entry, Exception e) {
112112
String citationKey = entry.getCitationKey().orElse("unknown");
113-
String errorMessage = String.format("Error processing entry %s: %s",
114-
citationKey,
115-
e.getMessage());
116-
117-
LOGGER.error(errorMessage, e);
118-
context.notificationService().notify(Localization.lang(errorMessage));
113+
String message = Localization.lang("Error processing entry", citationKey, e.getMessage());
114+
LOGGER.error(message, e);
115+
context.notificationService().notify(message);
119116
}
120117

121118
private void finalizeOperation(List<String> updatedEntries) {

src/main/resources/l10n/JabRef_en.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,10 @@ Entry\ from\ %0=Entry from %0
16801680
Merge\ entry\ with\ %0\ information=Merge entry with %0 information
16811681
Get\ bibliographic\ data\ from\ %0\ (fully\ automated)=Get bibliographic data from %0 (fully automated)
16821682
Batch\ update\ successful.\ %0\ entries\ updated.=Batch update successful. %0 entries updated.
1683-
Error\ while\ fetching\ and\ merging\ entries\:\ %0=Error while fetching and merging entries: %0
1683+
Error\ processing\ entry=Error processing entry
1684+
Merge\ operation\ failed\:\ %0=Merge operation failed: %0
1685+
No\ entries\ available\ for\ merging=No entries available for merging
1686+
Starting\ merge\ operation...=Starting merge operation...
16841687
Processing\ entry\ %0\ of\ %1=Processing entry %0 of %1
16851688
Fetching\ and\ merging\ entries=Fetching and merging entries
16861689
No\ updates\ found.=No updates found.

0 commit comments

Comments
 (0)